asp.net – System.Runtime.InteropServices.COMException功能不正确. (HRESULT异常:0x80070001)

前端之家收集整理的这篇文章主要介绍了asp.net – System.Runtime.InteropServices.COMException功能不正确. (HRESULT异常:0x80070001)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在ASP.net中有一个Asynchronus IHttpHandler,我在ELMAH捕获中看到了这个异常错误.

Windows Server 2008 R2 Web Edition
IIS 7.5
ASP.NET
.NET 4.0运行时
站点上运行HTTP.

谁能对这一个有所了解?谷歌列出了2008年左右的一些结果,关于.NET 2.0中关于在请求体的Read()函数期间断开HTTP的错误.

堆栈跟踪

System.Web.HttpException (0x80004005): An error occurred while communicating with the remote host. The error code is 0x80070001. ---> System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001)

Server stack trace: 
    at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result,Boolean throwOnDisconnect)
    at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer,Int32 offset,Int32 size)
    at System.Web.HttpRequest.GetEntireRawContent()
    at System.Web.HttpRequest.get_InputStream()
    at MyHandler.ProcessRequest(HttpContext context)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md,Object[] args,Object server,Int32 methodPtr,Boolean fExecuteInContext,Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md,Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg,IMessageSink replySink)

解决方法

这是IIS7的基础非托管层(webengine.dll)报告的错误.在一些谷歌搜索后,最相关的线程似乎表明这是由于网卡驱动程序配置( TCP Offloading)的错误.

见:An error occurred while communicating with the remote host. The error code is 0x80TCP Offloading1

猜你在找的asp.Net相关文章