Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
MSIL
Creating an instance of the COM component with CLSID {98385103-11A3-4AB9-A629-91B275085F43} from the IClassFactory failed due to the following error: 80040154.
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: Creating an instance of the COM component with CLSID {98385103-11A3-4AB9-A629-91B275085F43} from the IClassFactory failed due to the following error: 80040154.

Source Error:


Line 32:  </p>
Line 33: <p>
Line 34: <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
Line 35: <Report FileName="FrmStoreRent.rpt">
Line 36: </Report>


Source File: C:\inetpub\wwwroot\FrmCntrExpImpDtl.aspx Line: 34

Stack Trace:


[COMException (0x80040154): Creating an instance of the COM component with CLSID {98385103-11A3-4AB9-A629-91B275085F43} from the IClassFactory failed due to the following error: 80040154.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc() +32
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor() +31
CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize() +327
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +224
CrystalDecisions.ReportSource.CachedReport.get_ReportDocument() +39
CrystalDecisions.Web.CrystalReportSource.set_Report(Report value) +219
ASP.frmcntrexpimpdtl_aspx.__BuildControlCrystalReportSource1() in C:\inetpub\wwwroot\FrmCntrExpImpDtl.aspx:34
ASP.frmcntrexpimpdtl_aspx.__BuildControlform1() in C:\inetpub\wwwroot\FrmCntrExpImpDtl.aspx:12
ASP.frmcntrexpimpdtl_aspx.__BuildControlTree(frmcntrexpimpdtl_aspx __ctrl) in C:\inetpub\wwwroot\FrmCntrExpImpDtl.aspx:1
ASP.frmcntrexpimpdtl_aspx.FrameworkInitialize() +82
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +56
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.frmcntrexpimpdtl_aspx.ProcessRequest(HttpContext context) +37
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614
Posted
Updated 12-Sep-10 21:41pm
v2
Comments
LittleYellowBird 13-Sep-10 3:42am    
Hi, Your Question is is not at all clear, you need to explain what your problem is and what you have tried. That way you will get much better help. Just a suggestion. :)

Maybe try putting the error into Google next time?

http://www.charlesrcook.com/archive/2008/05/17/failed-due-to-the-following-error-80040154.asp[^]

Basically, you're missing something required to run the report. Sure everythibng is installed correctly?
 
Share this answer
 
Yes I have tried what it says

It may be because of the group policy applied.

And it want to make it sure of this.


If anybody come across this error , Please give your solution
 
Share this answer
 
Please add the following code to page_unload event to delete the temp files generated.
reportDocumentObject.close();
reportDocumentObject.dispose();
you can also try adding
gc.collect();
gc.waitforpendingfinalizers();
the load report failed error occurs due to no space available for generating the temp files in temp folder.
Please try the aboce steps and let us know the reply

Patrick Andrew
 
Share this answer
 
I have uninstalled the Cystal report and again installed the problem get solved.


Path is
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5

and in that path right click the X86 and uninstall it.

Now the instance of COM object is created.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900