Crystal report Deployment error

Post Author: jacobmk
CA Forum: Deployment
Hi All,
I am using crystal rports for pdf generation in asp.net 2.0. When I installed the application on 64bit Windows server
An error has occurred while attempting to load the Crystal Reports runtime.Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
Description: An unhandled exception occurred during
Please help
regards
Jacob

Post Author: ejthunder
CA Forum: Deployment
You did not say which version of Crystal Reports you're trying to deploy.
CR XI and CR XI Release 2 are NOT supported on 64 bit systems.  The only versions of Crystal Reports supported on 64 bit machines is the version of Crystal that bundles with VS2005 - CR.NET 2005 (v10.2).  If you upgrade your VS2005 machine by installing CR XI Developer, or CR XI R2 Developer onto your development machine you will not be able to deploy your application.  In this case the only option would be to "downgrade" back to the bundled edition that ships with VS2005.
EJ

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 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 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 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 Reports 2008 - Error deploying on Windows 7 64 bit

    My reports will not display on a 64 bit Windows 7 computer.
    I have a VB.NET app I wrote that used Crystal Reports XIR2 to display a number of reports. Everything has worked fine for a year or two, but now we're rolling out 64 bit Windows 7 computers and my reports will no longer display.
    I've upgraded my Crystal Reports to the latest 2008, with SP2 and all hotfixes through 2.3.
    I've updated the references in my project. And I've included the CRRuntime_12_2.msm merge module in my setup.
    If I just install my updated install package, I get an error duing the install....
    Module C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\querypanel.dll failed to register. HRESULT -2147010895. Contact your support personnel.
    If I install the CRRuntime_12_2_mlb.msi runtime package first, then install my updated install package, the install goes smoothly without error. But when I run my application and try and view a report I get two errors....
    1) An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. (I do not now what registry keys to check, but it was installed and run as an Administrator so it should have all the permissions it needs)
    2) The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    Please point me in the right direction to help me resolve this.
    Thanks.

    Hi;
    I'm glad you got passed the install issue. There is a package that may have helped, see the article here:
    [Install|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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233373334333333363339%7D.do]
    For the first error, make sure to set your project to compile for 32 bit, rather than "any cpu".
    Best Regards,
    Jonathan

  • 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/STRUTS: Error (404) when clicking on Control Buttons (Print, Export, Next, Previous, etc...) on report viewer

    Post Author: jwenny
    CA Forum: Deployment
    Need help badly!!!
    We are using the crystal reports plugin for STRUTS.
    We are able to display the report in the crystal report viewer.  However, when we click any control buttons (print, export, etc...), then we get:
    JSPG0036E:  Failed to find resource /Report-viewer.jsp
    We then moved Report-viewer.jsp to the WebContents folder (root directory) and got a different error when we clicked any control button:
    Error:  400 page not found
    Does anyone know how to solve this problem?  For instance, is there a setting or parameter that needs to be set?
    Greatly appreciate any help!

    HI,
    Whenever we print the viewer does an auto postback, I believe due to this some of the values are getting missed. Moreover we are referring to the viewer and reportdocument object, it seems. So can you try this simple code in an application to see if it helps:
    ReportDocument rdoc = new ReportDocument();
    rdoc.Load("C:\TASKECrystalReports\Intraday.rpt");
    rdoc.SetDatabaseLogon("uid","pwd");
    rdoc.SetParameterValues("parameter name","value");
    CrystalReportViewer.ReportSource = rdoc;
    Helps?
    Thanks.

  • Crystal Report Initilization error

    Hello
    I am new to Crystal Reports. I have created a Crystal Report (Ver 12.0) and linked it into Visual Studio 2008. I have copied all
    (CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.ReportSource.dll, CrystalDecisions.Shared.dll, CrystalDecisions.Web.dll) the required Crystal Reports dll's into my Projects \bin folder and referenced them from there. Everything runs fine on my development machine but, when I publish the application on the web server and try to open the report it gives me error
    "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    Source   :CrystalDecisions.CrystalReports.Engine"
    Is there something that I am missing?
    Thank you in advance.

    Hello,
    Take a look at this [KBASE|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7b6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333303330333633333336%7d.do]
    For deployment information using MSM / MSI
    Downlaod the 'Crystal Reports .NET SDK Developer Guide ' from the following link and view 'Deployment'
    [http://www.sdn.sap.com/irj/boc/sdklibrary#section7|http://www.sdn.sap.com/irj/boc/sdklibrary#section7]
    Thanks,
    Bhushan.

  • 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

  • Crystal Reports Server Error - Unable to cast object of type

    Hi Everyone,
    Not sure if this is the right place to post this question but couldn't find a Crystal Reports Server section.
    After doing a windows update on my crystal reports server the following error now occurs when trying to log into .Net InfoView -
    An error has occurred: Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'BusinessObjects.Enterprise.Desktop.InfoView'.
    I found the following article which I followed and re-installed the .net components as well as ensured all services are enabled.
    Article: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303335333433323337%7D.do
    The error still occurs.
    I did some further investigation and found that a similar error occurs in the Admin Console when I try and open the Crystal Report DataSources.
    This is the error page that comes up
    Server Error in '/businessobjects/Enterprise11/WebTools' Application.
    Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.Desktop.Report'.
    +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.InvalidCastException:
    Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.Desktop.Report'.+
    Source Error:
    +The source code that generated this unhandled exception can only be shown when compiled in debug mode.
    To enable this, please follow one of the below steps, then request the URL:+
    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    2) Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    +Note that this second technique will cause all files within a given application to be compiled in debug mode.
    The first technique will cause only that particular file to be compiled in debug mode.+
    +Important: Running applications in debug mode does incur a memory/performance overhead.
    You should make sure that an application has debugging disabled before deploying into production scenario.+
    Stack Trace:
    InvalidCastException: Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.Desktop.Report'.
       +CrystalDecisions.Enterprise.WebContent.WebSamples.DataSources.Common.datasourceInfoFromReports(ArrayList reports) 226
       +CrystalDecisions.Enterprise.WebContent.WebSamples.DataSources.Datasources.Main() 1821
       +ASP.websamples_datasources_datasources_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) 531
       +System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 98
       +System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) 20
       +System.Web.UI.Page.Render(HtmlTextWriter writer) 26
       +System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) 25
       +System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) 121
       +System.Web.UI.Control.RenderControl(HtmlTextWriter writer) 22
       +System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2558
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    Any information on how I can fix this is greatly appreciated.
    Regards
    Paul
    Edited by: Paul Griscti on Sep 3, 2008 2:52 AM

    I'd try creating a new Application Pool just for running businessobjects and crystalreportviewers11 and nothing else. 
    Although the apps are .NET, it uses COM Interop for functionality, so using a common app pool with other versions will collide.
    Beyond that - if you have a SAP Business Objects support contract - you might open a new SAP Incident ticket.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • Drag mix content to InDesign CS6

    Hi, I know we can drag drop file and bitmap content from CS Extension to InDesign which is given here. But I have a different scenerio where I've some mix content shown in Tile list i.e. one image and 3 lables which I need to drag from Panel and drop

  • Systems.Collections.Generic.List T Requires 1 Type of Argument?

    I am having troubles with my code. I am trying to start a list entitles "studentList" and it is supposed to allow the user to enter in a list of student names and their ages.  Below is my code and this is a windows Forms: <code> List<Student> student

  • No sound with Midi.. I'm a noob, I apologize, but i need some help please!

    Ok, I have my logic pro studio, version 8.0.2. and I have a duet pedal. Now, I have my piano hooked up through the duet pedal, and then going via fire wire to my mac for recording. I opened up Logic Pro, and selected empty Midi Project to record.. it

  • Enhancing a rough recording

    I have recordings of a couple songs a friend of mine performed live and was hoping there was a way to enhance the recordings using Garage Band or another software program. At the time I recorded the songs, I only had a tape recorder and was not able

  • Help with NM-CE-BP configuration

    Hi, I'd like to do some caching of web pages using the NM-CE-BP for clients that are local to the module. I'm have problems getting the module to "talk" with a C3750 switch using WCCP v2. Can someone provide me with some simple configs fo the Switch