My Thoughts & Views

Debugging Problems in ASP.NET

Posted on: March 27, 2007

When you try to debug an ASP.NET application in Visual Studio.NET. you may receive the following debugging error.

Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.

Following are reasons and solutions for this problems.

Possibility 1:

You are not a part of debugger group.

Solution

Local Users and Groups ->Users- > add yourself as a Debugger User (Also check if you are a VSDeveloper

Possibility 2:

You dont have execute permissions on your virtual folder.

Solution

Step 1: Control Panel -> Administrative Tools- >Internet Service Manager

Step 2: Default Web Site -> Right Click on your Project-> Properties->Execute Permissions -> Scripts and Executables

Possibility 3:

You have kept ASP.NET debugging unchecked.

Solution

In VS.NET IDE,

Right Click Project – >Properties->Configuration Properties ->Debugging-> Debuggers Enable Check the checkbox for ASP.NET Debugging

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: