Doug
Doug

Reputation: 3863

Debugging an ASP.NET application on Local IIS Server

I have setup a local IIS instance to run and development an older ASP.NET (CLR v4.0) application that I have inherited.

I am running it an a virtual directory, and I am able to attach to the IIS process and debug it (annoying). However, I am unable to "F5" in Visual Studio to start debugging. I get an error message saying "The web server could not find the requested resource."

I have went through all of the Microsoft advice on their help page without much luck. Am I naive in thinking that this will work, or am I missing something? I even installed the IIS 6 Metabase compatibility, but that did not seem to help either.

I realize that I probably need to give more information, but I don't know what other details I need to add.

This is running on Windows 8.1 Enterprise with IIS 8, and I am using Visual Studio Professional. Thanks

Upvotes: 4

Views: 5415

Answers (1)

Doug
Doug

Reputation: 3863

MYSTERY SOLVED!!!!!!!!!

Apparently, Request filtering is installed by default. In order for debugging to work, you have to go the virtual directory -> Request filtering -> Http Verbs, and allow verb DEBUG.

Upvotes: 4

Related Questions