2012-06-12 4 views
0

Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 .
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.가 다음 오류 때문에 실패했습니다 : 80070005

Exception Details: System.UnauthorizedAccessException : Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 .

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/> , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

Line 23: public partial class Report_Agent_Commission : System.Web.UI.Page 
Line 24: { 
Line 25:  ReportDocument obj = new ReportDocument(); 
Line 26:  CrystalClass CCobj = new CrystalClass(); 
Line 27:  static string repFile = string.Empty; 

Source File:
d:\inetpub\vhosts\impactwebclients.com\httpdocs\Report_Agent_Commission.aspx.cs

Line: 25

Stack Trace:

[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005.] CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +207 [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.] CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0 PBS.GUI.Report_Agent_Commission..ctor() in d:\inetpub\vhosts\impactwebclients.com\httpdocs\Report_Agent_Commission.aspx.cs:25 ASP.report_agent_commission_aspx..ctor() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\9b53e041\44708862\App_Web_report_agent_commission.aspx


내가/설명이 잘 작동 특정 웹 페이지에서 크리스탈 보고서 내용을 삭제하면, 크리스탈 리포트 2008 버전 10.5.3700.0을 사용하면 내가 얻고이 문제. 나는 현재 웹 페이지가 표시되고 오류가 크리스탈의 ReportViewer를 배치 할 때

당신은 내가에 답변을 내 자신 .. 배치하십시오 사용자 지정 오류 모드를 발견

+0

질문 3 단락에서 제안한 것을 시도 했습니까? – GSerg

답변

0

여기에서 저를 도와 주실 수 webconfig 및 체크인 오류 상태 번호, 99 % 오류 번호 : 500 - 내부 서버 오류가 발생했습니다. 서버 컴퓨터에 문제가 있습니다. 문제는 크리스탈 보고서 런타임을 instal해야 할 수도 있고 다른 문제 일 수 있습니다. so 귀하의 코딩 부분에 있지 않으므로 500 오류를 확인한 후 불만을 제기하십시오.

덕분에 모든 사람에게 유용합니다 .. 그것은 위대 할 것입니다

관련 문제