Large Crystal Reports eating up CPU on server

We have a server with several sql server databases. Clients log into the software on the server connecting to their own databases. Each database contains that company's Crystal Reports so that they can report on their own data in the database.
Unfortunately, some of the databases have a lot of information in them and when these companies run the report(s), it eats up the CPU of the server pretty much acting as a DoS for other users on the server.
Is it possible to somehow load in a report from a stream of data without needing to save the file to the hard-drive first?
Does the file on the hard-drive serve as a temporary storage location for the data being retrieved or is that held in memory until the ExportToStream method is called? If yes, that would explain why there is no Load method, that I can see, that allows a stream.
Is there a way to detect how big a report is getting as it's being built (a callback method or setting a property) and, if it exceeds a certain limit, to cancel the report?

There is a lot of info missing here, but I'll get to that later.
While your questions are very good, the short of it is; no. Essentially you are running into the OS limit rather than anything to do with Crystal Reports. Large reports may need that memory and a 32 bit OS will let us use up to 2 GIGs (a bit less actually, but close enough). If another report is needed that requires memory, you will run into issues such as crashes, out of memory exceptions, etc., etc. So, you have four options;
1) Limit the amount of data
2) Use 64 bit version of CR (more below)
3) Use one of the Enterprise products and schedule the reports for later viewing
4) Web farms, using sticky sessions
The only versions of CR that are 64 bit are 10.2 and 10.5 which bundle with .NET 2005 and .NET 2008 respectively. 64 bit app on 64 bit OS essentially does not have memory limitations.
Now, my questions;
1) What version of CR are you using?
2) How large is the data that is being processed?
3) How big is the report (pages, size) once it is done?
4) Are you using he latest runtime available for your version of CR?
5) Is your version of CR using the latest Service pack?
6) Is this a web or a windows app?
7) What typically is the OS?
8) What type of database connection are you using?
Ludek

Similar Messages

  • Crystal Reports 2008 - Blank page on server only

    Crystal Reports 2008 - Blank page on server only
    My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.
    I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.
    Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.
    I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.
    The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.
    Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.
    The report is constructed of the following sections:
    -Page Header (suppressed on page 1)
    -Grp1 header A (watermark conditionally suppressed based upon a parameter)
    -Grp1 header B (Keep together - always fits onto a single page)
    -Details
    -Grp1 footer A (Keep together)
    -Grp1 footer B (Conditionally suppressed based upon data)
    -Grp1 footer C (Keep together)
    -Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))
    -Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Report footer (Always blank. Suppress blank section)
    -Page footer (Fixed static content, displayed on every page.)
    Edited by: alibaabaa on Oct 12, 2009 12:41 PM
    Edited by: alibaabaa on Oct 12, 2009 12:45 PM

    Thanks for responding, Jonathan.
    Is the same runtime installed on the 64 bit system? I notice from your version number that you do not have any service packs installed on the dev system. SP 2 is out and may help.
    I have installed SP1 and SP2 this morning, resaved the report file and tried again but the same problem remains.
    I'm not sure how to answer your runtime question. I am using the same application built with the same merge modules on both the dev machine and the production server. Of course, the dev machine has the additional complication of having Crystal Reports 2008 installed. Perhaps this is causing the difference?
    Compare the printer settings between the two systems. Try installing the same printer driver on the 64 bit system.
    Perhaps I am misinterpreting your suggestion, but I am not printing the invoices. I am only exporting them to PDF. It is the PDF that has the extra page. Is there a 'print to PDF' driver of some sort that I need?
    Also, was the .NET application compiled as 32 bit, or Any CPU? Whichever it was, try switching it then recompiling to see if that helps.
    I tried switching to Any CPU but this caused the Crystal Reports module not to load at all on the 64bit Windows server.
    Thank you for your suggestions, but my problem remains. Is it worth trying with the redistributable msi rather than using the merge modules? If so, could you recommend which one I should use? I am using Visual Studio 2008 Professional.

  • After installing Crystal Reports XI on Windows 2003 server with one error..

    After installing Crystal Reports XI on Windows 2003 server with one error... REGSVR sapldap.dll error.  I had to regsvr it manually.  Crystal still didn't run.  Found out that Crystal Reports XI will not run until you change DEP to protect only windows program and services.  Thanks.

    Thank you for sharing your finding. Very much appreciated.
    The DEP is a known issue and it is documented in [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    Crystal Reports XI was not compiled with the nx flag as it released before Windows XP Service Pack 2 or Windows 2003 Service Pack 1.
    As for the sapldap.dll. I'm not sure where this is coming from. I do not see this dll on my install, however it does come with the SAP portal integration kit. So I'm not sure if that is flying around somewhere on that server(?)
    Ludek

  • Crystal Reports 10 Compatibility with Windows Server 2008 R2

    Hello I'm a developer and I'm in the process of migrating my ASP.NET application that uses crystal reports 10 from a win2k3 server to a win2k8 R2 server.
    First of all, is CR 10 compatible with windows server 2008 R2?
    The application is up and running on the new server, the only thing that fails is the reports. I get the following error message:
    Error in file ....c:\windows\temp\{TEMP_FILE_NAME}.rtp
    Failed to create the Crystal Query Engine.
    This occurs at report.load(..)
    I did already grant NETWORK SERVICE access to Temp and ran the CR redistribute msi that came with Visual Studio 2008 - CRRedist2008_x64.msi.
    Please help

    YESSSS!!!! IT WORKS!!
    Finally, after days of installing, uninstalling, setting permissions, crawling through process monitor output.. I finally have it working.
    For anyone with the same problem, here's what worked for me:
    I had to use the 32-bit runtime
    set application pool to 32-bit
    grant the following permissions based on the different errors listed below:
    Error in File UNKNOWN.RPT
    - Give NETWORK SERVICE list permission on C: Drive, run a report, then remove NETWORK SERVICE from the list (weird, but works, and I had to do this every single time I setup Crystal Reports on a new computer so far).
    - You might also have to set correct permission on 'Temp' if u get still get this error.
    Error in file ....c:\windows\temp.rtp
    Failed to create the Crystal Query Engine
    - Grant correct permission to C:\Program Files (x86)\Business Objects (your path may vary)
    (For me it was giving Users Modify permission to Business Objects folder)
    Unknown Query Engine ErrorError in File C:\Windows\TEMP\.rpt:
    Unknown Query Engine Error
    - Switch application pool to 32-bit.
    - Make sure Crystal Reports Runtime is 32-bit (CRRedist2008_x86.msi)
    Thank you guys so much for all your help and sticking through this with me.

  • Crystal Reports XI R2 and Window Server 2008 Hyper-V environment

    Hello,
    Is there any known issue that Crystal Reports XI R2 running on Window Server 2008 Hyper-V enviroment?
    I tested on Development Server which is Window Server 2008 and it is working fine but when tested with another servers which are in Hyper-V enviroment and ASP.NET program keep crushing.
    I got the below error on my event log:
    Faulting application w3wp.exe, version 7.0.6002.18005, time stamp 0x49e023cf, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x03976ce8, process id 0x%9, application start time 0x%10.
    Thanks,
    Yin

    Hi Yin,
    Hyper-V I assume is the Hyper threading Intel and others enabled correct? Should not make a difference other than performance. You are still using 1 CPU so the cycles are being split between multiple programs. Not really an advantage.
    Try using ProcessMonitor and search on access denied to see what is having the problem.
    Other issue is CR XI R2 is not supported on windows 2008, or at least you should be running Service Pack 6 to at least get Windows 7 and Vista support, which is about the same as Windows 2008.
    Go to our download page and install SP 4 full build and then SP 6. ( assuming you don't have any SP's installed ) or look in the download area and download all of the patches from SP 4 as well as the distribution files for how ever you are deploying your application.
    Thank you
    Don

  • Crystal Report not displaying in production server

    I am using crystal report with ASP.Net web application which is working fine on client machine, client machine configuration is: •Windows 7 64bit •Visual studio 2012 •.Net framework 4.5 •SAP Crystal Reports, version 13.0.2000.0 I need to deploy it on Windows Server 2008 machine; however, when I deploy web application on this machine Crystal Report opens when do not display data. Kindly help to get around with this issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Thank you in advance

    Please see if the resources that come up using the search string 'crystal blank empty net' will help. Search box is in the top right corner.
    Also see:
    http://scn.sap.com/thread/3531678
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Crystal report .dll files required on server.

    Hi.
    I'm new to Crystal Report and I have a "small" problem.
    I'm developing an windows app. that should be accesed from a Windows Server 2003 R2 Standard x64 Edition.
    When I run my app. om the server and want to see a report created with Crystal Report, I'm told that Crystal Report runtime is not installed correct.
    I have tryied to instal both CRRuntime_12_0_mlb and CRRedist2008_x64. But I still get the errormessage.
    What am I doing wrong og missing.
    Which .dll files are required on the Server and in my app directory??
    When I run the app on my local machine the report works perfect.
    Regards
    Benn

    What is the version of the assembly crystal decisions.crystal reports. engine.dll referenced in your app? Also, remeber that only CR 10.2 and CR 10.5 (Crystal Reports Basic for Visual Studio 2008) are 64 bit. All other versions of CR are 32 bit. See [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article for more details.
    For details re. correct runtime files see [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki.
    Ludek

  • Crystal report problem on window 2003 server

    Hi
    We had developed a web based application using .Net 2.0 (C#) , Crystal reports (bundled version within VS2005) on Window XP, SQL Server 2005, we are able to see all the reports on this development enviroment, but when the application is deployed on Windows 2003 server , IIS 6.0 and SQL server 2005 , we are not able to view the reports we are thrown with an error as
    Failed to open a rowset. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Procedure or Function 'sp_xxxx' expects parameter '@ppppp', which was not supplied. SQL State: 42000 Native Error: Failed to open a rowset. Error in File
    Could you please explain what the problem is ? as we are stuck with this problem for the migration of application to the user community.
    Regards
    varma

    We have same problem
    does anyone have the answer?

  • Regarding crystal report runninv problem in windows server 2008

    My name raja gupta.i want to clarify my issue.I used crystal reports 2005(10.0 version).I am accesing that reports in windows server 2008(64 bit) operating system.But i am unable to see the reports,reports was not working and not opened.Give me reply asap.
    Thanks & Regards,
    Raja.

    I would advise to check if windows server 2008(64 bit) is listed as a supported platform.
    If you need urgent support, you can always contact Customer Interaction Center (CIC) and purchase a Single Support Case.
    The CIC contact information you can find in the following SAP note:  
    Note 560499 - Global Support Customer Interaction: Telephone/fax/e-mail
    u2026.
    Business Objects customers:
    Contact information for Business Objects # new support telephone numbers, all numbers available 24 hours 7 days a week
    If the toll-free telephone number listed below is not available for your Customer Interaction Center or Support Advisory Center, call the following emergency numbers:
    - EMEA Region:                                  +353 91 404395
    - North and Latin America Region:               +54 11 5129 3717
    - China, Hong Kong, Japan, South Korea
      Singapore, Taiwan:                              +86 411 3963 1129
    - Malaysia, Philippines, Thailand:               +91 80 4139 9216
    - Australia, New Zealand:                        +61 2 9935 4660
    America
    CIC & SAC Center     Contact information
    USA     T: 1 866 8907686 (toll-free)
         E: [email protected]
    Canada     T: 1,866 6603577 (toll-free)      
         E: [email protected]     
    APJ
    CIC & SAC Center     Contact information
    Australia     T: 1800 081 923 (toll-free)      
         E: [email protected]     
    China CNC     T: 10800 7490097 (toll-free)      
         E: [email protected]     
    China Telekom     T: 10800 4900088 (toll-free)      
         E: [email protected]     
    Hong Kong     T: 800 964 865(toll-free) or +852 25391948           
         E: [email protected]          
    India     T: + 91 80 4139 9217           
         E: [email protected]          
    u2026

  • Crystal Report 8.5 with SQL SERVER 2005 problems

    Post Author: AREVA
    CA Forum: Data Connectivity and SQL
    Hi All !We have some problems with Crystal Reports version 8.5 with SQL Server 2005: 1) When we want to generate a report (using data in SQL Server 2005) we have a popup message error : "impossible to loaded pdssql.dll".2) If we want to use SQL Server 2005, which Crystal Reports version we must used ? Is there any restrictions with this connectivity with 8.5 version ?Please, let me known, all informations about SQL Server 2005 and Crystal Report 8.5.Thanks for all !Best regards Anthony

    Hello Kamlesh,
    There is no expectation that the ActiveX viewer (RDC?) from CR8.5 will work in any version of Visual Studio .NET. There is also no expectation that the ActiveX viewer from CR8.5 will work on a machine with a 64 bit operating system.
    You're using VS2008. You should migrate to the bundled edition of CR for VS2008 (v10.5), the ReportDocument object, and the .NET Windows form viewer or Web form viewer.
    Sincerely,
    Dan Kelleher

  • How to create a crystal Report using C# and SQL Server

    Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
    but i got an error on the adding of server name and database portion.. thanks a lot in advance

    Hello,
    Crystal Reports are supported on
    http://scn.sap.com/community/crystal-reports.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Crystal Reports Moved from one file server to another - very slow opening

    Hello,
    I am new here, and I am in need of a solution. If I am not in the correct forum, please advise.
    Our crystal reports were moved from an old file server to a new file server.  Once the old file server was shut down the reports opened very slow in Designer and in our 3rd party application.  Our server team determined that the reports are still attempting to connect to the old file server.  If the old file server is brought online or dns is changed to reflect another machine that it can make a connection to, it opens with no delay. 
    For some reason, not every report is affected.  Most of the reports are Crystal 8.5, but I have some Crystal XI reports that do the same thing.  I can't find any reference in the reports to any file server/location....
    I need to resolve this issue on the Crystal 8.5 version due to the application that we are running.
    Is there a way to fix this other than to recreate the reports (I have over 400 of them)?
    Any assistance or advice is appreciated!
    Thanks,
    Nancy

    Hi Nancy,
    The server info still needs to be updated. Are you setting location for each subreport also?
    Possibly this registry key will help, I only have CR 2008 installed so you'll have adjust for what ever you are using:
    HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions - VerifyStoredProceduresOnFirstRefresh = No
    and
    VerifyStoredProceduresOnSetLocation = No
    And
    VerifyWhenDBDriverUpgraded = No
    And
    ViewOutOfPlaceSubreports = No
    Close CR designer before making any changes. And the usual warning about modifying the registry.
    Thank you
    Don

  • Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008

    I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
    IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
    and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?

    Hi,
    Check the below thread also:
    http://scn.sap.com/thread/1634856
    Thanks,
    DJ

  • Crystal Report Export not working in Server 2008

    Hi
    Please Help..
    I am Using Crystal report Report 9 with VB 6 and SQL Server 2008. All my Client PC s (Windows XP SP3) are able to export the reports in any format but with my SERVER - (Windows Server 2008 (32 Bit)) it isn't possible. The Button is very much enabled
    but when I click on it, Nothing happens.. Please Help... 

    Hi,
    I would like to suggest you try to run SAP Crystal Reports under Compatibility Mode to check if it works.
    Run in compatibility mode with administrative privilege
    ================================
    1. Right-click the .exe file of the SAP Crystal Reports program and choose
    Properties.
    2. Switch to the
    Compatibility tab.
    3. Please check the
    Run this program in compatibility mode for and choose
    Windows XP (Service Pack 3).
    4. Check the
    Run this program as an administrator box under the
    Privilege Level.
    5. Click
    Apply, click OK.
    Note: If the option is unavailable when running this program as an administrator, it means that either the application is blocked from always
    running elevated, the application does not require administrative credentials to run, or you are not logged into the computer as an administrator.
    If it does not work, it is high recommended to contact your local SAP Support Engineers for further assistance. They are more familiar with their own
    product.
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Crystal Reports 2008 install on Windows Server 2008

    I am trying to do a typical install of Crystal Reports 2008 on Windows Server 2003 and I keep getting an error that says "ReportConvTool.dll failed to register" and then the same error for other dll's, Myinfoview.dll, Encyclopedia.dll, etc.. What can be the problem?
    I installed on a Vista machine with no problems.
    Any and all help is greatly appreciated.
    Thanks,
    Ken

    Hi,
    I will not be able to provide the 'why' of this issue but per my research, these are how other users have done to get through this issue:
    Please ensure that your Windows Server 2003 version is supported in your version of CR 2008 by going through the platform support document in our SMP
    First scenario:
    Continue with your installion ignoring the error message and manually register those DLLs afterwards
    Second scenario
    Continue with your installation ignoring the error message. Go to Add/remove programs and uninstall CR 2008 and reinstall it anew
    Third scenario
    Those DLLs indicates you have other BO products installed in that Windows server 2003. If it is just a test box, remove those products and reinstall them.
    I've listed the steps from easy to complex and hopefully one resolves your issue.
    Worst scenario, please log a ticket to Support through our Service Market Place (SMP)

Maybe you are looking for

  • Can I transfer my purchases from one Apple ID to another?

    Hi, I have all my iTunes purchases (music, apps etc) under an Apple ID that I have been using for work purposes. I have now invested in a MAC at home and created a new Apple ID for home use. Is there a way of transferring my purchases from my work Ap

  • How to integrate Oracle Http Server with Weblogic

    Weblogic supports Apache web server 2.0 and 2.2 to be a proxy server. Oracle Http Server (OHS) is based on Apache 2.0. I am trying to configure Weblogic to use OHS that comes with OAS install as proxy on Linux environment. I am unable to get the WLS

  • Mx:TabBar is better than s:TabBar

    s:TabBar is a downgrade because it doesn't support disabled tabs. Here's an example: <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"                xmlns:s="library://ns.adobe.com/flex/spark"            

  • Want to convert Sap standard report s_alr_87012085  into alvgrid

    i Want to convert Sap standard report s_alr_87012085  into alvgrid please help me.

  • WLI V2.1 install error: WebLogic Server 6.1 SP1 is not installed.

    Hi, FYI I installed WLS 6.1 and then Service Pack 1 (separately). I then installed WLI V2.1 and got the error. WebLogic Server 6.1 SP1 is not installed. This is on Windows NT. The problem was due to the registry.xml file being empty of content. Thus