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

20,209

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

Share:
20,209
Hiyasat
Author by

Hiyasat

    

Updated on March 30, 2020

Comments

  • Hiyasat
    Hiyasat about 4 years

    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.