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:


Line 211:            'READ CALL THE HTML READER OBJECT AND READ THE FILE CONTENT
Line 212:            'THEN PARS OUT THE ITEMS THAT WE NEED TO SEND TO THE EMS SERVICE font-size
Line 213:            PageHTML.GetHTML(PageReq, Request.UserAgent)
Line 214:            PageBody = PageHTML.rHTML
Line 215:            ANNumber = PageHTML.rProductCode

Source File: D:\IndiaInternationalTax\EMS_Base\EMS_Agent.aspx    Line: 213

Stack Trace:


[XmlException: Root element is missing.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +89
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +6495298
   util_ReadHTML.GetEMSParams(String input) +142
   ASP.ems_base_ems_agent_aspx.Page_Load(Object sender, EventArgs e) in D:\IndiaInternationalTax\EMS_Base\EMS_Agent.aspx:213
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0