Published On : 29 Jun 2017
Today : 5 Total : 644
This is a very common exception, everyone will be facing while configuring the IIS for the first time. I was creating a VM and configuring the IIS on it. After completing all the configuration steps, I was hosting a Web Application. The default page, is loading if it is a HTML, Image etc.,
But, when I host a .Net Web Application or a SharePoint Provider Hosted Application, it throws exception – “The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.”
And the Screen looks below.
The fix for this is (actually it is not a fix, the step which we usually miss when configuring the IIS) enabling the Application Development on the “Manage Features” of the Server.
Make sure that all the items under “Application Development” has been checked and install. Now, come back to our site. Refresh the browser. The .NET application loads properly.
This is very simple, but definitely, we may miss this step during the first-time configuration and this will reduce our half an hour of search.