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 60: 		DataSet dsPronostico = new DataSet();
Line 61: 		System.IO.StringReader sr = new System.IO.StringReader(Doc.OuterXml);
Line 62: 		dsPronostico.ReadXml(sr);
Line 63: 		DataTable tabla = dsPronostico.Tables[0].ChildRelations[0].ChildTable.ChildRelations[0].ChildTable;
Line 64: 		DateTime now = DateTime.Today;

Source File: c:\Sitios web\pronosticoextendido.net\pronosticos\por-hora\default.aspx.cs    Line: 62

Stack Trace:


[XmlException: Root element is missing.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +95
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +5108853
   System.Xml.XmlReader.MoveToContent() +22
   System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +358
   _default.Page_Load(Object sender, EventArgs e) in c:\Sitios web\pronosticoextendido.net\pronosticos\por-hora\default.aspx.cs:62
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8784; ASP.NET Version:2.0.50727.8762