我们在HTTP请求得到一个确实少见的错误:这是什么错误? System.Net.InternalException在Net.HttpWebRequest.SetAndOrProcessResponse
System.Net.InternalException: System error.
at System.Net.HttpWebRequest.SetAndOrProcessResponse(Object responseOrException)
at System.Net.ConnectionReturnResult.SetResponses(ConnectionReturnResult returnResult)
at System.Net.Connection.ReadComplete(Int32 bytesRead, WebExceptionStatus errorStatus)
at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
at System.Net.Connection.ReadCallbackWrapper(IAsyncResult asyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
大约有什么原因你知道吗?或者我们应该忽略它?
我会为你回答这个问题,但我不希望我的代码被用于......邪恶。 – 2010-10-14 13:02:52
没什么大事,只是摧毁了世界:) – 2010-10-15 07:24:30
为你的应用程序获取system.net tracelog。请参阅http://ferozedaud.blogspot.com/2009/08/tracing-with-systemnet.html上的说明。实际的异常是什么?消息说的是什么? – feroze 2010-10-16 19:32:08