Errore server nell'applicazione '/'.

Errore del server remoto: (404) Non trovato.

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere la traccia dello stack.

Dettagli eccezione: System.Net.WebException: Errore del server remoto: (404) Non trovato.

Errore nel codice sorgente:


Riga 84: <h1>Mappa del Sito</h1>
Riga 85: <p><%'Dim xDoc As XDocument = XDocument.Load("http://www." & portalenome & "/sitemap.xml")
Riga 86: Dim xDoc As XDocument = XDocument.Load("http://prova15.piramedia.net/sitemap.xml")
Riga 87: Dim ns As XNamespace = "http://www.sitemaps.org/schemas/sitemap/0.9"
Riga 88: Dim sitemapUrls = (From l In xDoc.Descendants(ns + "url") select l.Element(ns + "loc").Value)

File di origine: e:\hosts\portali\terradeglietruschi.it\sitemap.aspx    Riga: 86

Traccia dello stack:


[WebException: Errore del server remoto: (404) Non trovato.]
   System.Net.HttpWebRequest.GetResponse() +1399
   System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +83
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +99
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +69
   System.Xml.XmlTextReaderImpl.FinishInitUriString() +75
   System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver) +186
   System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext) +66
   System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext) +45
   System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) +45
   System.Xml.Linq.XDocument.Load(String uri) +11
   ASP.sitemap_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\hosts\portali\terradeglietruschi.it\sitemap.aspx:86
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


Informazioni di versione: Versione di Microsoft .NET Framework:4.0.30319; Versione di ASP.NET:4.7.4076.0