问题
I am running visual studio 2008 on vista business 64-bit. I am getting the following exception when I try to debug against IIS.
"Unable to start debugging on the web server. The object identifier does not represent a valid object".
IIS and Visual Studio are on the same box.
I've tried adding Windows Authentication but no luck (my app requires forms authentication, fyi).
Any thoughts? I have a binding on the Web Site. The IIS app is a Web SIte not a virtual directly.
Thanks!
回答1:
You have switch on Windows Authentication in IIS
回答2:
Is your pc and the webserver on the same Windows domain? If not, or there is a DMZ between your pc and the web server you could experience problems unless you've explicitly setup trust between the machines.
回答3:
Go to IIS right click on your project go to Asp.Net tab change the version to your current verion you are using.
This problem comes when you are using a higher version and decided to switch to a lower version and vice versa changing to your version might solve the problem
来源:https://stackoverflow.com/questions/841376/unable-to-start-debugging-on-the-web-server-visual-studio-2008