[英]Unable to start debugging on the Web Server. Visual Studio 2008
I am running visual studio 2008 on vista business 64-bit. 我正在64位Vista业务上运行Visual Studio 2008。 I am getting the following exception when I try to debug against IIS.
当我尝试针对IIS调试时,出现以下异常。
"Unable to start debugging on the web server. The object identifier does not represent a valid object". “无法在Web服务器上开始调试。对象标识符不代表有效的对象”。
IIS and Visual Studio are on the same box. IIS和Visual Studio在同一框中。
I've tried adding Windows Authentication but no luck (my app requires forms authentication, fyi). 我尝试添加Windows身份验证,但是没有运气(我的应用需要表单身份验证,fyi)。
Any thoughts? 有什么想法吗? I have a binding on the Web Site.
我在网站上有绑定。 The IIS app is a Web SIte not a virtual directly.
IIS应用程序是Web站点,不是直接虚拟的站点。
Thanks! 谢谢!
您已在IIS中打开Windows身份验证
Go to IIS right click on your project go to Asp.Net tab change the version to your current verion you are using. 转到IIS,右键单击您的项目,然后转到Asp.Net选项卡,将版本更改为当前使用的版本。
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 当您使用较高版本并决定切换到较低版本时会出现此问题,反之亦然,更改为较低版本可能会解决此问题。
Is your pc and the webserver on the same Windows domain? 您的PC和Web服务器是否在同一Windows域上? 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.
如果没有,或者您的计算机和Web服务器之间存在DMZ,除非您明确设置了计算机之间的信任,否则您可能会遇到问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.