Server Error in '/' Application.

The remote server returned an error: (500) Internal Server Error.

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.Net.WebException: The remote server returned an error: (500) Internal Server Error.

Source Error:


Line 31: 
Line 32:         XmlDocument xmlDocument = new XmlDocument();
Line 33:         xmlDocument.Load(xmlUrl);
Line 34: 
Line 35:         XsltArgumentList xsltParams = new XsltArgumentList();

Source File: d:\inetpub\wwwroot\VOLi\Cultura\DelBeneeDelBello\App_Code\viewPagina.cs    Line: 33

Stack Trace:


[WebException: The remote server returned an error: (500) Internal Server Error.]
   System.Net.HttpWebRequest.GetResponse() +1751
   System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +130
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +80
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +73
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +116
   System.Xml.XmlTextReaderImpl.OpenUrl() +416
   System.Xml.XmlTextReaderImpl.Read() +300
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +161
   System.Xml.XmlDocument.Load(XmlReader reader) +136
   System.Xml.XmlDocument.Load(String filename) +152
   viewPagina.visualizza() in d:\inetpub\wwwroot\VOLi\Cultura\DelBeneeDelBello\App_Code\viewPagina.cs:33
   pagina.Page_Load(Object sender, EventArgs e) in d:\inetpub\wwwroot\VOLi\Cultura\DelBeneeDelBello\default.aspx.cs:9
   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.4654.0