interlin - 2007-7-14 11:43:00
http://www.mogc.cn/bbs/我的站,请大家帮忙看看是什么原因,刚才还好好的...
“/”应用程序中的服务器错误。
缺少根元素。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Xml.XmlException: 缺少根元素。
源错误:
| 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 |
bighead - 2007-7-18 10:18:00
能否将您的问题描述的具体点,比如您在进行什么操作后出现的这个错误提示。
然后就是提供详细的堆栈信息。
shengnet - 2007-9-19 13:49:00
我用的也出现这个问题。怎么解决???
shengnet - 2007-9-19 15:58:00
已经解决。config文件夹中的 xml文件出现错误。重新传就好了。
cuttlefish1230 - 2008-8-5 17:43:00
我也出现了!
cuttlefish1230 - 2008-8-5 17:45:00
[XmlException: 缺少根元素。]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1907125
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() +151
[TypeInitializationException: “Discuz.Config.GeneralConfigFileManager”的类型初始值设定项引发异常。]
Discuz.Config.GeneralConfigFileManager.LoadConfig() +0
Discuz.Config.GeneralConfigs..cctor() +79
[TypeInitializationException: “Discuz.Config.GeneralConfigs”的类型初始值设定项引发异常。]
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
伊人街妹妹 - 2008-10-21 15:30:00
我也是
江南踏浪儿 - 2008-11-5 15:38:00
俺也一样