Crystal report preview window freezes if I push any key on the keyboard

our system is a pretty old one, and we are still using crystal report 7 and vc6(mfc6).
It is a simple dialog based application with a button and a flex grid7.1 component on it.
when the button is clicked, a crystal report preview window will be opened and become the active window.
the problem is that, when i pushed a key on the keyboard ('a' for example) the whole application will freeze, and CPU Occupancy Rate is 100%.
but if I switch the dialog to be current active window after a preview window opened, keyboard input won't make the application freeze.
It seems that crystal report preview window don't know how to deal with the keyboard input.
BTW:
I use the methods below to open a preview window.
PEOpenEngine
PEOpenPrintJob
PEPrintReport
have anyone here met any similiar problems before?
I really need your help.
thanks in advance.
Edited by: zhengli on May 26, 2010 4:36 AM

Moved to Legacy Application Development SDKs forum.
I have nothing for you, other than; consider upgrading - after all CR 7 shipped in 1998(!). I don't know what OS you are on, but I suspect what ever OS it is, it was not even in a concept stage of thought when CR 7 shipped. E.g.; this may be an OS issue more than anything else.
BTW., print engine APIs were retired in version 9 of Crystal Reports. At this time, your best option is to upgrade to CR 2008 (12.0)and use .NET or Java. If you are using VB 6 or equivalent, you could still upgrade to CR XI r2 (11.5) and use the Report Designer Component (RDC). However, note that CR XI r2 will be out of support in June of this year. And CR XI R2 is the last version of CR to include the RDC.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Edited by: Ludek Uher on May 26, 2010 8:28 AM

Similar Messages

  • Dynamic Crystal Report with Windows Server 2008

    I am creating a report through code with Crystal report on Windows Server 2008 R2. When I am executing the following command:
    CRAXDRT.Report.Database.AddADOCommand
    This is generating an error which is given below:
    Error description: Logon failed
    Details: [Database Vendor Code: -205]
    But its working fine with Windows Server 2003.
    Private Sub AddRptDatabase(a_CRReport As CRAXDRT.Report, a_sStartDT As String, _
                               a_sEndDT As String, a_sDept As String, a_sStatus As String)
        Dim cnnRpt As ADODB.Connection
        Dim cmRpt As ADODB.Command
        Dim sSQL As String
        Dim sWhere As String
        Dim sTemp As String
        Dim sTemp1 As String
    sSQL = sSQL & sWhere & " Order by AdminData.RONumber"
      Set cnnRpt = New ADODB.Connection
        cnnRpt.open g_objBA.LocalConnectionString
    Set cmRpt = New ADODB.Command
        cmRpt.ActiveConnection = cnnRpt
        cmRpt.CommandType = adCmdText
        cmRpt.CommandText = sSQL
        'Create data set
        a_CRReport.Database.AddADOCommand cnnRpt, cmRpt
      Exit Sub
    Please suggest some solution.

    Moved to Legacy SDK forum.
    CR XI R2 Service Pack 6 and Fix Pack 6.4 should work on Windows 2008. CR 2008 SP 2 and above also. Older version, no support for it.
    CR is 32 bit, make sure the 32 bit client is installed and being used.
    Thank you
    Don

  • BO XI R2 - "Blank "Crystal Reports Viewer" window - attempt to print report

    My company recently set up a Business Object Enterprise XI Release 2 server.  On the server are a number of crystal reports that are run interactively by users, through the user console.  The expectation is that the user will log on to the BI server, click on the report title, enter the parameters, see a preview of the report in the Crystal Report Viewer, then click the print icon on the Crystal Report Viewer toolbar.
    Our corporate standard is current Windows XP SP3, with Internet Explorer 8;  By default, users are set up to use the DHTML report viewer.  The reports were developed with the Crystal Reports XI R2 report designer, and connect to an Oracle 10g database through Oracle client.
    When users attempt to view, then print the reports, the user is able to select the report, enter the parameters, view the report data, and even page through the report preview with no issues.  However, when the user attempts to print the report by clicking the print icon on the Crystal Reports Viewer toolbar, a blank "Crystal Reports Viewer" window pops up and remains indefinitely.
    The really puzzling thing about this issue is that for about 1/3 of our users, printing will work - a print dialog will appear, allowing the user to select a printer, and when the user clicks OK, the report will print.   For the other 2/3 of our users, the blank "Crystal Reports Viewer" window pops up.
    I have added the BO XI R2 server's address to trusted sites, adopted the lowest security settings for trusted sites, and enabled all activity I could think of in IE security settings (ActiveX controls-related).  I also ran the web site in compatibilitiy mode.
    Has anyone on this forum experienced this issue, and does anyone here know how to resolve it?
    Thank you,
    Bob Gardner

    I suspect that this behavior occurs because the client computer is unable to download ActiveX controls.
    The report viewer requires the PrintControl.dll to print reports from the client computer. The PrintControl.dll downloads automatically if it has not been previously downloaded on to the client computer, provided that the user that is currently logged on is able to download ActiveX controls.
    To enable the download of ActiveX controls on the client computer, perform the following steps:
    1) Open your Internet Explorer.
    2) From the Tools menu, select Internet Options.
    3) In the Security tab, select the web content zone that corresponds to your web application.
    4) Click Custom Level.
    5) In the Security Settings dialog box, scroll down to find the ActiveX controls and plug-ins section.
    6) Select Enable or Prompt for the Download signed ActiveX controls item.
    7) The print dialog box will now appear successfully when clicking the print button in the report viewer.
    If the above does not help, try to troubleshoot this as follows:
    1) click the print button (this will cause a postback to the web page) and then cancel the print dialog. right-click in the web page and select "View Source".
    2) Search for the word "printcontrol.cab". This will show you where the application is trying to download the printcontrol from.
    Paste the URL into a browser.
    3) If you get prompted to "open or save to disk" the url is correct and there is a browser setting or possibly even a system policy preventing the download.
    4) If you get a "404 page not found" or a similar error message, investigate the URL.
    5) If the issue is on your local web server, see if it is possible to browse to the URL in IIS manager.
    - Ludek

  • Open a Crystal Report preview using a button

    Hello. I need to open a Crystal Report preview using a button from my add-on. I've already created my report, so I need to create the object, pass the parameters and open an screen with my preview. Does anyone has a C# example? Thank you.

    hi,
    this is code for open the crystal report press the button.
    First import the crystal report  using Report  and  layout manager
    goto administration->setup->general--->Report  and  layout manager
    create one button in add-on form.when we press the button the following event triggered.
    get the docnumber for that particular form and pass it.
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                            If pVal.ItemUID = "btnPrint" Then
                                Dim strAcNcmr As Integer
                                strAcNcmr = objForm.Items.Item("txtDocNo").Specific.Value
                                Dim oRS As SAPbobsCOM.Recordset
                                oRS = objSBOAPI.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                oRS.DoQuery("SELECT MenuUID FROM OCMN WHERE Name = ' Purchase Indend' AND Type = 'C'")
                                objSBOAPI.SBO_Appln.ActivateMenuItem(oRS.Fields.Item(0).Value.ToString())
                                Dim oForm1 As SAPbouiCOM.Form
                                oForm1 = objSBOAPI.SBO_Appln.Forms.ActiveForm
                                oForm1.Items.Item("1000003").Specific.String = strAcNcmr
                                oForm1.Items.Item("1").Click()
                                oForm1.Items.Item("1").Visible = False
                                oForm1.Items.Item("2").Click()
                            End If
    this is easy solution for open the crystal report for add-on form
    Thanks & regards
    B.lakshmi narayanan

  • Open a Crystal Report preview from an Add-on

    Hi All,
    I'm just trying to open a Crystal Report preview using a button from my add-on.
    I want to use the SAP Crystal report, (the runtime integrated with SAP 8.8)
    Basically I have my report created, so I need to create the object, pass the parameters and open an screen with my preview.
    The main idea is open this Crystal report object when the addon starts and then just use that object.
    I've found an example with this object SAPbobsCOM.ReportLayoutsService but this is for SAP 8.8.1 and I'm working with 8.8. I don't know if i can use SAPbobsCOM.ReportLayout.
    I need a simple example please.
    Thanks .

    Hi,
    Have you read through this: View Crystal Report from add-on ?
    Thanks,
    Gordon

  • Where is the parameter panel on the embedded Crystal Report preview in Visu

    Where is the parameter panel on the embedded Crystal Report preview in Visual Studio?
    I found a tweet on google about this.. but the link is invalid.. and I could not find the article on SDN.
    KB #1486469 - Where is the parameter panel on the embedded Crystal Report preview in Visual Studio? http://tinyurl.com/22thlcg
    How do I the show parameter dialog in either WPF or Winforms viewer of Visual Studio 2010.
    Parameters are not even visible in the Parameters Side panel. It is empty too..
    I see two classes ParameterPrompting and ParameterPrompt both, on initialization throws exception.. even to manually invoke them...
    Is it permanently removed?

    Hello,
    Seems like a reported Bug.
    Please check:
    Re: CRVS2010 - Hide Group Tree and Parameter Panel
    A possible woraround but you need to change as per your need:
    CRVS 2010 BETA - WPF Viewer - How to hide SidePanel?
    Hope it helps.
    Thanks.

  • Closing Report Preview window closes all parent windows

    I have a form 6.0 calling a report 6.0 with several user parameters using run_report_object in preview mode. After the finishing previewing, the user closes the report preview window. Then the preview window closes all the parent windows.
    Need help!
    1) The parameters are char, date and number types.
    2) I don't have a parameter form. I take out the high-light of the parameters on the parameter form and the parameter form title.
    3) I have several user parameters and without the parameter form i'm still able to pass the parameters from the Form.
    Thanks
    null

    report_other parameter can only take 255? characters.
    I use create parameter list and add_parameter instead.

  • How to deploy crystal reports in Windows Azure

    I have developed a web application using VS 2008 and also developed some crystal reports for the appliation, now my task is to  migrate the web application to windows azure and to migrate to Windows Azure we have to convert the application to VS 2010 but in VS 2010 there is no inbuilt Crystal reports now my question is how should i migrate my crystal reports to windows Azure, kindly help me.
    Thanks in Advance
    Ramakrishna Reddy

    Hi,
    Installing [CR for VS 2010 |http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0.exe]on top of visual studio 2010 will give you a bundled crystal designer available inside visual studio 2010 IDE. Apply [SP2 on CR for VS 2010 |http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe]Upgrade the reports in the bundled designer and compile / build your application.
    Take a look at the Deployment section of [CR for VS 2010 Developer guide |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]for recommendded deployment procedures.
    The [MSI (Redistributable runtimes)|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip] is meant to install manually on the app server / client machine.
    Search the forum for 'cr for vs 2010 deployment' you will find many useful threads, kbases, wikis.
    Hope this helps,
    Bhushan.

  • Placement and/or size the report previewer window

    Hello ,
    How can I change the position of reports previewer window?
    (see that is different that parameters form window).
    I like to put on top, because my report pages are very long and
    when it opens you can never get to the bottom scroll bar. You
    must always shrink the window size or move it up.
    I use Reports 6.0.8 and I use the run_product build-in from my
    forms.
    Thanks in advance
    Leticia

    hello,
    you might want to try MAXIMIZE=YES as parameter which opens the
    previewer window in maximized mode !
    unfortunatly you can not position the previewer-window !
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I can't connect to the itunes store. I have the latest version of itunes on my windows 7 computer. I can connect to itunes from my ipad and ipod but no my windows computer. i dont get any error message, the bar at the top just says accessing itunes.

    I can't connect to the itunes store. I have the latest version of itunes on my windows 7 computer. I can connect to itunes from my ipad and ipod but no my windows computer. i dont get any error message, the bar at the top just says accessing itunes

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Crystal Report Preview and Print error

    Hi,
    I am trying my first Crystal report in SAP; I have created one report using OITE table and run it in Crystal Designer without any problem; Then I added it to SAP / Manager Crystal Report / New Report, but I get the following error message when I click the Preview and Print button every time;
    The file does exist and the location is setup correctly; I dont understand why SAP can not find the file; Any comments?
    SAP Crystal AddOn
    Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    OK  

    Hi,
    When you google on "[Could not load file or assembly CrystalDecisions|http://www.google.com/search?q=CouldnotloadfileorassemblyCrystalDecisions]" you will find quite some hits.
    One that might be important for you could be http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/b0fc930f-5fc8-4475-bfe7-ad56616e838d/
    That is depending on how the report is made.
    Another option might be
    http://www.velocityreviews.com/forums/t382557-could-not-load-file-or-assembly-crystaldecisionsweb.html
    Best regards,
    Peter

  • Crystal reports 2008 install freezes on disk space req.

    Unable to install Crystal reports 2008 on server - Windows Server 2008 standard. This is required moving forward for troubleshooting purposes.
    The installation freezes when determining disk space requirements.
    I have tried copying the installation files locally to the server, but same issue occurs.
    I have confirmed I am a local administrator, and there are no policies preventing installation.
    I have installed this same software on other servers before.

    Thomas's reply also worked for me!  Here is the cut/paste excerpt from the link he provided that was the filnal solution, so you won't have to go to that link an read the entire post:
    go back to initial phases of the installation and add french into language packs.
    then pick custom installation.
    don't play with anything.
    and click to next...
    -Alex

  • Crystal Report Preview Problem

    Dear All,
    I have done a crystal report for Sales Quote and imported using Administration-->Setup-->General-->Reports and Layouts.
    It shows that the report is imported successfully but when i go and give print preview, it shows an error as "LogOn Failed Please Try Again".
    I dont know why this error occurs.
    But the other reports are working well.
    Help me solving this issue.
    Regards,
    Janani

    hi
    Janani..
    Actually i never Seen This Type of problem..
    I have one Doubt May be u have Developed in ur system n then import it to the client server..
    before importing have u change the login credentials....
    After i search i got below link just have a look on below post If it's not use ful just ignore the mail....
    System asks for SA Password when printing with Crystal Reports

  • Crystal report Error for CRVS2010 sp2 using Push Method

    I am trying to pass a dataset to a crystal report viewer using SetDatabaseSource.
    I have defined in Crystal to used an ADO .Net Database XML Schema.
    I pass a Dataset to the Report By using SetDatbaseSourece and set the ReportSource for the CrystalViewer but I get the error that crdb_adoplus.dll does not exists.
    Note that Crystal is looking for crdb_adoplus.dll under subdirectory dotnet1.  It resides under win32_x86.
    Is this a Crystal Report Problem ?
    Is their any docuentation that show how to program for ADO xml dataset using crvs2010 ?
    The Error Reads
    System.IO.FileNotFoundException was unhandled
      Message=Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
      Source=mscorlib
      FileName=file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
      FusionLog==== Pre-bind state information ===
    LOG: User = WKST04\GARYB
    LOG: Where-ref bind. Location = C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
    LOG: Appbase = file:///D:/S_and_G/LMS_DotNet/LMS_Solution/LMS/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in LoadFrom load context.
    WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
    LOG: Using application configuration file: D:\S_and_G\LMS_DotNet\LMS_Solution\LMS\bin\Debug\LMS.vshost.exe.Config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/SAP BusinessObjects/Crystal Reports for .NET Framework 4.0/Common/SAP BusinessObjects Enterprise XI 4.0/win32_x86/dotnet1/crdb_adoplus.dll.
      StackTrace:
           at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
           at System.Reflection.Assembly.LoadFrom(String assemblyFile)
           at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr arg)
      InnerException:

    Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel
    Crystal Reports for .NET Framework 4.0 (CRforVS_13_0_2)
    project WPF net 4.0
    crReport = new Reports.Buh.Cma.cr_balances_cma_move();
    using (DataTable tbl = new DataTable())
       using (SqlConnection cn = new SqlConnection(ConnectToDataBase.GetSqlConnectionString()))
             using (SqlCommand cmd = cn.CreateCommand())
                    cmd.CommandText = "proc_name";
                    cmd.CommandType = CommandType.StoredProcedure;
                    using (SqlDataAdapter da = new SqlDataAdapter(cmd))
                            cn.Open();
                            da.Fill(tbl);
      crReport.SetDataSource(tbl);
      crReport.SetParameterValue(4, param["report_name"]);
      myDateTime.GetServerDate();
      crReport.SummaryInfo.ReportAuthor = App.GetPrintInfo();
      e.Result = crReport;
    erorr_message - Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. Не удается найти указанный файл.
    help plz

  • SAP Crystal report on Windows Server 2012

    Hi,
    Let me explain my situation first.
    I have Windows7 dev box with VS 2010, 2012 and 2013. My application backend is Oracle 10g.
    I have an old application build in VS 2005 which I migrated to Framework 4.0 from 2.0.
    I downloaded CR executable from "http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_9.exe" and it worked fine locally.
    But when I deployed the same code on Windows Server 2012.. reports didn't appear.
    Please assist.

    Well, let's get the easy one out of the way 1st
    Licensing of the runtime. The runtime is free for win apps. For web apps it is also free - as long as the app is used within your organization. If the web app is used external to your org, you do need to obtain additional licensing. And for that you will have to contact sales: 866-681-3435
    Now, the actual issue:
    Normally, the runtime is deployed using the MSI, MSM or CLickOnce, Nothing wrong with you installing VS on the server and then CR, but I suspect you're using up a VS license for that (expensive(?)), but that is a decision for you to make. E.g.; uninstalling VS and running the CR SP 9 MSI should suffice. To actually get the viewer working, I'd like you configure the viewer as per the direction in this blog:
    Visual Studio 2012 Crystal Report not working on Windows Server 2012/ 0x800a1391 – JavaScript runtime error: &…
    - Ludek

Maybe you are looking for