Upgraded all my sites successfully the other day with the new clientdependency.dll. Couple of days later, the V7 ones are now sitting there with the following error:-
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.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212
I've rebuilt both sites and reuploaded their dlls but the error doesn't change. Just wondering if there's a dll that needs to be set to "copy local" on my hosting.
Thanks Dennis, the config folders are populated. However, noted on one site that applications.config was 0 Bytes so reuploaded (so now 605 Bytes) and the site started working. On the other site it was trees.config that was 0 Bytes. Reuploaded (so now 6.4 KB) and the site started working.
This is scary. Glad there's an issue raised for it.
V7 sites started erroring after security update
Upgraded all my sites successfully the other day with the new clientdependency.dll. Couple of days later, the V7 ones are now sitting there with the following error:-
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212
I've rebuilt both sites and reuploaded their dlls but the error doesn't change. Just wondering if there's a dll that needs to be set to "copy local" on my hosting.
Any advice appreciated.
Craig
Hi Craig,
From my research the root element is mssing happens when the files in the /config folder is empty, so try go make sure that these files not are empty, And try to see this post https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/52627-Umbraco-7-%28Root-element-is-missing%29?p=1 and this issue on the issue tracker http://issues.umbraco.org/issue/U4-5126
Hope this helps,
/Dennis
Thanks Dennis, the config folders are populated. However, noted on one site that applications.config was 0 Bytes so reuploaded (so now 605 Bytes) and the site started working. On the other site it was trees.config that was 0 Bytes. Reuploaded (so now 6.4 KB) and the site started working.
This is scary. Glad there's an issue raised for it.
Thanks for pointing me in the right direction.
Craig
Hi Craig,
You are welcome. Happy that I could help you out.
/Dennis
is working on a reply...