剑花 烟雨

   江南  好 风景旧曾谙 日出江花红胜火 春来江水绿如蓝 能不忆东北

理想中的建筑师应该是一个诗人、数学家、精通历史、精通心理学、熟悉音乐、了解医学、还要具备天文学和计算的基本知识。
                                                                                                                         ------------------公元前25年,罗马建筑学家Vitruvius
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Error: Unable to Start Debugging on the Web Server(from MSDN)

Posted on 2008-07-09 10:18  落花人独立  阅读(3758)  评论(0编辑  收藏  举报

当试图对运行在 Web 服务器上的应用程序进行调试时,有时可能会得到此错误信息:
Unable to start debugging on the Web server
如果你得到的错误信息是比这个更长的消息,这个主题下面的子主题对其做了说明.

如果你遇到了这个错误,有几点是需要被考虑的.第一就是things to check,然后基于你的机器的硬件和软件配置来考虑其它的项目.
    

Things to Check

Try checking the following things:

试着做如下检查:

  • Review the procedures for setting up ASP.NET or ATL Server. For more information see Getting Ready to Debug ASP.NET Applications.
    回顾安装ASP.NET或者ATL Server的过程.更多信息参考Getting Ready to Debug ASP.NET Applications.

  • Do you have the necessary access privileges for debugging? For more information see the Security Requirements section in ASP.NET Debugging: System Requirements.

    你是否拥调试的权限?更多信息参考ASP.NET Debugging: System Requirements的安全需求部分.

  • Are you running a version of Windows that allows the Visual Studio debugger to automatically attach to a Web application? If not, you need to launch the application without debugging and manually attach to it. (For more information, see Manually Attaching and ASP.NET Debugging: System Requirements.)

    你在使用允许Visual Studio 调试器自动的attach to a Web application(绑定Web应用程序)的Windows版本么?如果不是,你需要以不调试的方式启动应用程序并且手工的绑定它.(更多信息参考手工绑定和ASP.NET Debugging: System Requirements部分)

  • Does your Web application have a Web.config file?

    Web应用程序是否有Web.config文件?

    • Does the Web.config file enable debug mode by setting the debug attribute to true? For more information, see How to: Enable Debugging for ASP.NET Applications.

      在Web.config文件中是否设置了debug="true"?更多信息参考....

    • Does the Web.config file contain any syntax errors? You can check for syntax errors by running the Web application without debugging. (From the Debug menu, choose Start Without Debugging.) If there are syntax errors in Web.config, detailed information will be displayed.

      Web.config文件中有无语法错误?通过F5运行可以检查到语法错误.如果有语法错误,它的详细信息会会显示出来.

  • Did you create the project by specifying a specific IP address (100.20.300.400, for example)? Debugging a Web server requires NTLM authentication. By default, IP addresses are assumed to be part of the Internet, and NTLM authentication is not done over the Internet. To correct this problem:
    是不是创建工程的时候指定了IP地址?在Web服务器上调试需要NTLM授权.默认情况下,IP地址作为Internet的一部分,但是NTLM授权不能通过Internet来进行.更正这个问题的办法如下:(有这个问题的时候会提示:Unable to start debugging on the web server.The project is using a web site that is configured with IP adress....)

    • When creating the project, specify the name of the machine on your intranet.

      创建工程的时候指定intranet中的你的主机名字.

      -or-

    • Add the IP address (http://100.20.300.400) to the list of trusted sites on your computer. (From the Internet Explorer Tools menu, choose Internet Options, and then select the Security tab).

      将IP地址加入你的计算机上的信任站点.(从IE 浏览器中的工具菜单中选择选项->安全).

    Are the necessary extensions registered on the server machine? If not, re-register ASP.NET as described in the procedure below.

    必要的扩展是否在服务器上注册了?如果没有,重新注册ASP.NET.


 

count hit
欢迎您到紫阁阳光坐客