Reputation: 79
Since installing Windows 7, I cannot debug a website. I am an administrator on the machine, but when I try to debug, it says: Unable to start debugging on the web server. YOu do not have permissions to debug the web server process. You need to either be running as the same user account as the web ser, or have administrator privlege." I have IIS set up on my machine and am using that as a custom server on port 81...
Any ideas?
Upvotes: 5
Views: 5292
Reputation: 79
So, I thought User Account control was more of a notification service in Windows 7 and had left it on. However, this is not the case and when I turned it off, my problem was solved...
Victor's solution would have worked, but since I publish to a mapped network drive, it did not like my credentials.
Thanks for the suggestions.
Upvotes: 0
Reputation: 19263
Try this (check authentication in IIS as well)
In the Internet Explorer, "Tools" Menu, select "Internet Options".
Switch to "Security" Tab.
Click on "Internet" (The Globe Icon. Its actually the default selected).
Click on "Custom Level" in the bottom.
Scroll down to find the "User Authentication" section.
Select "Automatic logon with current username and password".
Click "Ok" twice to exit.
For a complete list of solutions on solving the debugger issues:
http://msdn.microsoft.com/en-us/library/aa290100(VS.71).aspx
Upvotes: 0
Reputation: 28425
Try running Visual Studio as Administrator. Right click its icon -> "Run as Administrator"
Upvotes: 2