There are two common errors regarding VS 2003 projects.
1. Error while trying to run project: Unable to start debugging on
the web server. The project is not configured to be
First of all, make sure that in your Web.Config file, you have Debug=True in
the Compilation property as:
<compilation defaultLanguage="c#" debug="true" />
If your project still shows the same error, then to fix this:1. Open
IIS and select your web project.2. Right click you project and go to
Properties.3. See the Directory tab. Make sure that under Applicaiton
Settings, you project has an application name (and not Default). If you see
Default written there, then click the Create button.4. Run your project
This error can also surface in VS 2003 if you have deleted the Web.Config
file from the project. Though the project will compile and you can run the app
from the browser by directly typing the form url (like http://localhost/WebApp1/WebForm1.aspx),
but VS 2003 will not be able to run the app and will give the same error as
above. The reason for this being the fact that in the absence of the app
specific Web.Config file, ASP.NET will pick up settings from the
machine.config file (under
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG). In this file we have
DEBUG=FALSE in the compilation property, and if we change it manually and set it
to TRUE, the app will run from VS 2003.
2. Error while trying to run project: Unable to start debugging on
the web server.
If you get this “shorter” version of the first error, then first check if you
have both ASP.NET 2.0 as well as 1.1 installed on the same machine or not. If
yes, then open your porject in IIS, rgiht click and go to properties and see the
ASP.NET tab (its will be there only if ASP.NET 2.0 is installed). Now check the
version of the ASP.NET here and make sure you are using the right one. For VS
2003, it should be set to 1.1.
3. Error while to run project : unable to start
debugging on the web server. Debugging failed because integrated window
autherication is not enabled.
Go to IIS->right click your Virtual directory->Properties->Directory
Security tab->click Edit button->Make sure that Intergrated Windows
Authentication button is checked.
A helpful link from MS on such errors:
Natty Gur has another reason for this error :