1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / System.Xml.XmlException: Root element is missing.

System.Xml.XmlException: Root element is missing.

2 posts, 0 answered
  1. Chris Hayward
    Chris Hayward avatar
    36 posts
    Registered:
    17 Dec 2009
    28 Sep 2011
    Link to this post
    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
    
  2. Chris Hayward
    Chris Hayward avatar
    36 posts
    Registered:
    17 Dec 2009
    28 Sep 2011
    Link to this post
    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!
2 posts, 0 answered