论坛转换网's Archiver

envoycn 发表于 2009-12-12 10:56

白大侠请帮我看看该错如何解决

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) +87
   System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1907173
   System.Xml.XmlTextReaderImpl.Read() +38
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +145
   System.Xml.XmlDocument.Load(XmlReader reader) +96
   System.Xml.XmlDocument.Load(String filename) +157
   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.42; ASP.NET Version:2.0.50727.42

envoycn 发表于 2009-12-12 12:03

我找到问题了,General.config文件变成全白了而且有13K大小,不知道是怎么弄得,这个是BUG吗?

白乐天 发表于 2009-12-12 13:40

如果你只是要转换数据,不必一定把dnt3论坛环境搭建起来,只要把dnt的数据库还原即可。转换只看数据库,不管有没有论坛环境的

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.