cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports 2008 Retrieving the COM class factory

Former Member
0 Kudos

We have a Windows 2003 server that is currently running Crystal Reports 11.5 and we are trying to upgrade the server to Crystal Reports 2008.

I have run into multiple issues with setting this up. I tried installing the CRRedist*.msi on the server. When I pull up a report using the CrystalReportViewer in ASP.NET 2.0, I am receiving the following error.

Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.

After receiving this error, I uninstalled the CRRedist and then installed a full version of CR2008 on the server. I am getting the same error message with this method. Here is the full error message.

-


Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.

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: Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.

Source Error:

Line 15: AutoDataBind="True" GroupTreeImagesFolderUrl=""

Line 16: ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl="" />

Line 17: <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">

Line 18: <Report FileName="~\SPS06\GCTApplication2008.rpt">

Line 19: <Parameters>

Source File: C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx Line: 17

Stack Trace:

[COMException (0x80000003): Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.]

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc() +33

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor() +31

CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize() +367

CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +184

CrystalDecisions.ReportSource.CachedReport.get_ReportDocument() +36

CrystalDecisions.Web.CrystalReportSource.set_Report(Report value) +255

ASP.sps06_appviewer_aspx.__BuildControlCrystalReportSource1() in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx:17

ASP.sps06_appviewer_aspx.__BuildControlform1() in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx:12

ASP.sps06_appviewer_aspx.__BuildControlTree(sps06_appviewer_aspx __ctrl) in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx:1

ASP.sps06_appviewer_aspx.FrameworkInitialize() in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx.vb:912307

System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40

System.Web.UI.Page.ProcessRequest() +86

System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18

System.Web.UI.Page.ProcessRequest(HttpContext context) +49

ASP.sps06_appviewer_aspx.ProcessRequest(HttpContext context) +29

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos
Former Member
0 Kudos

The first three links with links to the download don't work. I get error messages to them.

"Error Message - ObjectID not existant

What happened?

ObjectID not found in R/3"

When I installed those previously, they resulted in the same error. I can try again once I get proper links to them.

Edited by: Alex Baker on Sep 16, 2008 7:46 PM

Former Member
0 Kudos

Hi Alex,

Try with this link to download runtimes :

[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]

Select product,version,Software Type (optional)

Hope that helps!!

Regards,

Shweta

Former Member
0 Kudos

I uninstalled the full edition of Crystal 2008, and reinstalled using the CRRuntime_12_0.mlb.exe.

I got essentially the same error.

Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.

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: Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.

Source Error:

Line 15: AutoDataBind="True" GroupTreeImagesFolderUrl=""

Line 16: ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl="" />

Line 17: <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">

Line 18: <Report FileName="~\SPS06\GCTApplication2008.rpt">

Line 19: <Parameters>

Source File: C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx Line: 17

Stack Trace:

[COMException (0x80000003): Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.]

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc() +33

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor() +31

CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize() +367

CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +184

CrystalDecisions.ReportSource.CachedReport.get_ReportDocument() +36

CrystalDecisions.Web.CrystalReportSource.set_Report(Report value) +255

ASP.sps06_appviewer_aspx.__BuildControlCrystalReportSource1() in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx:17

ASP.sps06_appviewer_aspx.__BuildControlform1() in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx:12

ASP.sps06_appviewer_aspx.__BuildControlTree(sps06_appviewer_aspx __ctrl) in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx:1

ASP.sps06_appviewer_aspx.FrameworkInitialize() in C:\Inetpub\wwwroot\sisbeta\sps06\appViewer.aspx.vb:912307

System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40

System.Web.UI.Page.ProcessRequest() +86

System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18

System.Web.UI.Page.ProcessRequest(HttpContext context) +49

ASP.sps06_appviewer_aspx.ProcessRequest(HttpContext context) +29

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

If this helps anyone, this is an x64 server, but we run IIS everything in x86. Crystal seems to install in the Program Files (x86), so it doesn't appear to be installing the 64 bit version of CR.

Edited by: Alex Baker on Sep 16, 2008 8:08 PM

Former Member
0 Kudos

Hi Alex,

The error message you are getting :

"Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003. "

Occurs due to :

-Incorrect Runtimes.

-Web.config in IIS :Check that their may be 2 web.config file (should not be their)

Hope that helps!!

Regards,

Shweta

0 Kudos

You noted:

If this helps anyone, this is an x64 server, but we run IIS everything in x86. Crystal seems to install in the Program Files (x86), so it doesn't appear to be installing the 64 bit version of CR.

Crystal Reports does not support 64 bit OS, it must run in 32 bit mode. The components included with Visual Studio do have a 64 bit version but it's basic only. Installing the 32 bit version of the runtime is all you should need.

This is likely a permission issue. Make sure DEP is set to Essential Services only. You may have to re-install if it was the first time. And all DB Client and dependencies are using 32 versions.

You also need to compile in 32 bit mode only, if your requires compiling.

Former Member
0 Kudos

Hello,

I am new at this and really hoping you can help me. I have been struggling through this for a week. I have the same error message. I run CR2008 on VS2008, and it works perfectly, when I put it on the company portal (the .rpt on an .aspx ) it dies. PLEASE HELP,

Info, Portal is 2003 Windows Server, ASP.NET 2.0xxxx, Runtime module installed on server is CRRuntime_120_mlb.msi. Here is the debug,

NOTE: One issue says permission issue but we dis a filemon and nothing failed.

Thanks much,

Jerry

Server Error in '/' Application.

-


Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} 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.

Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} 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 \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 14:

Line 15: </div>

Line 16: <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">

Line 17: <Report FileName="CNIC_SITREP.rpt">

Line 18: </Report>

Source File: C:\Inetpub\vhosts\DISPSERVICES.COM\httpdocs\Default.aspx Line: 16

Stack Trace:

[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} failed due to the following error: 80070005.]

CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +136

[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]

CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0

CrystalDecisions.ReportSource.CachedReport.get_ReportDocument() +36

CrystalDecisions.Web.CrystalReportSource.set_Report(Report value) +255

ASP.default_aspx.__BuildControlCrystalReportSource1() in C:\Inetpub\vhosts\DISPSERVICES.COM\httpdocs\Default.aspx:16

ASP.default_aspx.__BuildControlform1() in C:\Inetpub\vhosts\DISPSERVICES.COM\httpdocs\Default.aspx:12

ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in C:\Inetpub\vhosts\DISPSERVICES.COM\httpdocs\Default.aspx:1

ASP.default_aspx.FrameworkInitialize() in C:\Inetpub\vhosts\DISPSERVICES.COM\httpdocs\Default.aspx.vb:912307

System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +38

System.Web.UI.Page.ProcessRequest() +86

System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18

System.Web.UI.Page.ProcessRequest(HttpContext context) +49

ASP.default_aspx.ProcessRequest(HttpContext context) +29

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

-


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Answers (1)

Answers (1)

Former Member
0 Kudos

We are Develop the Application on ASP.NET 2.0, MSSQL Server 2005 and Crystal Report 2008. We have own Web Server(VPS Server) and Install the Crystal Report 2008 Try Version for just application testing purpose. If We click the Report then Show the Following Error mesage : ___________________________________________________ Server Error in '/' Application. -


Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} 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. Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} 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 \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 , 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: 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: [UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} failed due to the following error: 80070005.] CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +171 [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.] CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0 ReportTest.Page_Load(Object sender, EventArgs e) +177 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +13 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +45 System.Web.UI.Control.OnLoad(EventArgs e) +98 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4308 -


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42