Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server. - Peter's Software House

Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

When looking for this error on google you get 274,000 hits, with this post we'll make it 274,001. ;)

I just got a new PC and was moving all my dev stuff over to the new machine when I got a support incedent and needed to replicate the problem and find a solution.  So I fired up VS2003 (yes, this is a 1.1 web app) and it gave me the lovely error that you see in the title of this post.  Then I searched google and found all these solutions that did nothing for me.  Being a little bit perplexed I fired up IE and tried to go to the site and low and behold I had a whole host of web.config issues I had to sort out first.  After doing so and making sure the site actually worked first, I tried to debug again, and it all worked like I expected.  Moral of the story, make sure about the basics before your google for a problem. ;)

Hope this is helpful to other.

Published Wednesday, May 02, 2007 11:20 AM by Pieter
Filed under:

Comments

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

I fixed mine by going to IIS, right click on the web app, and under ASP.NET tab I changed the ASP.NET Version to 1.14322 .  The default version is set to 2.0.50727 because I have VS 2005 installed.

Friday, May 18, 2007 9:27 PM by Bernard

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

Bernard - you're the man ! I am not a complete idiot when it comes to development, but followed the "Help" associated with the message box to the letter. No joy. Didn't even think of versioning in IIS. Worked exactly as you said ! Thank You !

Monday, May 21, 2007 5:05 PM by Warren

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

Excellent reply from Bernand. Thanks a lot.

Tuesday, May 22, 2007 7:54 PM by Nair

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

Thanks Bernand, Your suggestion helped me. I was pulling my hair but now I can keep some.

Tuesday, December 02, 2008 11:48 PM by ToothFairy

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

Bernard - hats off to you! Saved me tons of time + headache following MS help.

Wednesday, January 28, 2009 8:48 PM by HRL

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

I changed the ASP.NET Version to 1.14322 in IIS, but still got the same error. Can anyone help?

Wednesday, April 29, 2009 6:40 PM by amy

# re: Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server.

This saved me a lot of heart ache!

Thanks

Monday, May 04, 2009 9:58 PM by Charles

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: