Error The Remote Name Could Not Be Resolved
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn
The Remote Name Could Not Be Resolved Web Service
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags the remote name could not be resolved smtp Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you,
The Remote Name Could Not Be Resolved Ssrs
helping each other. Join them; it only takes a minute: Sign up System.Net.WebException: The remote name could not be resolved: up vote 12 down vote favorite 3 I am testing an endpoint that i am experience some the remote name could not be resolved 'https' issues with. I am simply using HttpClient in a loop that each hour do a request. var httpClient = new HttpClient(); var message = httpClient.GetAsync(url).Result; Console.WriteLine(message.StatusCode); Once a while I am getting this exception. System.Net.Http.HttpRequestException: An error occurre d while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'xxx' The experience is that right after the exception the url can be accessed. In a browser its simply to refresh the page and the remote name could not be resolved db driver navigator com all is good. I still havent got any reports from users experience it so I am wondering if its just a local issue here but could use a little information to help diagnose. Is there a way to check if The remote name could not be resolved is caused by an DNS issue or by a WebServer Issue from the exceptions. Can i get more information out of HttpCLient or do i need more advanced diagnostic tools c# .net system.net.webexception share|improve this question edited Apr 9 '15 at 7:06 Adriano Repetti 38.6k1066117 asked Jul 29 '14 at 11:23 Poul K. Sørensen 5,870554138 If you want to you could share the actual URL here and we could have a look if it fails for everyone this way, but it seems to be a local fail of some service. –Kimmax Jul 29 '14 at 11:35 Have you tired to switch your DNS Server in the connection properties? (For example Google DNS on 8.8.8.8) –Kimmax Jul 29 '14 at 11:36 nope. havent tried anything. It feels like its when the site has been idle for some time, then the first request wakes it up. seems odd –Poul K. Sørensen Jul 29 '14 at 11:45 [Fiddler] DNS Lookup for "url" failed. System.Net.Sockets.SocketException This is usually a temporary error during hostname resolution a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more
The Remote Name Could Not Be Resolved C#
about Stack Overflow the company Business Learn more about hiring developers or posting the remote name could not be resolved 'localhost' ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack
The Remote Name Could Not Be Resolved Proxy
Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up The remote name could not be resolved - webclient up vote http://stackoverflow.com/questions/25014110/system-net-webexception-the-remote-name-could-not-be-resolved 6 down vote favorite I am facing this error : The remote name could not be resolved: 'russgates85-001-site1.smarterasp.net' When I request html contents to read using web client it gives me error. Below is my code. string strHTML = string.Empty; WebClient myClient = new WebClient(); UTF8Encoding utf8 = new UTF8Encoding(); byte[] requestHTML; string pdfFileName = "outputpdf_" + DateTime.Now.Ticks + ".pdf"; string webUrl = Request.Url.Scheme + "://" + Request.Url.Host + http://stackoverflow.com/questions/16626348/the-remote-name-could-not-be-resolved-webclient (Request.Url.Port != 80 ? ":" + Request.Url.Port : ""); requestHTML = myClient.DownloadData("http://russgates85-001-site1.smarterasp.net/adminsec/images/printinvoice.aspx?iid=2"); // OR requestHTML = myClient.DownloadData(webUrl + "?iid=3"); When I put the same URL on my local code/environment it works fine. c# asp.net webclient share|improve this question edited May 18 '13 at 16:58 Mehran 1,2061926 asked May 18 '13 at 16:10 k-s 98242449 Is your Webserver where you run your ASP.NET code also your local dev machine or some other box? –Yuriy Galanter May 18 '13 at 21:22 add a comment| 3 Answers 3 active oldest votes up vote 6 down vote accepted Most likely the other location you run the code on indeed does not have access to that remote location. I.e. in many corporate environment servers aren't allowed outside Internet access. You may want to try to ping/traceroute russgates85-001-site1.smarterasp.net from that other server and if there's no access - configure router/firewall (open port etc.) or use proxy share|improve this answer answered May 19 '13 at 1:35 Yuriy Galanter 27k73080 Ok, But website already hosted on above URL where all pages works. Only fetching content using above url is not working using web client. –k-s May 19 '13 at 4:26 That's different. Clients workstation is accessing
be resolved” Issue How to Fix “The remote name could not be resolved” Issue You are required to have access to internet if you want to run Driver Easy. If not, https://www.drivereasy.com/knowledge/how-to-fix-the-remote-name-could-not-be-resolved-issue/ you will meet issue "The remote name could not be resolved". When you meet this issue, please open browser like Chrome to check if you can surf normally. If you can be connected to internet and meet this problem, please do not hesitate to contact us at support@drivereasy.com. Please follow instructions below to do ping test then send the ping result to us.1. Press Win+R (Windows key and R key) the remote combination to open the Run dialog box.2. Type cmd in the run box. Click OK button.3. Type ping app1.drivereasy.com and press Enter button. Type ping app.drivereasy.com and press Enter button.Take a screen shot like this for us: Last Updated: 4 months ago inSoftware Knowledge 2 karen says: July 25, 2016 at pm8:49 hello..I can not be connected to the internrt because i don't have a driver for connexion.what can I do? Reply nam says: July the remote name 31, 2016 at am8:15 yeap me too.What can i do :((( Reply camilla mo says: August 1, 2016 at am9:44 Hi nam, If you haven't network driver installed in your computer, you can consider using Driver Easy to download the network driver. The Offline Scan function of Driver Easy can help you download driver easily without internet connection. You can refer to this link to learn how to use this feature:https://www.drivereasy.com/help-v5/tools/7-2-offline-scan/. If you have any questions while using Driver Easy, please feel free to contact us at support@drivereasy.com. Thanks. Camilla Reply Leave your comment Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Search Latest Knowledge Base How to rip or transfer DVDs to Windows 10 PC or Mac How to Fix Unknown USB Device (Port Reset Failed) Issue for Windows 10 Solved Lenovo Camera Not Working in Windows 10/8 Hook up or connect laptop to TV, the easy way! Download Intel USB 3.0 Drivers for Windows 10 Elantech Touchpad Driver Issues Solved in Windows 10 Taking a Screenshot in Windows 10 Download Lenovo Graphics Driver for Windows 10 [Solved] Computer Hangs on Windows 10 [Solved] Unknown USB D