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

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....