System.Xml.XmlException: Root element is missing.

Posted by Community Admin on 04-Aug-2018 21:24

System.Xml.XmlException: Root element is missing.

All Replies

Posted by Community Admin on 28-Sep-2011 00:00

Having an issue on a client website that i just upgraded to the latest version.

Sitefinity upgrade went very smoothly.  Uploaded all files to server, and site is not functional:

http://www.bwafinancial.com/

This happens on both the server and on localhost


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.ThrowWithoutLineInfo(String res) +198
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +5186924
   Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.ReadNextTag(XmlReader reader) +32
   Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSectionFromReader(ConfigSection section, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, Boolean checkForUpgrade, UpgradingInfo& upgradingInfo) +79
   Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSectionFromFile(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName, Boolean withUpgrade) +138
   Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName) +82
   Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy) +193
   Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider) +30
   Telerik.Sitefinity.Configuration.Config.Get(Boolean safeMode) +272
   Telerik.Sitefinity.Security.SecurityManager..cctor() +202

[TypeInitializationException: The type initializer for 'Telerik.Sitefinity.Security.SecurityManager' threw an exception.]
   Telerik.Sitefinity.Security.SecurityManager.AuthenticateRequest(HttpContextBase context) +0
   Telerik.Sitefinity.Web.SitefinityHttpModule.Context_AuthenticateRequest(Object sender, EventArgs e) +104
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

Posted by Community Admin on 28-Sep-2011 00:00

I've restored from backup to previous version for now -- ill try the upgrade process again later and see if this situation comes up again

thanks!

This thread is closed