这是报的错误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>
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>
解决方案 »
- 关于递归加载TreeView的问题,,急,求大神!!!!!!!!!
- 做了一个网站发布到IIS上出错 请教各位
- 如果能直接计算DataTable中某列的和?
- 服务器标记的格式不正确 高手指教
- 用javascript,当chechbox为onclick时,textbox清空。
- 关于Atlas的简单问题!!!!!!!!!!!!!
- 關於!UML圖 help me!
- 发布一个自己仿Eclipse的正则表达式验证插件的小程序
- 首页有5个DataGrid,DataGrid的DataSource如何做循环!!
- .net发送短信
- asp.net 如何对IP地址进行操作
- 如何将动态链接库.dll转换成.cs文件?
<appSettings/>
<connectionStrings>
<add name="strConn" connectionString="~/App_Data/data.mdb"/>
</connectionStrings>
<system.web>
<customErrors mode="Off"/>
<compilation debug="false"> </compilation>
<authentication mode="Windows" />
<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="1024000" executionTimeout="900"/>
<globalization requestEncoding="gb2312" responseEncoding="gb2312"/>
</system.web>
</configuration>
<authentication mode="Windows" /><customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
添加了 两个 customErrors 标记
这里有问题