2007-05-24, 09:48 PM
my EWA stopped working a couple of weeks ago with the error below. Since then I've tried updating (to v60 and v61), installing the default EWA and repair installing gbpvr without any luck.
Does anyone have any ideas?
Server Error in '/gbpvr' 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:
Line 485:
Line 486: if (File.Exists(GetWebConfigFileName()))
Line 487: configWeb.Load(GetWebConfigFileName());
Line 488:
Line 489: globalSettings = new HybridDictionary();
Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs Line: 487
Stack Trace:
[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1166
System.Xml.XmlTextReaderImpl.Read() +42
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +256
System.Xml.XmlDocument.Load(XmlReader reader) +97
System.Xml.XmlDocument.Load(String filename) +164
gbweb.Settings.LoadFromFile(Boolean reload) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:487
gbweb.Settings.GetSetting(Object moduleObject, String settingName) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:431
gbweb.Settings.Load() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:145
gbweb.Settings..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:137
gbweb.Global..cctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:39
[TypeInitializationException: The type initializer for 'gbweb.Global' threw an exception.]
gbweb.Global..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:32
ASP.global_asax..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbpvr\4d107d39\801bf7b5\App_global.asax.40vetaet.0.cs:0
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +181
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +331
Does anyone have any ideas?
Server Error in '/gbpvr' 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:
Line 485:
Line 486: if (File.Exists(GetWebConfigFileName()))
Line 487: configWeb.Load(GetWebConfigFileName());
Line 488:
Line 489: globalSettings = new HybridDictionary();
Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs Line: 487
Stack Trace:
[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.Throw(Exception e) +87
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1166
System.Xml.XmlTextReaderImpl.Read() +42
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +256
System.Xml.XmlDocument.Load(XmlReader reader) +97
System.Xml.XmlDocument.Load(String filename) +164
gbweb.Settings.LoadFromFile(Boolean reload) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:487
gbweb.Settings.GetSetting(Object moduleObject, String settingName) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:431
gbweb.Settings.Load() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:145
gbweb.Settings..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:137
gbweb.Global..cctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:39
[TypeInitializationException: The type initializer for 'gbweb.Global' threw an exception.]
gbweb.Global..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:32
ASP.global_asax..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbpvr\4d107d39\801bf7b5\App_global.asax.40vetaet.0.cs:0
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +181
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +331