3

I have developed a site in ASP.NET 3.5

I had deployed it on Windows server 2008 and iis7. I was using evaluation version of Windows server 2008. Day before yesterday the evalution period expired and I formatted my machine and re-installed the Windows server 2008.

Now, when I deploy the site on IIS7 and try to access it then I get following error,

405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

Any ideas?

Wim Coenen
  • 63,995
  • 12
  • 149
  • 237
Vinod T. Patil
  • 2,841
  • 3
  • 24
  • 21

2 Answers2

3

I just ran into a similar problem which turned out to be because facebook seem to make all requests as a POST and my page was a static html file, which (by default?) IIS7 will only serve by a GET request

Phil
  • 741
  • 9
  • 16
0

I've encountered this error as well after moving to a new IIS server which did not have PHP installed and trying to use a PHP script (from within an html file form).

Installing PHP fixed the issue.

bLight
  • 704
  • 4
  • 22