我把程序拷到别的机器上 ,访问时就出现 这个问题Server Error in '/time' 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 remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, 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 "Off".
<!-- Web.Config Configuration File --><configuration>
<system.web>
<customErrors mode="Off"/>
</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="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
请各位帮我解决这个问题,谢谢,在线等。
--------------------------------------------------------------------------------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 remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, 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 "Off".
<!-- Web.Config Configuration File --><configuration>
<system.web>
<customErrors mode="Off"/>
</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="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
请各位帮我解决这个问题,谢谢,在线等。
解决方案 »
- IIS下的ASP.NET 4.0是什么?有什么新特性吗?
- SOS 关于FreeTextBox中上传图片和删除图片功能
- 做后台管理时一般用div? 还是用table布局
- 如何在性能系统监视器中,指定增加某一个ASP.NET 应用程序的性能计数器?谢谢
- 没自信
- 关于CSS如何布局一个不随显示器大小而改变的上中下页面
- 这段程序为什么在vs.net2005下通不过呢?急中等!等前辈
- 使用公共数据连接是否合理
- 我也急请大家帮忙.我要做1个新闻发布的程序! 我想要1个完整的例子! 要源代码的(不要已经被编译过的!)
- 这个问题谁知道?关于函数测试,解决了一定给分!
- 急!急!急!连接Sybase数据库的问题!
- asp.net运行调试时提示:无法开始调试.无法找到Microsoft Internet Explorer.!急!!!在线等.
你让它显示错误看一下
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
----------
<customErrors mode="off"/>