Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start debugging on the web server. The web server could not find the requested resource

I'm having this error trying to debug my ASP.NET MVC app. I've set the app to "Use Local IIS Web server", and selected ASP.NET as the debugger. Running the site without debugging works just fine, but when I try to debug, I got this error:

Unable to start debugging on the web server. The web server could not find the requested source.

I'm using Visual Web Developer 2008 Express Edition.

Does anyone know how to fix this error? Thank you.

like image 747
Saxman Avatar asked Sep 28 '10 20:09

Saxman


People also ask

How do I fix unable to start debugging on web server?

Restart your Application Pool. Check that your Web Application folder has the right permissions. Make sure that you give IIS_IUSRS, IUSR, or the specific user associated with the Application Pool read and execute rights for the Web Application folder. Fix the issue and restart your Application Pool.

How do I enable remote debugging on my server?

Using a browser, open the administration console of the remote application server. Expand the Servers node and click Application Servers. Click the name of the server to open the application server properties. Click Debugging Service.

How do you debug a website on a server?

Switch to a debug configuration. Choose Edit to edit the profile, and then choose Settings. Choose a Debug configuration, and then choose Remove additional files at destination under the File Publish options. If you use a Release build, you disable debugging in the web.


1 Answers

For those encountering this with Visual-Studio 2012 and/or Windows 8 do the following.

You have to add .Net 3.5 (or 4.5) to your Turn Windows Features on or off window. You get to it via :

Control Panel -> Programs -> Turn Windows Features on or off

enter image description here

Click the Asp.Net 3.5 and the Asp.Net 4.5 check box in the IIS > WWW Service > Application Development Features folder.

like image 192
Chuck Savage Avatar answered Oct 12 '22 22:10

Chuck Savage