首页 新闻 会员 周边

Server Error in '/' Application.这到底是什么东西啊,怎么我网站老是报这种错

0
悬赏园豆:20 [已关闭问题] 关闭于 2011-01-04 11:21
<h2><em>这到底是什么东西啊,怎么我网站老是报这种错</em></h2> <p><strong>哪位大哥能帮我解决下,万分感激!</strong></p> <p><strong>网址:http://www.shuijunchina.com/index.aspx</strong></p> <h2><em>&nbsp;</em></h2> <h2><em>Server Error in '/' Application.</em></h2> <h2><em>Runtime Error</em> </h2> <p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><strong>Description: </strong>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 /><strong>Details:</strong> To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a "web.config" configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its "mode" attribute set to "Off".<br /><br /></span></p> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>&lt;!-- Web.Config Configuration File --&gt;&lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode="Off"/&gt; &lt;/system.web&gt;&lt;/configuration&gt;</pre> </code></td> </tr> </tbody> </table> <p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><br /><strong>Notes:</strong> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's &lt;customErrors&gt; configuration tag to point to a custom error page URL.<br /><br /></span></p> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>&lt;!-- Web.Config Configuration File --&gt;&lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/&gt; &lt;/system.web&gt;&lt;/configuration&gt;</pre> </code></td> </tr> </tbody> </table>
问题补充: 这是我的Web.config 文件,各位高手帮忙看一下,谢谢 <?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" /> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false&quo
MR.豆耐特的主页 MR.豆耐特 | 菜鸟二级 | 园豆:256
提问于:2010-12-03 13:42
< >
分享
所有回答(4)
0

感觉是你的web.config配置错误,找不到这个路径,方便的话把你的web.config文件代码贴出来,还有说说你要进入哪个页面。

wlz0815 | 园豆:587 (小虾三级) | 2010-12-03 13:51
每个页面都是. .net版本没问题,不知道问题出在哪
支持(0) 反对(0) MR.豆耐特 | 园豆:256 (菜鸟二级) | 2010-12-03 14:41
windows event log 有什么信息?
支持(0) 反对(0) 沉默的糕点 | 园豆:1786 (小虾三级) | 2010-12-03 15:12
0

 在web config中 设定<customErrors mode="Off"/>,运行一次,然后再把信息贴出来。

沉默的糕点 | 园豆:1786 (小虾三级) | 2010-12-03 14:23
试过,效果完全一样
支持(0) 反对(0) MR.豆耐特 | 园豆:256 (菜鸟二级) | 2010-12-03 14:42
0

不能连接到网站。

顾晓北 | 园豆:10844 (专家六级) | 2010-12-03 17:28
0

服务器出问题了,你叫空间的人帮你处理一下。。。

黑云 | 园豆:250 (菜鸟二级) | 2010-12-03 19:16
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册