Crystal Reports COM Error

I have a Crystal Report that I load and run from an ASP.Net Web Application. It works fine on my machine. However when the code is deployed to the servers, intermittently (does not happen everytime), I receive the following exception:
System.IO.FileLoadException: Retrieving the COM class factory for component with CLSID {XXX}  failed due to the following error: 8007045a.
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
When I search for this error I am not able to find the exact cause of the COM error 8007045a or the System.IO.FileLoadException. But many people have encountered other COM Errors with Crystal Reports and have suggested changing the Project properties -> Build -> Platform Target to x86 from 'Any CPU'.
Is this indeed the action to be taken for the COM error 8007045a or the System.IO.FileLoadException too?
One of the folks suggested the following: It is a low-level Windows error, not a COM error. The DllMain() entrypoint of one of the unmanaged code DLLs used by CR returned FALSE.
Any suggestions here?
Thanks in advance
Vikas
Edited by: vikasmanghani on Dec 22, 2011 3:53 PM

Hi Don
The CR version is Crystal Reports 2008 SP3.
OS - Windows Server 2003
IIS - IIS 6 (I am not entirely sure, but most likely it is IIS 6).
Does it matter, if I instantiate the ReportDocument derived class on a separate thread. For e.g.
Main Thread:
MyReportClass rpt;
Thread t1 = new Thread(InitRpt);
t1.IsBackground = true;
t1.Start();
//perform some additional work
t1.Join();
Thread t1:
rpt = new MyReportClass();
rpt.FileName = "";
rpt.Load();
Also the BuildAction property for the report is set to Content.
As an aside, I noticed another error on a different server:
System.Runtime.InteropServices.COMException (0x80000003): Retrieving the COM class factory for component with CLSID {D7F5D7C3-B06C-4CAC-BC47-A06E66D2EE9B} failed due to the following error: 80000003.
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
   at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
For this COM Error 80000003, I was able to search on SAP forums and locate the following:
1. Some people have asked to re-register clientdoc.dll using regsvr32.
2. Some people have suggested rebooting the server.
3. Some have suggested running in 32-bit mode. I am not sure if this server is 64-bit or 32-bit.
It would be great if you could help me with this one too.
Thanks in advance.
Regards
Vikas
Edited by: vikasmanghani on Dec 24, 2011 4:38 AM
Edited by: vikasmanghani on Dec 24, 2011 4:42 AM

Similar Messages

  • Crystal report unexpected error in Web service (IIS)

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
                Xception E NSF      NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService] Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
                Xception E NSF      NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10  [GUEC0001] [1] [AbstractService]    at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
                   at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
                   at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
                   at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
                   at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
                   at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
                   at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
                   at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
                   at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    What is the workflow
    What is the application doing?
    Iu2019m guessing you have a windows service application and you're trying to launch a UI (ie the viewer control) from the application or print using the vieweru2019s printing functionality programmatically(?).
    If this is a Windows Service running under the local system account, then follow the instructions in the error message. (ie, bring up the properties of the service, go to the logon tab and check the checkbox that says u201CAllow service to interact with desktopu201D.   At least that should allow whatever popup is trying to come up display properly.
    Ludek

  • Crystal Report Previewing Error

    Dear Experts,
    After previewing the Crystal Reports, the error message shown like this:
    http://i775.photobucket.com/albums/yy34/erpkenny/CrystalReport_jpg_02JUL.jpg/
    Please kindly help me!
    Thanks!
    Kenny

    hi,
    Check the below link:
    Application has a problem - Printing Problem
    Thanks,
    Neetu

  • Is this crystal report / adobe error   ?

    hi there,
    i developed a web application using asp.net4.0, VS 2010 and crystal report for VS2010. everything working fine in development machine as well as local server machine. but the same failed in production and it gave the error message as
    "the file is damaged and could not repaired" end of this error message everytime some random number is displaying.
    detail error:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AcroRd32.exe
    Application Version: 10.1.1.33
    Application Timestamp: 4e64e4e2
    Fault Module Name: IA32.api_unloaded
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 4e64f83d
    Exception Code: c0000005
    Exception Offset: 5c662a6d
    OS Version: 6.0.6002.2.2.0.305.9
    Locale ID: 2057
    Additional Information 1: fd00
    Additional Information 2: ea6f5fe8924aaa756324d57f87834160
    Additional Information 3: fd00
    Additional Information 4: ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    actually im getting this error only while passing some input data if i pass some other data then its working fine so, what i did was copied the production database,published folder from server to my local machine and ran the same code here i can see the output without any error. so, im confussing how to resove this issue and where is the issue.
    experts please guide me to resolve this issue
    Edited by: winseelan on Nov 22, 2011 6:31 AM

    This is the same as: crystal report / adobe error
    Please do nto cross post. See the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Locking this thread.
    - Ludek

  • Crystal Report Runtime Error 9.0.Could not open the report

    Hi,
    Getting the Crystal Report Runtime Error 9.0.Could not open the report while Run on Launch Application. Actually in Launch Application, created a link for exe which is having crystal reports. We can open the Crystal Reports from the exe outside B1.
    Note: SAP 2007, Crystal Report 2008 is using.Normally can open crystal report.
    Any help to fix the error is appreciated.
    Thanks & Regards,
    Parvatha Solai.N

    Hi,
    Please post screen shot of error message here.
    Thanks & Regards,
    Nagarajan

  • Crystal Report XI Error:717

    Error:717
    Hi,
    We use Crystal Report XI developer with Oracle 10g.
    Our Oracle Client is Oracle 10g and the Oracle server is Oracle 10g.
    Our application develepor tool is CodeGear RAD Studio, Delphi 2007 Enterprise.
    The Crystal Report use the Native Oracle Connection.
    When the applicatin run, and we call the Crystal Report, an error occure:
    Error:717 Error in file c:sample.rpt
    Failed to load database information
    Execute
    Please help me!
    Thanks
    Sándor Lencsé

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

  • Crystal Reports 2008 - Error 1904 - DLLs will not register

    I have just tried to install Crystal Reports 2008 on a PC which is running on XP Professional 2002 (Service Pack 3) and none of the DDLs will register.  I have administrator privileges on the local PC.
    I could possibly try to register the DLLs manually but I don't understand why they won't register automatically.
    I would really appreciate some assistance with this. 
    Kind regards, Leeanne
    I received the following errors....
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportPromptEMF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportSourceBridge.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\busobjReporter.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClient.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientAddin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientTemplate.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Webi.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\qaaws.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MetaDataPlugins.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\lovconvertor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseControls.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FullClientServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Xcelsius.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Flash.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EventServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\FileServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\JobServerAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DocProcessingServerAdmin.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\EnterpriseRepositoryAdaptor.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AuditProxyService.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Discussions.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\WebIntelligence.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CrystalEnterprise_SMTP.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\DiskUnmanaged.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Ftp.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Managed.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MDS.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Connection.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Favorites_Folder.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Folder.dll failed to register.  HRESULT -2147024769.  Contact your support personnel.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Inbox.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\LicenseKey.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ObjectPackage.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Profile.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Publication.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\User.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\UserGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CacheSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PageSrvAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\SAWebAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMSAdmin.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Calendar.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Event.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Excel.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Hyperlink.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\PDF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CustomRole.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Powerpoint.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Program.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Agnostic.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\RTF.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ScopeBatch.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Server.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ServerGroup.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Shortcut.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\TXT.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Word.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AFDashboardPage.dll failed to register
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\AppFoundation.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\InfoView.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\CMC.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Designer.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyc.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\Encyclopedia.dll failed to register.
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\MyInfoView.dll failed to register. 
    Product: Crystal Reports 2008 -- Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\ReportConvTool.dll failed to register.

    Install .NET Framework 1.1 and 2.0 and then any patches Windows has for them.
    Install the C++ runtime distribution from Microsoft, search MS's site for it, they have multiple links for each OS.
    Download the latest Microsoft installer, you can go to MS's web site to get it.
    Check with your IT department to make sure they have not pushed out a "modified" administrator Profile to your PC. Open up regedit.exe and confirm you can change any key in Current User and Software and anything. Be sure to copy the original so you can right the value back and the usual warnings about modifying the registry.
    Download CR 2008 SP1 full build: https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe ( requires and un-install of existing CR 2008 if any are on your PC )
    Before running CR 2008 Install SP 3: https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    You could also try Disabling DEP, right click on My Computer, Properties, Advanced tab and Data Execution Prevention and make sure it's set to windows Processes only. Requires a re-boot if changed.
    Disable any and all anti-virus and local firewalls, copy everything local and disconnect your network cable so you don't get anything nasty and try again.
    If none of the above works then try someone elses computer, your system may be beyond repairing and could require an FDISK and starting all over.
    Thank you
    Don

  • SAP Crystal Reports 2011: Error INS00140 The Product keycode is not valid

    I have followed all of the instructions in the previous thread but am still getting the error message.  I am trying to install on a Windows 7 machine.

    Try this Post...
    SAP Crystal Reports 2011: Error INS00140 and other install errors
    PS - Coy no longer works here
    Don

  • Seagate Crystal Reports: Database Error

    I am using Crystal reports Version 8 and frequently get the error 'Seagate Crystal Reports: Database Error' when I try to open a previously working crystal report file. The error occurs when I click on the Database menu. Every time I get this error I end up redesigning the report as the I have not yet found a solution and I cant run the report.
    The error is a message box with the title 'Seagate Crystal Reports: Database Error' and an ok button - nothing else.
    Its very frustrating!
    Please help.
    Thanks.

    Hi,
    What database are you using and how are you connecting to it? 
    What are you clicking in the Database menu:  Set Location, Verify Database, Show SQL Query?
    Before opening the report, can you connect to the database first then open the report? 
    I would have expected an error code or a more descriptive error to follow. 
    Thanks,
    Brian

  • Crystal Report generation error

    Hi,
    I m using VS 2008 for development web application on local machine. One of my page is being used to display crystal reports through report document as usual.
    I deployed my application on web server windows 2008 R2 and I have also properly installed CRRedist2008_x64.msi & CRRedist2008_x86.msi on web server
    But When I open this page on browser I always get en error on line Declaring reportdocument object Like
    Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
        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 {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
    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 and IIS 7, and the configured application pool identity on IIS 7.5) 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 File 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 44: Line 45: Dim rpt = New ReportDocument()
    Line 46:         rpt.Load(Server.MapPath("../Reports/CrRcpt.rpt"))
    Please help me to work on crystal report in my project:
    Thanks

    You have to be careful on the files you deploy. There is Crystal Reports 2008 (v. 12.x) and Crystal Reports Basic for Visual Studio 2008 (v. 10.5).
    If you are referencing CR assemblies of version 12.x, then you have to use the runtime files from here:
    MSM
    https://share.sap.com/a:328ro3/MyAttachments/53ecd0f0-09d3-4633-ada3-eeb7639fcd37/
    MSI
    https://share.sap.com/a:328ro3/MyAttachments/b7b145e0-eab2-46d0-bab1-e072d4f2af35/
    Note that CR 2008 (v. 12.x) does  not have 64 bit runtime.
    If you referenced CR assemblies of version 10.5, then you need to use the runtime files from here:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • Crystal report / adobe error

    hi there,
    i developed a web application using asp.net4.0, VS 2010 and crystal report for VS2010. everything working fine in development machine as well as local server machine. but the same failed in production and it gave the error message as
    "the file is damaged and could not repaired" end of this error message everytime some random number is displaying.
    detail error:
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     AcroRd32.exe
      Application Version:     10.1.1.33
      Application Timestamp:     4e64e4e2
      Fault Module Name:     IA32.api_unloaded
      Fault Module Version:     0.0.0.0
      Fault Module Timestamp:     4e64f83d
      Exception Code:     c0000005
      Exception Offset:     5c662a6d
      OS Version:     6.0.6002.2.2.0.305.9
      Locale ID:     2057
      Additional Information 1:     fd00
      Additional Information 2:     ea6f5fe8924aaa756324d57f87834160
      Additional Information 3:     fd00
      Additional Information 4:     ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    actually im getting this error only while passing some input data  if i pass some other data then its working fine so, what i did was copied the production database,published folder from server to my local machine and ran the same code here i can see the output without any error. so, im confussing how to resove this issue and where is the issue.
    experts please guide me to resolve this issue
    Edited by: winseelan on Nov 22, 2011 6:25 AM

    Check DLL differences; CR dlls, db client dlls, system dlls. Use [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to compare the two scenarios.
    - Ludek

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Crystal Report issue : Error in file.. .rpt . Error in formula

    Hi ,
    I recently migrated a report from production to test environemnt and it throws me the following error:
    Error in File C:\DOCUME1\oe_user\LOCALS1\Temp\packing instructions {4058873B-9756-4052-B479-EBD2D0A08E7D}.rpt:Error in formula  <Object_Visibility>. '{Command.EXACT_WEIGHT_FLAG} = "Ne (No)"'
    This field name is not known.
    In production server is installed Oracle 9i database and in test server is installed Oracle 10g
    The report has 1 main report and 2 sub reports.
    1. The same report works fine in production server without any issues.
    2. I had executed the report in Crystal reports 2008 and it runs fine displaying all fields without any issues.
    3. I had also tried taking the query of both subreports and the main report and tried executing it in oracle and it runs fine without any issues.
    However during the runtime in the test server, it throws the following error.
    Can someone help me out with this issue..

    Hi Siva,
    What is the patch level of CR 2008?
    Is it a win or a web app?
    What is the server OS?
    First, try to simply view the report. Let  the report prompt for the database credentials and the parameter values if any.
    See if it reproduces the issue.
    ReportDocument rd = new ReportDocument();
            rd.Load(Server.MapPath("CrystalReport.rpt"));
            CrystalReportViewer1.ReportSource = rd;
    Take a look at the SAP Note :
    [1421867 - Error: This field name is not known|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433323331333833363337%7D.do]
    Hope it helps,
    Thanks,
    Bhushan.

  • Crystal Report Viewer Error: Could not render the page

    Hi,
    I was facing the same issues whereby i creating my crystal report in VS2005 profesional built in crystal report designer. When preview in VS2005 the graph displayed correctly. However, when export to IIS it shows the error could not render the page.
    I am using Windows 2008 server, IIS7.
    I tried to install the CRREDIST x86.msi into my server, however it still could not show out the graph (pie chart) in the localhost.
    Appreciated anyone know this could kindly advice.
    thanks.
    ck

    Hello,
    Crystal Reports 10 is not supported on Windows 2008 Server.
    Please view the information [here|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Upgrade the Crystal Reports.
    Thanks,
    Bhushan.

  • Crystal Report: irregular error not handled by the application component

    Hi all,
    The error message u201Cirregular error not handled by the application componentu201D comes up when I run any of the Crystal Report in the SAP Business One.
    But this error happens only in the client Machines, from the Server I can run the report normally.
    Thanks and Regards,
    Alberto Franç

    Hi,
    It seems installation and registration problem, have you tried to other client computers? Try to reinstall  the Crystal Report in client.
    Regards,
    Clint

Maybe you are looking for

  • Problems with applications: GPS Info QT - IM for N...

    Problems with GPS Info QT: new update v1.25 (cancelled by Nokia recently) has a gap with the coordinates in longitude because the error is 1 degree 56 minutes more or less (big problem). But it is an excellent applications: when can we obtain it agai

  • How to subtract in a calculation in Acrobat Pro 9

    I'm building a pdf with some calculations. I can do a 'sum, product,average,minimum,maximum'. But how do i subtract 2 fields?

  • Displaying Current Date and Time in JSP

    Hi, I need to insert the current date time in Ms SQL Server Database using jsp page. The format of the code willbe insert into table(update_date) values ('2007-01-01 10:02:21'); But i am not getting how to display the current date and time ie. 2007-0

  • Record inserting twice on insert button trigger

    hi developers, I am designing a simple form whilch contains the datablock in tabluar form and showing the data from the table to which the data block is connected... i have an button INSERT ....when clicking the insert button the record should be ins

  • SQL Server 2008 Analysis Services and OBI EE

    Hello, How to use the Multidimensional import functionality of the BI EE Administration against a cube stored in a SQL Server 2008 Analysis Services? Thanks, Paul