What is error code is 0x80070001? And how can I solve it?

31

I'm getting this error on my web service:

An error occurred while communicating with the remote host. The error code is 0x80070001

The weird thing is that the CPU and memory usage on the server is not high.

The detailed error message:

Error Message:

An error occurred while communicating with the remote host. The error code is 0x80070001.

Stack Trace:

at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)<br />
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size)<br />
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityBody(Byte[] buffer, Int32 size) <br />
at System.Web.HttpRequest.GetEntireRawContent()<br />
at System.Web.HttpRequest.get_InputStream()<br />
at Service.Upload() in c:\inetpub\path\Service.aspx.cs:line 213

After Google Search:

Thread on Microsoft Forums and I disable the offloading of network card and nothing change :(

Question on Stack OverFlow No answers :(

How can I fix this problem?

More information

Inner Exception Message: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

Very Important

This is only happened with a web application, but if I used a web site, nothing happened (no error).

And after a lot of research I think this error is caused by the web.config file.

asp.net
web-services
iis
asked on Stack Overflow Aug 25, 2012 by Hiyasat • edited Jun 20, 2020 by Community

3 Answers

1

I receive this error on my site also. I've determined the agent that generally causes this problem and it is a webcrawler like the one used by Google to index pages.

Anyway, I believe the answer is either Cause 1 or Cause 2:

Cause 1

This problem occurs because the client makes an HTTP request by using an HTTP method that does not comply with the HTTP specifications.

Cause 2

This problem occurs because a client makes an HTTP request by sending the POST method to a page that is configured to be handled by the StaticFile handler. For example, a client sends the POST method to a static HTML page. However, pages that are configured for the StaticFile handler do not support the POST method.

Check out the microsoft link for more explanation and possible resolution: http://support.microsoft.com/kb/942051

answered on Stack Overflow Nov 10, 2014 by raddevus
0

Close any object which is not in use (close when you are done using an object and initialize everything to null until you NEED to use it.)

-1

This is because of an internal memory leakage in your code. As a result, it is not able to create a new object in memory.

answered on Stack Overflow Sep 10, 2012 by Pushpendra • edited Sep 17, 2012 by nbrooks

User contributions licensed under CC BY-SA 3.0