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

posted @ Monday, April 25, 2005 7:36 AM

Print

Comments on this entry:

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

Left by Gary Lam at 6/16/2005 2:59 AM
Gravatar
You need to make sure your authentication mode = "Window" and also make sure your application folder can run scripts to start debug.

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

Left by Al at 7/5/2005 4:52 PM
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.

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

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

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

Left by inaquimj at 8/4/2005 2:06 PM
Gravatar
Yeap. Unistall VS, unistall IIS. Install IIS and then VS.

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

Left by Theresa Blasius at 2/28/2006 4:57 PM
Gravatar
This did it for me....after trying all the above!

http://www.cryer.co.uk/brian/mswinswdev/ms_vbnet_unable_start_debugging.htm

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

Left by nsuresh_rasr at 3/2/2006 2:11 AM
Gravatar
Thank You. After a long search the cryer.co.uk worked for me too....

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

Left by Basu at 3/13/2006 10:04 AM
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

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

Left by Albert at 3/16/2006 7:55 AM
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.

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

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

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

Left by gouri at 5/16/2006 11:50 AM
Gravatar
hey thanks a million for such a perfect help!!

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

Left by Goutham at 6/15/2006 4:23 AM
Gravatar
Hi Albert,
ThankYou Very Much for the solution.

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

Left by Steve at 10/4/2006 5:26 PM
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.

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

Left by ankur at 10/20/2006 4:42 PM
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

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

Left by Manikandan at 12/1/2006 9:43 AM
Gravatar
Try enabling "Integrated Windows authentication" mode in Authentication methods of IIS for the project virtual directory. This worked for me.

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

Left by Daniel at 10/8/2008 2:43 PM
Gravatar
create the web.config

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

Left by Manmohan at 1/14/2009 1:02 PM
Gravatar
Very nice link.... helped me. It Worked!!!!

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

Left by Joe at 2/24/2009 3:25 AM
Gravatar
the cryer.com.uk website worked for me.

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

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

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

Left by software development london at 10/15/2009 11:22 PM
Gravatar
Hey, that was interesting,

Thanks for writing, most people don't bother.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910