Wednesday, May 13, 2009

Unable to start debugging on the web server. The web server is not configured correctly...

Hey all:

When you build a web solution in Visual studio, if the following error message is shown:

"Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information."

There can be two reasons...

A) The directory where the web application stays may not be configured as web application.

Steps to Solve:
1. Right click the project folder & Click properties.
2. Select "Web Sharing" tab.
3. Choose the option "Share this folder" radio button & Edit Alias window will pop-up, Press OK and build the application.

B) The Frame work version may not be the appropriate one.
Steps to Solve:
1. Right click the project folder from IIS (Run>inetmgr), Click properties
2. Select ASP.NET tab & select the appropriate ASP.NET Version from combo box.
3. Press OK & build the application again.

Hope it is helpful...

Regards
Fauzi

No comments: