Server Error in '/ineco' Application.

The remote name could not be resolved: 'weather.yahooapis.com'

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 name could not be resolved: 'weather.yahooapis.com'

Source Error:


Line 22:                 'Item not in cache, get it manually    
Line 23:                 Dim ds2 As New DataSet
Line 24:                 ds2.ReadXml(xmlfeed)
Line 25:                 Cache.Insert("WeatherRSS2" & ModuleId.ToString, ds2, Nothing, DateTime.Now.AddMinutes(120), TimeSpan.Zero)
Line 26:                 'End If

Source File: C:\inetpub\sites\ineco\Modules\Weather\Weather.ascx.vb    Line: 24

Stack Trace:


[WebException: The remote name could not be resolved: 'weather.yahooapis.com']
   System.Net.HttpWebRequest.GetResponse() +6554768
   System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +101
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +5674457
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +69
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +54
   System.Threading.CompressedStack.runTryCode(Object userData) +70
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +92
   System.Xml.XmlTextReaderImpl.OpenUrl() +132
   System.Xml.XmlTextReaderImpl.Read() +308
   System.Xml.XmlTextReader.Read() +13
   System.Xml.XmlReader.MoveToContent() +70
   System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +256
   System.Data.DataSet.ReadXml(String fileName) +73
   NTUA.Portal.Weather.Page_Load(Object sender, EventArgs e) in C:\inetpub\sites\ineco\Modules\Weather\Weather.ascx.vb:24
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


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