尝试运行Project时出错:无法在Web服务器上启动调试。项目未配置为已调试 [英] Error While trying to run Project : Unable to start debuggeing on the web server . The project is not configured to be debugged

查看:181
本文介绍了尝试运行Project时出错:无法在Web服务器上启动调试。项目未配置为已调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello There



i用Visual Studio 2003创建了Project,当我尝试运行我的项目时遇到了这个问题。

< br $>
i正在搜索它并阅读与此问题相关的所有解决方案但没有运气



所以请任何帮助将被赞赏

Hello There

i have created Project with Visual Studio 2003 and when i try to run my project i faced this problem .

i was search about it and read all solution that related to this problem but no luck

so please any help will be appreciated

推荐答案

看一看: http://support.microsoft.com / kb / 306156 / zh-CN [ ^ ]



Take a look: http://support.microsoft.com/kb/306156/en-us[^]

When you debug an ASP.NET application in Visual Studio .NET, you may receive the following error message:
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged

For ASP.NET projects, verify that you have a valid project file called 'Web.config' for the URL specified and 'debug' is set to 'true' in that file.
For ATL Server projects, verify that the 'DEBUG' verb is associated with your ISAPI extension.
Would you like to disable future attempts to debug ASP.NET pages for this project?







This error can occur primarily because:

    The ASP.NET Application does not have a Web.Config file.
    The Execute Permissions property for the current project folder in Internet Services Manager is set to None.










To resolve this problem, use one of the following methods, depending on your circumstances:

    If your project does not have a Web.config file, add a Web.config file to the directory that contains the ASP.NET application. If you are working in Visual Studio .NET, right-click the project in Project Explorer, click Add New Item, and then click Web Configuration File.
    If your project already has a Web.config file, and if the debug attribute is set to true in the <compilation> section of the Web.config file, follow these steps to set the Execute Permissions property for the project folder:
        Start Internet Services Manager, and then click the project that you are trying to debug.
        Right-click the project, and then click Properties.
        Click the Directory tab.
        If None is selected in the Execute Permissions list, click Scripts only, and then click Apply.


感谢您重播但我已完成所有操作这些想法,直到现在我无法调试我的项目
thank you for replay but i have done all of thi ideas and till now i can not debug my project


这篇关于尝试运行Project时出错:无法在Web服务器上启动调试。项目未配置为已调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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