Discuz!NT 2.5 正式版 下载
beta、RC版升级补丁
中秋模板发布
首届Discuz!NT 模板大赛圆满结束
著名音乐网站SoGua网、分贝网
采用Discuz!NT搭建社区
FIFA Online2官网论坛使用Discuz!NT
游戏城寨论坛使用Discuz!NT搭建
Discuz!NT 2.5正式开源 Discuz!NT文档中心
用户整合说明文档
Discuz!NT亮相微软Tech-Ed 2007
Discuz!NT情景搞笑短片抢先看
武林三国《赤壁》下(双线二区)开服好礼大放送
1/1页1 跳转到查看:728
发新话题 回复该主题
1. 将鼠标移动到页面左上角待出现光标后,再慢慢移动到光标上,看帖更清爽
2. 键盘左右键可以进行前后翻页操作
帮助

[使用] wysky版主帮忙看看使用中突然出现错误?

wysky版主帮忙看看使用中突然出现错误?


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>


TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

请按照提示修改Web.config的节点属性为 Off (区分大小写),再把详细错误信息发上来
Discuz!NT常见问题(更新2.5)
有问题PM...

心平气和换得有效交流.

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

我安装时修改Web.config的节点属性为 Off ,

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

Web.config放在根目录  Off大小写区分的
Discuz!NT常见问题(更新2.5)
有问题PM...

心平气和换得有效交流.

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

我修改Web.config的节点属性由安装时的 Off 改为RemoteOnly,又改回Off 以后,提示如下:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Root element is missing.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: Root element is missing.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[XmlException: Root element is missing.]
  System.Xml.XmlTextReaderImpl.Throw(Exception e) +90
  System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109
  System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1954433
  System.Xml.XmlTextReaderImpl.Read() +41
  System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
  System.Xml.XmlDocument.Load(XmlReader reader) +96
  System.Xml.XmlDocument.Load(String filename) +160
  Discuz.Config.GeneralConfigFileManager.ReviseConfig() +81
  Discuz.Config.GeneralConfigFileManager..cctor() +152

[TypeInitializationException: The type initializer for 'Discuz.Config.GeneralConfigFileManager' threw an exception.]
  Discuz.Config.GeneralConfigFileManager.LoadConfig() +0
  Discuz.Config.GeneralConfigs..cctor() +74

[TypeInitializationException: The type initializer for 'Discuz.Config.GeneralConfigs' threw an exception.]
  Discuz.Forum.HttpModule.ReUrl_BeginRequest(Object sender, EventArgs e) +90
  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

你的config目录中的general.config文件无法成功读取,是不是有人手工修改过此文件?

你先把这个文件备份了 然后再用官方的临时覆盖一下看看
Discuz!NT常见问题(更新2.5)
有问题PM...

心平气和换得有效交流.

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

昨天刚装好,我没有修改任何东西,正常登陆后台退出后,在次登陆就出现这个问题,我按照你的方法试试看,谢谢!

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

记得先把现在的备份一下  如果确认了  可以修复的
Discuz!NT常见问题(更新2.5)
有问题PM...

心平气和换得有效交流.

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

谢谢wysky版主!我的网站自己又好了,说是服务器负荷太重造成的。谢谢!

TOP

 

回复:wysky版主帮忙看看使用中突然出现错误?

恭喜~
Discuz!NT常见问题(更新2.5)
有问题PM...

心平气和换得有效交流.

TOP

 
1/1页1 跳转到
发表新主题 回复该主题