Server Error in '/' Application.

The remote server returned an error: (403) Forbidden.

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: (403) Forbidden.

Source Error:


Line 393:
Line 394:        Dim document As XmlDocument = New XmlDocument()
Line 395:        document.Load(strURL)
Line 396:        Dim titles As XmlNodeList = document.GetElementsByTagName("title")
Line 397:        Dim links As XmlNodeList = document.GetElementsByTagName("link")

Source File: \\9e4dbab617.storage-1b.hosting.stackcp.net\sites\1b\9\9e4dbab617\public_html\ANY.master.vb    Line: 395

Stack Trace:


[WebException: The remote server returned an error: (403) Forbidden.]
   System.Net.HttpWebRequest.GetResponse() +1463
   System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +102
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +5383966
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +73
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +56
   System.Threading.CompressedStack.runTryCode(Object userData) +73
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +96
   System.Xml.XmlTextReaderImpl.OpenUrl() +139
   System.Xml.XmlTextReaderImpl.Read() +216
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +115
   System.Xml.XmlDocument.Load(XmlReader reader) +109
   System.Xml.XmlDocument.Load(String filename) +128
   any_master.GetRSSFeed(String strURL) in \\9e4dbab617.storage-1b.hosting.stackcp.net\sites\1b\9\9e4dbab617\public_html\ANY.master.vb:395
   any_master.nexag_master_Load(Object sender, EventArgs e) in \\9e4dbab617.storage-1b.hosting.stackcp.net\sites\1b\9\9e4dbab617\public_html\ANY.master.vb:337
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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