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.Throw(Exception e) +76
   System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +61
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +3993244
   System.Xml.XmlTextReaderImpl.Read() +151
   System.Xml.XmlTextReader.Read() +15
   System.Xml.XmlReader.MoveToContent() +64
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderZNodeManufacturer.Read4_ZNodeManufacturer() +19

[InvalidOperationException: There is an error in XML document (0, 0).]
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) +613
   System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader) +30
   ZNode.Libraries.Framework.Business.ZNodeSerializer.GetContentFromString(String Xml, Type objectType) in C:\ZNodeStorefrontVS2010\Libraries\ZNode.Libraries.Framework.Business\ZNodeSerializer.cs:25
   ZNode.Libraries.ECommerce.Business.ZNodeManufacturer.Create(Int32 ManufacturerID, Int32 PortalID) in C:\ZNodeStorefrontVS2010\Libraries\ZNode.Libraries.ECommerce.Business\ZNodeManufacturer.cs:131
   BrandPageBase.Page_PreInit(Object sender, EventArgs e) +170
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreInit(EventArgs e) +8804246
   System.Web.UI.Page.PerformPreInit() +31
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974