开始,运行网站vs2010 [英] start, run website vs2010

查看:77
本文介绍了开始,运行网站vs2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


开始使用VS2010建立网站.
解决方案打开,但是当我尝试运行它时,它说:
无法在Web服务器上启动调试.确保服务器正常运行.
有什么想法吗?
谢谢

Hi,
Starting to build a website using VS2010.
The solution opens but when I try to run it it says:
Unable to start debugging on the web server. Make sure the server is operating correctly.
Any thoughts please?
Thanks

推荐答案

>确保将IIS配置为使用集成Windows身份验证.在站点属性的目录安全性"选项卡上启动的身份验证方法"对话框中,查找复选框.

>确保已启用HTTP Keep Alives.您可以在属性对话框的连接"部分的网站"选项卡上找到该复选框.

>这个很奇怪,但是它似乎可以解决许多问题,将http://localhost添加到Internet Explorer中的受信任站点.实话实说,这似乎是解决症状的方法,并不是实际上解决问题本身,而是解决问题的方法.顺便说一句,您必须取消选中需要对该区域中的所有站点进行服务器验证(https :)"复选框,才能将其添加为受信任的站点
>Make sure that IIS is configured to use Integrated Windows Authentication. Look for the checkbox on the Authentication Method dialog launched from the Directory Security tab of the site properties.

>Make sure that HTTP Keep Alives are enabled. You''ll find that checkbox on the Web Site tab of the properties dialog, in the connections section.

>This one is strange, but it seemed to do the trick for many out there, add http://localhost to the trusted sites in Internet Explorer. To tell the truth, this seems to be a fix for the symtoms, not actually fixing the problem itself, but if it works it works. BTW, you''ll have to uncheck the "Require server verification (https:) for all sites in this zone" checkbox to add it as a trusted site


这篇关于开始,运行网站vs2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆