title: ASP.NET PageMethods and error "The HTTP verb POST used to access path is not allowed"
body: <p>I'm using URL routing with WebForms. I run locally through the Visual Studio web server and everything runs correctly. I deploy locally to IIS (XP, so it's IIS5), and therefore I need to make sure that I have my app wildcard mapped so the URL routing is handled properly.</p>
  
  <p>However, doing this makes all my PageMethods fail with this message:</p>
  
  <pre><code>The HTTP verb POST used to access path is not allowed
  </code></pre>
  
  <p>Something like /default.aspx/SendMessage does not work. I've seen solutions that exclude .svx and .asmx files, however, since this is a page method, this is a .aspx file. I know the solution is to move these files outside of .aspx, however, I have quite a few functions throughout the site in these various files. I guess I could create a single web service, and have all the functions there, however, I'm curious if there's a quick and easy way to fix this?</p>