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 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>
用asp.net做的网站.在本地可以浏览.上传后出现如下错误: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>
用asp.net做的网站.在本地可以浏览.上传后出现如下错误: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>请教各位大哥解决方法.有高手说是虚拟目录的问题.但到底怎么解决还是不知道.烦请
赐教!
解决方案 »
- 教学系统的需求,有点疑惑,,希望各位给点意见
- 请问一下
- jqeury 处理xml
- 这句代码有没有优化的空间或者是用其他更优的实现方式
- 大型统计网站数据是怎么保存的?
- 请问如何用JS将页面中某个表格另存为EXCEL?
- 在线等,急。有关Win2003Server系统下IIS6.0、VS.NET2003开发环境的问题。回答满意者额外送200-300分!
- 在线求助:多文件上传后改名问题!(刚才没完全搞定) wangsaokui, cpp2017(幕白兄)morality(业精于勤,行成于思!) 大哥们再进来看看
- 怎么我的IIS里面没有新建这一项的??
- EF返回DataSet的解决方法
- 这两种实现方式的区别?
- 用asp.net做的网站,上传后打不开.急!!
<customErrors mode="Off"/>
可以看出具体的错误如果是虚拟目录问题,一般是没有设置为应用程序,在iis'里可以点创建