Unable to start debugging on the Web Server. Visual Studio 2008

余生长醉 提交于 2019-12-25 00:13:58

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!