I want to run my application from IIS on my local machine. I created the virtual directory and added the application to it and in the properties folder of the application I checked the radio button 'Use Local IIS Webserver'. I then started running my application but I'm getting the following error:
Unable to start debugging on the webserver.see help for common configuration errors.Running the webpage outside of the debugger may provide further information.
Make sure the server in operating correctly.Verify there are no syntax errors in web.config by doing a debug.Start Without Debugging.You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
How do I get rid of this error?
I'm using Visual Studio 2010 on Windows 7 and IIS 7.5.
In the Web. config file, locate the compilation element. Debugging is enabled when the debug attribute in the compilation element is set to true. Change the debug attribute to false to disable debugging for that application.
There may be many reasons for the above problem.
You need to check this:- Unable to Start Debugging on the Web Server
On a side note:- Go to IIS and check that the App Pool you are using is started.
Try this from your command line:-
cd %windir%\Microsoft.NET\Framework\v4.0.30319 aspnet_regiis.exe -i
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With