当我在.net framework 4.0中使用Microsoft.Reporting.WebForms时出现E_HAndler异常 [英] E_HAndler exception when i use Microsoft.Reporting.WebForms in .net framework 4.0

查看:89
本文介绍了当我在.net framework 4.0中使用Microsoft.Reporting.WebForms时出现E_HAndler异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



当我使用Microsoft.Reporting.WebForms时如何解决以下异常;


$ b /应用程序中的$ b服务器错误。

------------------------------ --------------------------------------------------



句柄无效。 (来自HRESULT的异常:0x80070006(E_HANDLE))

描述:执行当前Web请求期间发生了未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。



异常详细信息:System.Runtime.InteropServices.COMException:句柄无效。 (HRESULT异常:0x80070006(E_HANDLE))



来源错误:



生成未处理的异常在执行当前Web请求期间。可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息。



Stack Trace:





[COMException(0x80070006):The句柄无效。 (来自HRESULT的异常:0x80070006(E_HANDLE))]



[HttpException(0x80004005):与远程主机通信时发生错误。错误代码是0x80070006。]

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

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

System.Web.Hosting.IIS7WorkerRequest.FlushCachedResponse(Boolean isFinal)+351 br / >
System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders)+431

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







----------------------- -------------------------------------------------- -------

版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0.30319.17929

Hi There,

How to resolve below exception when i use Microsoft.Reporting.WebForms;

Server Error in ''/'' 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) +2629371
System.Web.Hosting.IIS7WorkerRequest.FlushCore(Boolean keepConnected, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32[] bodyFragmentTypes) +9625626
System.Web.Hosting.IIS7WorkerRequest.FlushCachedResponse(Boolean isFinal) +351
System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders) +431
System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status) +116



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

推荐答案

检查下面的链接,看看它是否对您有所帮助:

无效句柄 [ ^ ]
Check the link below, see if it helps you:
Invalid Handle[^]


这篇关于当我在.net framework 4.0中使用Microsoft.Reporting.WebForms时出现E_HAndler异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆