Home > An Unexpected > An Unexpected Error Occured On A Recive

An Unexpected Error Occured On A Recive

Contents

I also receive an error when i "Check the server availability" on the staging server when i check the target server status using https. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Oct 31, 2007 10:24 AM|TATWORTH|LINK The link to the article on MSDN is now http://msdn2.microsoft.com/en-us/library/Aa528822.aspx Click "Mark as Answer" on the post that helped you. All are .Net based applications. this content

In addition to the solution you mention, I also nested about 3 Try...Catch blocks to have the request "auto-retry". while hittting the page again and again . May 25, 2007 05:26 AM|phil.net|LINK the production server is win server 2003 with iis 6.0 (with BITS extensions installed)... Do you get any certificate warnings when you do the same action in the browser? https://support.microsoft.com/en-us/kb/915599

An Unexpected Error Occurred On A Receive Underlying Connection Was Closed

the client is a windows form (.Net 2.0).... This can be beneficial to other community members reading the thread. Do you have any idea what the exception is? 0 votesVote for this answer Mark as a Correct answer Brenden Kehren answered on October 20, 2015 14:59 The exception is a What is WSE and is this the solution to my dilemma?

class MyTestService:TestService.TestService { protected override WebRequest GetWebRequest(Uri uri) { HttpWebRequest webRequest = (HttpWebRequest) base.GetWebRequest(uri); //Setting KeepAlive to false webRequest.KeepAlive = false; return webRequest; } } Excerpt from KB915599: You receive one http://support.microsoft.com/kb/925083 Good luck, Sam Reply phil.net None 0 Points 7 Posts Re: The underlying connection was closed: An unexpected error occurred on a receive. protected override System.Net.WebRequest GetWebRequest(Uri uri) { PropertyInfo requestPropertyInfo = null; WebRequest request = base.GetWebRequest(uri); if (requestPropertyInfo==null) requestPropertyInfo = request.GetType().GetProperty("Request"); // Retrieve underlying web request HttpWebRequest webRequest = (HttpWebRequest)requestPropertyInfo.GetValue(request, null); // Setting An Unexpected Error Occurred On A Receive Ssrs Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode August 19th,03:34 PM #1 Re: The underlying connection

Disabling "Accept client certificates" allowed the page to load normally. An Unexpected Error Occurred On A Receive Ftp Girish - Wednesday, July 25, 2007 1:37:46 PM webRequest.ServicePoint.ProtocolVersion = System.Net.HttpVersion.Version10; should be webRequest.ProtocolVersion = System.Net.HttpVersion.Version10; Dido - Wednesday, August 15, 2007 9:47:30 PM I'm unclear why people have been able Reply phil.net None 0 Points 7 Posts Re: The underlying connection was closed: An unexpected error occurred on a receive. http://stackoverflow.com/questions/21728773/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-receiv Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page...

Server 2003? The Underlying Connection Was Closed An Unexpected Error Occurred On A Receive Wcf roby77 - Tuesday, January 16, 2007 1:13:46 PM THE REAL ASP.NET 2.0 SOLUTION: I fought this for a while and finally got the right code to fix this problem in ASP.Net I had to convert it to VB.NET cause I don't know C-Shizarp. Analyze the server logs to see if this may be the issue.

An Unexpected Error Occurred On A Receive Ftp

You are a God! Both sites are on this server so it's not a network issue. An Unexpected Error Occurred On A Receive Underlying Connection Was Closed Fadi Alsheikh - Wednesday, July 14, 2004 11:21:00 AM Well, 2 years later, and a big thank you for posting this, as it lead to the solution for figuring out why An Unexpected Error Occurred While Configuring The Network Bridge what this browser did while uninstalling is it cleared all the proxy settings of IE. (i.e.

where i will req an url using httpwebrequest and will get the response back and update my db .... http://lanprolab.net/an-unexpected/an-unexpected-mapi-error-occured.php Are you working behind a load balancer or in a web farm? 0 votesVote for this answer Mark as a Correct answer Please, sign in to be able to submit a Home Bookstore/E-Books P2P Programmer Forums Wrox Blogs Connect with Wrox Code Resources International IT Certifications Navigation Register Now View Active Topics View Archives View Unanswered Topics Wrox Programmer Forums HTTP 404 - The resource cannot be found. » Similar Threads

Am I doing anything wrong? But when I ... For me changing only .KeepAlive to false didn't help at all. have a peek at these guys However when I changed also .ProtocolVersion to HTTP10 the problem was gone.

I used TcpTrace to verify this. The Underlying Connection Was Closed An Unexpected Error Occurred On A Receive C# The problem can also occur if the server resets the connection unexpectedly, such as if an unhandled exception crashes the server process. This is the one that I think could be the culprit.

There is also a web.config key (CMSAcceptAllCertificates) that will accept all certificate errors. 0 votesVote for this answer Mark as a Correct answer Tim Wayne answered on October 20, 2015 00:28

Thanks!!! I have no idea, where it could be the problem. Everything is working except Content Staging. The Underlying Connection Was Closed An Unexpected Error Occurred On A Receive Web Service WebForm?) Reply phil.net None 0 Points 7 Posts Re: The underlying connection was closed: An unexpected error occurred on a receive.

Thanks again. May be not exactly related to this post. To increase the connection time-out setting, follow these steps: 1. check my blog May 30, 2007 04:25 AM|Young Fang - MSFT|LINK Hi, How about using the Message Transmission Optimization Mechanism (MTOM) specification for transmitting large amounts of data to and from Web services.

Am I doing something wrong saeed - Thursday, May 6, 2004 6:29:00 PM I did not use the method above exactly as indicated, I stripped the class inheritance and added the Privacy Statement| Terms of Use| Contact Us| Advertise With Us| CMS by Umbraco| Hosted on Microsoft Azure Feedback on ASP.NET| File Bugs| Support Lifecycle

Toggle navigation Jan Tielens' Bloggings Home