源码信息

最新源码评论

  • 评论者:calabozo
    calabozo(用户) 发表于:2008-11-24 18:25:00

    Server Error in '/' Application. <i>Runtime Error</i> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"><b>Description: </b>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. <br/><br/><b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.<br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td>&lt;!-- Web.Config Configuration File --&gt;&lt;configuration&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;system.web&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;customErrors mode=&quot;Off&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/system.web&gt;&lt;/configuration&gt;</td></tr></table><br/><b><font face="Verdana">Notes:</font></b> The current error page you are seeing can be replaced by a custom error page by modifying the &quot;defaultRedirect&quot; attribute of the application's &lt;customErrors&gt; configuration tag to point to a custom error page URL.<br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td>&lt;!-- Web.Config Configuration File --&gt;&lt;configuration&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;system.web&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;customErrors mode=&quot;RemoteOnly&quot; defaultRedirect=&quot;mycustompage.htm&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/system.web&gt;&lt;/configuration&gt;</td></tr></table><br/></font>

    0 个回复