I tried to running a website in debug more (F5), and I get the following error message. Note, that I am using a local IIS 7 server on windo开发者_StackOverflow中文版ws 7 64 bit machine.
How can I get the debugger to work?
As mentioned in my comment above:
I got it working by setting IIS authentication to use 'windows authentication' and by running visual studio as administrator
If you are only trying to accomplish local debugging with IIS 7, I may have another solution for you. I developed a small port opener I called "SharpProxy" that may make your local testing much easier.
Overview and instructions: http://www.codefromjames.com/wordpress/?p=97
It's open source! Get code here: https://github.com/jocull/SharpProxy
精彩评论