Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5970939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:26:47+00:00 2026-05-22T20:26:47+00:00

System.Net.InternalException: System error. at System.Net.HttpWebRequest.CheckWriteSideResponseProcessing() at System.Net.ConnectStream.ProcessWriteCallDone(ConnectionReturnResult retur nResult) at System.Net.HttpWebRequest.WriteCallDone(ConnectStream stream, ConnectionRe turnResult

  • 0
System.Net.InternalException: System error.
   at System.Net.HttpWebRequest.CheckWriteSideResponseProcessing()
   at System.Net.ConnectStream.ProcessWriteCallDone(ConnectionReturnResult retur
nResult)
   at System.Net.HttpWebRequest.WriteCallDone(ConnectStream stream, ConnectionRe
turnResult returnResult)
   at System.Net.ConnectStream.CallDone(ConnectionReturnResult returnResult)
   at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean abort
ing)
   at System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeSta
te)
   at System.Net.ConnectStream.CloseInternal(Boolean internalCall)
   at System.Net.HttpWebRequest.EndWriteHeaders_Part2()
   at System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)
   at System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorSta
tus, ConnectStream stream, Boolean async)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr u
serToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32
 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

This was caught by the unhandled exception handler. It only occurs occasionally, but with disastrous results. Any ideas how to actually catch this one chaps?

UPDATE

It has now become apparent that this only appears to happen when the CPU is under exceptionally high load.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:26:48+00:00Added an answer on May 22, 2026 at 8:26 pm

    If this exception is thrown on an I/O completion thread basically without any intervention from you then I would be inclined to open a ticket with Microsoft Connect. Reasoning: You start an async I/O operation which throws an exception presumably due to a dropped connection all by it’s own on the thread pool – which you can’t catch. That means there is a the possibility that a dropped connection during an async operation takes down your application and you can’t do anything about it. Sounds like a bug in the framework to me.

    Temporary workaround could be to place a <legacyUnhandledExceptionPolicy enabled="1"/> in the <runtime> section of your app config. This will revert to the .NET 1.0/1.1 behaviour where exceptions thrown on another thread than the main thread will not take down the application. See also: http://msdn.microsoft.com/en-us/library/ms228965.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the System.Net.HttpWebRequest class to implement a simple HTTP downloader that can be
Is the .NET class System.Net.CookieContainer thread safe? -- Update: Turnkey answered-- Is there any
I can get both System.Net.Mail and System.Web.Mail to work with GMail, but I can't
Hi I'm using System.Net.Mail to send some HTML formatted emails. What is the correct
how to send rich text message in system.net.mail need code for send a mail
How can I send an email using SYstem.Net.Mail to an email address that is
I was looking at the System.Net Namespace and it has an IPAddress instance you
In .NET I have already tried the configuration below successfully: <system.net> <connectionManagement> <add address=*
I get security exception when using System.Net.WebClient to do HTTP requests, which is due
I'm using C#.Net and the Socket class from the System.Net.Sockets namespace. I'm using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.