Server Error in '/' Application.

The remote name could not be resolved: 'geoip1.maxmind.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: 'geoip1.maxmind.com'

Source Error:


Line 51: 
Line 52:                 Dim req As WebRequest = HttpWebRequest.Create("http://geoip1.maxmind.com/b" & "?l=" & "pdIyiM7sBwZk" & "&i=" & ipaddress)
Line 53:                 Dim res As WebResponse = req.GetResponse()
Line 54:                 Dim sr As New StreamReader(res.GetResponseStream())
Line 55:                 Dim sendrequest As String = sr.ReadToEnd()

Source File: D:\InetPub\vhosts\rehabedge.com\httpdocs\AddClick_Products.aspx.vb    Line: 53

Stack Trace:


[WebException: The remote name could not be resolved: 'geoip1.maxmind.com']
   System.Net.HttpWebRequest.GetResponse() +5430109
   AddClick_Products.Page_Load(Object sender, EventArgs e) in D:\InetPub\vhosts\rehabedge.com\httpdocs\AddClick_Products.aspx.vb:53
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975