网站需要在LAN中工作.因此,我安装了IIS,并以与网站相同的名称创建了一个虚拟目录,并且别名与webiite相同. 将所有文件替换为C-> Inetpub-> wwwroot.但是当我运行网站时,出现如下所示的错误. 无法在Web服务器上启动调试.Web服务器配置不正确.在调试器外部运行网页可能会提供更多信息. 我右键单击虚拟目录,并将asp版本设置为2.但是发生了错误.发生了什么事,我该如何解决.
website is need to be work in LAN. So I installed IIS,created a virtual directory in the same name of website and alies name is same as webiite. Replaced all files in to C->Inetpub->wwwroot .But when I running the website some error show as below. unable to start debugging on the web server.web server not configured correctly.Running web page outside of the debugger may provide further information. I right clicked on virtual directory and set asp version as 2..But error occured.What happened and how can I resolve it.
推荐答案如果您是第一次配置,而不是第一次尝试设置一个简单的html页面. 而不是整个网站.在iis上有很多设置,例如版本,端口,默认lang等.因此,请尝试在其上进行搜索并设置您的网站. Hi, If you configure first time than first trying to set simple one html page. And than whole site. There are many thing to set on iis like version,Port, Default lang, etc..So trying to search on that and set your web site.
检查此处 [ ^ ]出于几个原因和解决方法. check here[^] for few reasons and the solution.
更多推荐
无法在Web服务器上启动调试.Web服务器配置不正确
发布评论