日期:2014-05-18  浏览次数:20776 次

问一个2003的项目转化为2005的问题(大家帮我一下)
前面做的一个项目是用2003做的,现在装的是2005的,打开以后需要转化,转化好了以后,不能运行,报“无法在WEB服务器上启动调试。WEB服务器的配制不正确。请参见有关常见配制错误的帮助。在调试器外部运行网页可能会提供进一步的信息。、、、”。我用“开始执行(不调试)”启动后,报这样的错:
Server Error in '/' Application.
--------------------------------------------

Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. 

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".


<!-- Web.Config Configuration File -->

<configuration>
  <system.web>
  <customErrors mode="RemoteOnly"/>
  </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
  <system.web>
  <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
  </system.web>
</configuration>
谁有碰到过这样的问题吗,或谁有解决的办法。帮我一下,小弟现在没有分,等那天有了,一定加给你们!
 


------解决方案--------------------
好样的!