chad
chad

Reputation: 79

Cannot debug in VS2008 with Windows 7

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

Answers (3)

chad
chad

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

Yvo
Yvo

Reputation: 19263

Try this (check authentication in IIS as well)

  1. In the Internet Explorer, "Tools" Menu, select "Internet Options".

  2. Switch to "Security" Tab.

  3. Click on "Internet" (The Globe Icon. Its actually the default selected).

  4. Click on "Custom Level" in the bottom.

  5. Scroll down to find the "User Authentication" section.

  6. Select "Automatic logon with current username and password".

  7. 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

Victor Hurdugaci
Victor Hurdugaci

Reputation: 28425

Try running Visual Studio as Administrator. Right click its icon -> "Run as Administrator"

Upvotes: 2

Related Questions