Error in Crystal Reports Runtime for VS 2008

Hi, everyone...
I have an app that have some reports.
On my DevMachine, works fine. But when I deploy in ServerMachine (Windows Server 2003 R2 64), the app fails when I try to access a page that have a Crystal Report component.
Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 800736b1.
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 {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 800736b1.
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:
[COMException (0x800736b1): Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 800736b1.]
   CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +207
[TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
   CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
   test.Page_Load(Object sender, EventArgs e) +999
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
I tried so many things, such as verify permissions, change registry and other stuff, without success.
I have installed on my server machine, the correctly (I think) version of Crystal Runtime
Please help me!
Thanks..

Yes..
The app pool is running as 32bit... and the OS is 64bit..
Actually, there is something that can help..
Before this error appear (800736b1),
other error (800002ad UNKNOWN.RPT) was appearing...
After that I filled the property "TempDir" in the registry with a directory that had enough permissions,
the (800736b1) began to show.
Maybe you have the answer for this error (unknown.rpt)...
I already read the document (UNKNOWN Crystal Reports for .NET Troubleshooting the Background Processing Error Message),
but nothing in this document worked for me.
Edited by: lukinha on Jun 20, 2011 6:29 PM

Similar Messages

  • An error in Crystal Reports Basic for Visual Studio 2008

    Greetings from Peru,
    We have a problem with one of the Crystal Reports products weu2019d like you to help us with. We work with Crystal Reports Basic for Visual Studio 2008.
    The error weu2019ve detected is in one of our systemu2019s reports; this report shows data inside frames. When the content to show is larger (in height) than the space left in the page, the container object of the report makes a line break keeping the title and the frame empty at the end of that page, but  the information is shown in the next page. What we need is that not empty frame is displayed.
    Weu2019ve tried to solve this problem by adjusting the report in different ways (by programming coding), but unfortunately this problem is related to how much data is displayed, because if this data fit in the space left in the page, the line break would not occurs and the data is shown at the end of the same page.
    We hope you can help us with this issue.  I look forward to your comments.

    All I can think of is trying CR 2008 (v.12.x). You can obtain an eval copy from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal Report Basic for VS 2008 Memory Leak

    Hi,
    I am having a problem with CR Basic for VS 2008.  I can display a report, which I have linked to an DataSet in C#, but when I close the window, I seem to have a memory leak, as verified by process explorer.
    I am doing the following when the report window is closing:
    myReportViewer.ReportSource = null;
    myReportViewer.Dispose();
    myReportObject.Close();
    myReportObject.Dispose();
    GC.Collect();
    Any ideas?  I have a significant report that is generated and the memory leak is quite significant.
    Thanks,
    Dave

    The memory management you are seeing is an artifact of how the framework manages memory allocations of managed dlls. These dlls are left in memory as it is expect that they may be used later on in your app and reloading these dlls would be a resource intensive process. It is difficult, if not impossible to unload managed dlls and there may not be a good solution.  However I suspect that once the managed dlls are loaded, you will see the memory moving in the 38,860 to 40,812 range. This memory will not be freed by the framework until the application is terminated.                                                                               
    Couple of ideas:                                                                               
    1) Trying to find resources on the possibility of unloading managed dlls. Apparently there is a way, but it is cumbersome. Couple of years ago, one of my coworkers spent some time on the issue and eventually gave upu2026 Looking around a bit, I have found the following links that may be of some use to you:                                                                               
    http://blogs.msdn.com/jasonz/archive/2004/05/31/145105.aspx                                                                         
    http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/a2682b53-12ad-4719-b05c-df1476cb39c9                             
    http://msdn.microsoft.com/en-us/library/system.appdomain.aspx ;                                                                      
    http://www.discussweb.com/c-programming/2391-how-unload-both-managed-unmanaged-dll.html ;                                                                               
    2) Try to see how the latest version of Crystal Reports behaves in your environment. Initially, I would suggest a test on a clean system with an eval version of Crystal Reports 2008. In CR 2008 we manage the memory via the crheapalloc.dll. So the behavior may be different. You can even try to see how CR 2008 behaves without the dll by simply renaming the dll.                                                                               
    An eval download of CR 2008 is here:                                                                               
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx                                                                               
    Ludek

  • Crystal Reports Runtime for specific language

    Hi, we're deploying our applications using VMWare ThinApps and packaging the CRforVS2010 SP1 Runtime is 400 Mb!
    I saw that many DLLs were 'duplicated' for each language so I was wondering if there were a lighter runtime for just english, or just french.
    Thanks!

    The runtime is design for all in one so there is no lighter runtime.
    Jason

  • 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

  • An error has occurred while attempting to load crystal report runtime 64

    I am using Crystal Report 2008. Visual Studio 2008 Professional on a SQL Server 2005 X64 SP2
    with .NET 3.5 SP1 beta framework
    This problem happens in X64 environment only. I tried everything I Can find in the web:
    1) run the crredist2008_x64 and X86.msi,  same error
    2) run this command
    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
    and it said 'Service Unavailable' when accessing the page.
    3) attempting to change target platform to X86 to run on the 64 bit OS. I have the following problems.
    A) the configuration manager only have .NET as the platform. I cannot change it to X86
    B) There is no project
    file (any files ends with .proj) where I can modify manually to change the target platform. (I created website,not project  from VS 2008)
    Running the debug version (Control F5) from VS 2008 has no problem.
    Please help

    What assembly version of the dlls are you using (10.5 or 12.0)?
    If you are using the 10.5 then you would need to run the 64 bit runtime installer for Crystal Reports Basic for VS.NET 2008.
    If you are using the 12.0 then you will need to install the 32 bit runtimes for CR 2008 and change the application to run in x86 only mode.
    Here is the note that covers that (it was written for XI R2, but applies to CR 2008 as well)
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303330333933303337%7D.do]
    Jason

  • Windows 2008 Web Server and Crystal Reports Runtime 10 comptability

    We have migrated a website that was previoulsy on a Wndows 2003 server using IIS6 and Crystal Reports Runtime v 10 on ASP.NET 2.0
    After migrating the website, and installing the Crytal Reports runtime, we are getting application errors related to Crystal Reports Runtime in event viewer and the browser.
    For one is Crystal Reports Runtime v10 compatible with Windows 2008 Server, IIS 7 ?

    No it is not. You're looking for about a 5 year forward compatibility. At this time, only CR 2008 (12.x) and Crystal Reports Basic for Visual Studio 2008 (10.5) are supported on WIN 2008. See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] blog for more details.
    Ludek

  • An error has occurred while attempting to load the Crystal Reports runtime in deployed applications

    My reports use to work but now i'm getting the following error on all reports in all the applications on my 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.

    Hi Willingtolearnja,
    This forum is for TFS, I'd like to know whether you use TFS and your question is related to TFS. It would be better to let us know more details about your scenario if it's related to TFS. If not, you might need to open a new thread in the proper tech forum
    that your project related for a better response.
    However, from the error message, you might use the wrong configuration for x86/x64 mode. Please change the configuartion and try again. Check the links below for more information:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/82e23647-7116-424b-b437-df0cb2be083d/an-error-has-occurred-while-attempting-to-load-the-crystal-reports-runtime?forum=vscrystalreports
    http://stackoverflow.com/questions/19286630/an-error-has-occured-while-attempting-to-load-the-crystal-reports-runtime
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Deploying Crystal Reports Basic for Visual Studio 2008

    I have Windows Forms project using Crystal Reports Basic for Visual Studio 2008
    I can't find the merge module to include in the setup project like I used to do in Visual Studio .NET 2003
    Everyone seems to say that they don't exist for that version of Crystal Reports
    After searching for a long time I found something about a package located at
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x86.msi
    Tried it and it seems to work.
    Do I have to install this to the client computer ? Is that the only way having a "Crystal Reports Basic Runtime for Visual Studio 2008" in the program list of the client computer ?

    Hi Victor,
    We can download all the runtimes from the following link:
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    Try to search Business Objects Note regarding this from  [here|https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
    More info regarding deployment can be found from DevLibrary:
    [https://boc.sdn.sap.com/node/8546]
    Regards,
    Shweta

  • An error has occurred while attempting to load the Crystal Reports runtime.

    Server Error in '/' Application.  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
    Crystal Report  is not working on webServer but It is working on local Saver
    on Server i m getting this error
    Message was edited by: Ludek Uher

    If you have your AppPool set for 32 bit then install the 32 bit runtime, if it's set for 64 bit then install the 64 bit runtime.
    Try searching, lots of posts on this subject.
    Don

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

  • Keycode missing in Crystal Reports Basic for Visual Studio 2008

    I just upgraded from Visual Studio 2005 Professional to Visual Studio 2008 Professional (with SP1 installed also).  Crystal Reports Basic for Visual Studio 2008 is listed as installed under the VS Help dialog, but no key code is shown.  And when I attempt to open a Crystal Report, I get a dialog saying 'Please wait while Windows configures Crystal Reports Basic', which eventually terminates with an 'Invalid Keycode' message.
    I've tried repairing the Visual Studio install, and even uninstalling and reinstalling the whole thing.  To no avail.
    Other facts: My VS 2005 version still works with its version of Crystal Reports.  I am running Vista Professional.  Looking in the registry, under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | VSNET | Keycodes | CR9 NET, I see a Type REG_SZ with a data value in the form xxxxxx-xxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxx [6 chars-7 chars-26 chars].
    Help! How do I get Crystal Reports Basic for Visual Studio 2008 to work?

    Hi Elaine,
    Thanks for your response.  I do have versions of Visual Studio 2003 and Visual Studio 2005 on my machine, and the earlier versions of Crystal Reports worked with these versions.  In addition to the registry key I cited earlier (which I now understand is a VS 2003 version), there is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.2 | Crystal Reports | KeyCodes | CR Ent.  I see that you are correct, and this corresponds to my VS 2005 installation (which still works).  However, there is NO entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.5 (the CR  Basic for Visual Studio 2008 path you indicated).  There is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Business Objects | 10.5 | Crystal Reports, but it has only keys for ChartSupportPath, CommonFiles, DisablecheckForUpdates, and Path.
    The Windows\assembly folder has 25 files that are CrystalDecisions.xxx, version 10.5.3700.0.  This is consistent with my seeing 'Crystal Reports' listed as installed in VS 2008 Help.  But no KeyCode!
    I tried a complete uninstall and reinstall of VS 2008, without luck.  I can't clean my system of earlier verions of Crystal Reports, because I am still supporting a body of work that I did under VS 2005, and I can't convert all this stuff to 2008 -- at least until I have a fully working VS 2008 suite.  After this experience, I fear that if I were to uninstall an earlier version, i might never get it back!
    I've spend quite a few hours on this with no luck, so any help would be enormously appreciated.

  • Error: "Couldn't create Crystal Reports Engine for report format version 10.0"

    Post Author: mkubala
    CA Forum: Crystal Reports
    I created several reports in ClearQuest v2003.6.15 using Crystal Reports v10. When a user tries to run these reports from his machine he gets the following error:"Problems executing ReportContact your ClearQuest administrator to verify that a supported version of Crystal Reports has been installed.Couldn't create Crystal Reports Engine for report format version 10.0"My version of CR is compatible with this version of CQ and he shouldn't need CR installed to run the reports so I'm not sure what the issue is?

    Post Author: nschindler
    CA Forum: Crystal Reports
    I have the same problem with ClearQuest 7.0.1.1, except the error contains 'version 11.0' instead of 10.0.This happened when I installed Crystal Reports XI Pro designer.  I followed the procedure to manually uninstall and re-install CR, which allowed me to to author report formats, but I still get this error when trying to view report in the ClearQuest for Windows client.  I tried to re-register all the CR viewer DLLs I could find, but still no luck.Any suggestions?  Thanks,Nate

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Error With Crystal Reports On Windows Server 2012

    Hello,
    I have a VB.NET exe application created in Visual Studio 2010 that prints a crystal report directly to the printer.  On Windows Server 2008 it worked fine but it does not work on Windows Server 2012.  The report was originally created in Crystal Reports 2011.  I have read elsewhere that in order to run a Crystal Report on WS 2012 that it needs to be created using Crystal Reports for Visual Studio.  So I installed the developer version of Crystal Reports for Visual Studio (v. 13.0.8.1216).  I opened the report in Visual Studio and saved it.  I then installed the CRRuntime_64bit_13_0_8.msi on the WS 2012.  My vb.net exe has the CrystalDecisions assemblies shown below.  When I try to run the exe I get the error below.  Does anyone have any idea as to what I am doing wrong?  Thank you for your input.
    Unhandled Exception: System.TypeInitializationException: The type initializer for 'PrintWorkOrderAndDrawing.PrintWorkOrderAndDrawing' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.En
    gine.ReportDocument' threw an exception. ---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: 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.
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

    Hi Thomas
    First the info re.;
    I have read elsewhere that in order to run a Crystal Report on WS 2012 that it needs to be created using Crystal Reports for Visual Studio.
    is incorrect. CRVS will run all reports down to CR 9 without issues. And even reports created in older versions will, for the most part, work just fine.
    The error is rather strange as it normally indicates that an incorrect runtime has been installed. However in your case as you are using CR 13.0.8.1216 and  the 64bit_13_0_8.msi that does not look to be the case. I would like you to double check the CR references in the project. Say, crystaldecisions.crystalreports.engine. It should be version 13.0.2000.0.
    If that is confirmed, then we may be at the permissions mentioned in the error. And I'd use Process Monitor for that. Filter ProcMon for the app exe and run the app. Look at the logs for "Access denied" messages. In the log, look for CrystalDecisions.CrystalReports.Engine, see what the exe is doing with it. Where is it trying to load it from? Etc., etc.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • T-SQL: Cursor is not advancing to next record

    SQL Version:  2008 R2 Problem:  I have the code below which uses a cursor.  The cursor keeps returning the first record and does not advance to the next record in the cursor.  It appears as if the Fetch Next is not being recognized.  The Select State

  • Purchase Order Release Strategy Workflow

    Dear SDNers, I created a custom workflow to trigger workflow when PO created. This workflow send mails to portal for approval to approve the release stratagies of purchase order. From portal side its working fine. Once the approval approves, user dec

  • PowerDVD, Blu-ray, NVIDIA GeForce 120 GT and BootCamp

    Hello Everyone, I am interested in purchasing PowerDVD 9 to play-back Blu-Ray movies with my Mac Pro and its GeForce 120 GT graphics card under BootCamp. Does anyone know if this combination works? I've gone to Cyberlink's support pages, and it has a

  • Problems with Chinese IME in Windows 10

    1. The page flipping animation is very annoying and unnecessary. You can try typing "竹 戈 space 7" very fast in Quick (速成) to get "得" but instead you will get "我" since the page flipping animation hasn't finished yet.  Until the animation has ended yo

  • I need to get rid of my duplicates

    I have just added all my music to my itunes and for some reason at least 90% if my music has duplicates i need a way to hide or delete my duplicates can someone please help me i've tried the display duplicates button but that doesnt really help me