onder
onder

Reputation: 837

Could not start ASP.NET or ATL Server debugging

I installed Visual Studio 2003 on Windows 7 but I am getting the following error on when I press the F5 for debugging.

Error while trying to run project: Unable to start debugging on the web server. 
Could not start ASP.NET or ATL Server debugging.
Verify that ASP.NET or ATL Server is correctly installed on the server.

What does that mean and how do I fix it?

Upvotes: 2

Views: 10619

Answers (5)

sanrnsam7
sanrnsam7

Reputation: 171

Simple steps to solve this error!! Make sure the following things are intact:

  1. Check if your application pool is stopped. If so, start it. Also make sure the framework of the pool matches with that of your application.
  2. Virtual directories in IIS need to bear the same name as its original application directory
  3. Clear Temp files, Temp ASP files, delete the worker process of the application and restart your IIS.

Here's a link that will help you setup ASP.Net 1.1 and its requisites, in case, the above didn't help you. How to setup asp.net v1.1

Upvotes: 0

user2338552
user2338552

Reputation: 9

May be you have to install another server on your computer, so it conflict with IIS server. You have to change another server port address or remove from your computer.

Upvotes: 0

Yoosaf Abdulla
Yoosaf Abdulla

Reputation: 3978

I tried all the options but in vain. My solution was:

  1. Go to properties page of the application in VS2010
    a. check you have selected 'Define DEBUG constant' b. check you have selected 'Use Visual Studio development server' under the Server. i) select 'Auto-assign Port' c. check you have selected 'Apply server settings to all users' d. check you have selected 'asp.net' under Debuggers

Mine all the above were messy. I did the same and it worked.

Upvotes: 0

onder
onder

Reputation: 837

I found answer :

iis manager -> computer name -> ISAPI and CGI restrictions -> aspnet v1.1... -> select allowed

(dont forget restart IIS.)

Upvotes: 0

Sachin Shanbhag
Sachin Shanbhag

Reputation: 55499

The cause for this as per microsoft support is -

This problem occurs because the debugger does not send the debug action to IIS when you run the application. The debugger identifies your computer as localhost. However, in IIS, the Web Site Identification of the application is the IP address that you specified

The resolution is as given below -

http://support.microsoft.com/kb/814717

http://forums.asp.net/t/703333.aspx

Upvotes: 1

Related Questions