weerplazaradar--------------------------------------------------------------------------------
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 261: XNamespace mediaAtom = "http://search.yahoo.com/mrss/";
Line 262:
Line 263: xmlNodes = from c in XElement.Load(
Line 264: HttpContext.Current.Server.MapPath( ConfigurationManager.AppSettings["YouTubeXmlPath"] )
Line 265: ).Descendants(nsAtom + "entry")
Source File: c:wwwweerplaza.nlregenradardefault.aspx.cs Line: 263
Stack Trace:
[XmlException: Root element is missing.]
System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +198
System.Xml.XmlTextReaderImpl.ParseDocumentContent() +5186924
System.Xml.XmlReader.MoveToContent() +26
System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options) +37
System.Xml.Linq.XElement.Load(String uri, LoadOptions options) +143
regenradar_default.Page_Load(Object sender, EventArgs e) in c:wwwweerplaza.nlregenradardefault.aspx.cs:263
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
Quote selectie