About 14,700,000 results
Open links in new tab
  1. c# - How do I resolve 'System.Net.WebException: The remote server ...

    Aug 8, 2025 · <system.web> <customErrors mode="Off" /> //Other items goes here </system.web> The possible reasons i can think of are You have an incorrect connection string. Some have the code is …

  2. HttpWebRequest.GetResponse () keeps getting timed out

    HttpWebRequest.GetResponse () keeps getting timed out Asked 12 years, 7 months ago Modified 5 years ago Viewed 102k times

  3. .Net HttpWebRequest.GetResponse() raises exception when http status ...

    .Net HttpWebRequest.GetResponse () raises exception when http status code 400 (bad request) is returned Asked 16 years, 9 months ago Modified 2 years, 5 months ago Viewed 192k times

  4. c# - How to get error information when HttpWebRequest.GetResponse ...

    I am initiating an HttpWebRequest and then retrieving it's response. Occasionally, I get a 500 (or at least 5##) error, but no description. I have control over both endpoints and would like the

  5. Error Handling in System.Net.HttpWebRequest::GetResponse ()

    Mar 3, 2012 · I have a Powershell script that uses System.Net.HttpWebRequest to communicate with a remote host. I create the request, set properties accordingly and call getresponse() and …

  6. c# - System.Net.ProtocolViolationException: You must write ...

    Jul 8, 2015 · System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse Asked 10 years, 6 months ago Modified 9 years ago …

  7. In Python, what does getresponse() return? - Stack Overflow

    Nov 17, 2009 · In Python, what does getresponse () return? Asked 16 years, 1 month ago Modified 16 years, 1 month ago Viewed 15k times

  8. HttpWebRequest.GetResponse throws WebException on HTTP 304

    May 28, 2017 · When a web server responds to HttpWebRequest.GetResponse () with HTTP 304 (Not Modified), GetResponse () thows a WebException, which is so very weird to me. Is this by design or …

  9. Handling Errors from HttpWebRequest.GetResponse - Stack Overflow

    Sep 30, 2010 · Handling Errors from HttpWebRequest.GetResponse Asked 16 years, 5 months ago Modified 15 years, 3 months ago Viewed 34k times

  10. C# - Get Response from WebRequest and handle status codes

    HttpWebRequest requestChangelog = (HttpWebRequest)HttpWebRequest.Create(url); requestChangelog.Method = "GET"; HttpWebResponse changelogResponse = …