Jump to content

Recommended Posts

Posted

Hi Nick

I have updated to the 7.6 version this morning and once again we have a broken file download. It is a different exception to the last time - maybe because the dll you gave me last time fixed that?

 

Anyway, below is the exception.

 

Server Error in '/HAP' Application.

 

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

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.Runtime.InteropServices.COMException: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

 

[COMException (0x80070006): The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))]

 

[HttpException (0x80004005): An error occurred while communicating with the remote host. The error code is 0x80070006.]

System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) +4097548

System.Web.Hosting.IIS7WorkerRequest.FlushCore(Boolean keepConnected, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32[] bodyFragmentTypes) +138

System.Web.Hosting.IIS7WorkerRequest.FlushCachedResponse(Boolean isFinal) +816

System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders) +1158

System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status) +320

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237

Posted

That error isn't saying that there's a problem with HAP+, since there is no stack traces to HAP.*, just System.

 

Nothing in the HAP.Web dll has changed for a few days, since I put the new download handler routines in last week.

Posted
We were seeing this error too - Fresh install of 2008r2 this morning with a new copy of .net 4 full profile. When i fully patched the server and .net with all the windows update in the hope of fixing it I could no longer log in.
Posted

How bizarre, as the only thing I changed on HAP.AD was the contained impersonation stuff (only called by the apis, not the pages).

 

I'm baffled by this, it shouldn't be happening :Cry:

Posted
Found the bug, I've added some #if DEBUG statements in, and when I switched to release mode, it stopped using a bit of code that I'd miss placed.
  • Thanks 2
Posted
Found the bug, I've added some #if DEBUG statements in, and when I switched to release mode, it stopped using a bit of code that I'd miss placed.

 

The joys of software debugging lol ;)

Guest
This topic is now closed to further replies.



×
×
  • Create New...