问一个2003的项目转化为2005的问题(大家帮我一下)

yhhuang_peacocknine 2007-10-25 12:26:25
前面做的一个项目是用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>
谁有碰到过这样的问题吗,或谁有解决的办法。帮我一下,小弟现在没有分,等那天有了,一定加给你们!

...全文
83 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
q359600900 2007-10-25
  • 打赏
  • 举报
回复
好样的!
  • 打赏
  • 举报
回复
问题已解决

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧