Unable to Start Debugging on the Webserver. The Project is not configured to debug

Hi,

You get this error "Unable to start debugging on the webserver. the project is not configured for debugging" occasionally when your aspnet account doesnt have debug permissions.

This can happen, if the vs.net installation was not made properly or some reasons when the aspnet account fails to have the necessary rights.

To resolve this, re-register the aspnet account with the IIS, by typing the following command from the command prompt:-

%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

Note: Change the v1.1.4322 to v1.0.3705 if you are using .net 1.0 version. 
This should resolve the problem.

I have been receiving various queries regarding different versions of this error “Unable to start debugging...“.  This error appears due to many reasons other than the above mentioned.

For a complete list of solutions, please check http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vsdebug.asp

Print | posted on Monday, April 25, 2005 7:36 AM

Comments on this post

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
You need to make sure your authentication mode = "Window" and also make sure your application folder can run scripts to start debug.

Left by Gary Lam on Jun 16, 2005 2:59 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
For anyone else who might read this...

I resorted to uninstalling and reinstalling IIS from my version of XP Pro (not such a big deal if you havent loads of virtual roots). I then ran aspnet_regiis.exe as detailed above, and all this whilst logged on as Administratpr

After this i was able to debug again.
Left by Al on Jul 05, 2005 4:52 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
I tried all of the above, it still gives the same error. Is there anything else to try?
Left by Dust on Jul 28, 2005 12:17 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Yeap. Unistall VS, unistall IIS. Install IIS and then VS.
Left by inaquimj on Aug 04, 2005 2:06 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
This did it for me....after trying all the above!

http://www.cryer.co.uk/brian/mswinswdev/ms_vbnet_unable_start_debugging.htm
Left by Theresa Blasius on Feb 28, 2006 4:57 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Thank You. After a long search the cryer.co.uk worked for me too....
Left by nsuresh_rasr on Mar 02, 2006 2:11 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
hi Harish

Thank you very much the link u had given helped me to resolve.

http://www.cryer.co.uk/brian/mswinswdev/ms_vbnet_unable_start_debugging.htm
Left by Basu on Mar 13, 2006 10:04 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
If you are running Visual Studio 2003 (or ASP.NET v1.1) you should setup IIS to use ASP.NET v1.1 and not ASP.NET v2.0, go to IIS, click properties on the virtual directory and select the ASP.NET, and select the required ASP.NET version.
Left by Albert on Mar 16, 2006 7:55 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
if you are using windows 2003 server , just enable debugging on IIS6.0 its.
Left by nazar on Apr 22, 2006 5:52 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
hey thanks a million for such a perfect help!!
Left by gouri on May 16, 2006 11:50 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Hi Albert,
ThankYou Very Much for the solution.
Left by Goutham on Jun 15, 2006 4:23 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
You might also try creating a new web app and if it debugs, then there's nothing wrong with IIS. Try renaming your app and re-creating it, copy over the files to the new one and do any quick fixups. Worked for me.
Left by Steve on Oct 04, 2006 5:26 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Very nice link.... helped me. It Worked!!!! Well all the of them who have copied the file from another machine and trying to open it for the first time on your computer should visit this link.

THANKYOU

http://www.cryer.co.uk/brian/mswinswdev/ms_vbnet_unable_start_debugging.htm
Left by ankur on Oct 20, 2006 4:42 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Try enabling "Integrated Windows authentication" mode in Authentication methods of IIS for the project virtual directory. This worked for me.
Left by Manikandan on Dec 01, 2006 9:43 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
create the web.config
Left by Daniel on Oct 08, 2008 2:43 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Very nice link.... helped me. It Worked!!!!
Left by Manmohan on Jan 14, 2009 1:02 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
the cryer.com.uk website worked for me.
Left by Joe on Feb 24, 2009 3:25 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Albert's solution worked for me. (changing ASP.Net versions from tab in IIS snap-in)
Left by Json on Apr 25, 2009 4:16 AM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Hey, that was interesting,

Thanks for writing, most people don't bother.
Left by software development london on Oct 15, 2009 11:22 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
Run Visual Studio as Administrator works for me...
Left by Daryl on Feb 08, 2012 6:19 PM

# re: Unable to Start Debugging on the Webserver. The Project is not configured to debug

Requesting Gravatar...
I tried all of the above, it still gives the same error. Is there anything else to try?
FYI :
i'm using win7 and vs 2003
Left by el maulo on Feb 23, 2012 2:06 PM

Your comment:

 (will show your gravatar)