Why Crystal Report save development environment information

One report, version 11, includes two sub report. Preview is ok in development, called by program is ok too, even change several SQL Server and DB. But after deploy to production, it raise error "Failed to retrieve data from the database. Details: [Database Vendor Code:911]". And after preview production data in Crystal Report designer, and save report template file (Not include data). Called by program to connect production, it is ok. But called by program connect to back development DB, it raise same error. Seems report template file saved development information, and reject program passed DB information.
Thanks very much for your suggestion.

It sounds like you haven't added any code to change databases at runtime. I suspect the code you thought you were running successfully in dev didn't work to switch DBs. It probably continued to connect to the dev DB.
Saving the original DB info is done by default for a Crystal Report .rpt file. Search the forum and read the developer SDK guide on how to change databases at runtime.

Similar Messages

  • VS2008/VS2005 and Crystal Reports 2008 Developer

    Hi,
    1.) I am using VS2008 and Crystal Reports 2008 Developer. Are there any issues I need to consider when developing using both of the above? (or with VS2005)
    2.) The confusion for me is in regards to the SDK. From what I understand from articles etc is that using CR 2008 dev we can use the .NET SDK or RAS SDK for development purposes?
    3.) So downloaded the sample code for RAS .NET from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375] and tried "DatabaseLogon_CS" example, as the option. It automatically opened in VS2005 (no problem) however it would not run.
    I would get an error :
    Failed to connect to server "localhost".
    Error returned from Windows Sockets API : 0.
    and line causing this is >>> rcd.Open(ref path, 0);
    Code below:
            string sampleReportPath = @"C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples\en\Reports\Demonstration\World Sales Report.rpt";
            object path = (object)sampleReportPath;
            // Create an instance of the ReportClientDocument.
            ReportClientDocument rcd = new ReportClientDocumentClass();
            // Set the location of the RAS server.
            rcd.ReportAppServer = "localhost";
            // Use the Open() method of the ReportClientDocument to open the report.
            rcd.Open(ref path, 0);
    I have been able to open the RPT file by itself. So it does 'see' the database.
    Reason why it would not run?
    Any help would be appreciated. Thanks

    If you're using the sample code from our website, make sure you have uncommented the InprocRAS option in the ConfigureCrystalReports method (see below). From your error description it seems like you're using the unmanaged RAS option, which requires a RAS server.
    private void ConfigureCrystalReports()
            /* The following methods implement the same sample functionality in three different RAS
             * scenarios. Uncomment the method you would like to use.
             * - inprocRAS() logs onto a databse using RAS and SQL authentication.
             * - managedRAS() logs onto a database using RAS and SQL authentication from a managed RAS server.
             * - unmanagedRAS () logs onto a database using RAS and SQL authentication from an unmanaged RAS server.
             * Undocument the call to the method which applies to your appropriate RAS settings.
            DatabaseLogon_inprocRAS();
            //DatabaseLogon_managedRAS();
            //DatabaseLogon_unmanagedRAS();

  • Crystal Reports XI Developer Release 2

    What is the upgrade method of going from Crystal Reports XI Developer to Crystal Reports XI Developer Release 2.
    I've seen mention on other forums and help-desk websites that it is a free upgrade for a registered user of Crystal Reports XI Developer. However, I can't how this is done.

    Hello,
    There are a number of ways to get the physical download.  Here's one that's pretty easy. Go to the [Downloads page |http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm]for Crystal Reports and set the search criteria for service packs for Crystal Reports XI R2.
    Software Product: Crystal Reports
    Product Version: XI Release 2
    Software Type: Service Pack
    You'll see a number of downloads.  Download one of the Full Build packages like "Crystal Reports XI Release 2 - Service Pack 4 Full Build".
    After downloading CR XI R2 you should uninstall CR XI and then install CR XI R2.  CR XI R2 is not really an upgrade to CR XI.  It is it's own stand alone version.
    You'll sometimes see issues in Crystal Reports if you don't fully remove CR XI by following manual cleaning steps.  You may need to do the following from SAP Note 1218535 - How to manually uninstall Crystal Reports XI:
    +++++++++++++++++++++++++
    Symptom
    Crystal Reports XI is installed on your computer. You need to manually uninstall Crystal Reports XI for one of the following reasons:
    To verify that all Crystal Reports XI components have been completely removed prior to installing a later version of Crystal Reports.
    To remove the remaining Crystal Reports XI components that have not been removed using the 'Add/Remove Programs' command (Start > Settings > Control Panel).
    To remove the remaining Crystal Reports XI components that have not been removed using the Setup.exe file from Crystal Reports XI installation CD.
    Resolution
    Before getting started, uninstall Crystal Reports XI by launching the Setup.exe file from the installation CD or by using the 'Add/Remove Programs' command. If either of these methods fails to remove all Crystal Reports directories, files and registry keys, then continue with the resolution of this article.
    WARNING: This resolution can be applied if Crystal Reports XI is the only software installed on the computer that uses the Business Objects directories, files and registry keys.
    For example, Crystal Analysis, Crystal Enterprise and BusinessObjects Enterprise XI are applications that may share the same directories, files and registry keys. Removing these directories, files and registry keys may cause other software to function incorrectly.
    1. To manually uninstall Crystal Reports XI, delete the following directories:
    C:\Program Files\Common Files\Business Objects\3.0
    C:\Program Files\Business Objects
    NOTE: Do not remove the directory C:\Program Files\Common Files\Business Objects\3.0 if you have BusinessObjects Enterprise XI or Crystal Reports Server XI installed. These files are shared by both applications and removal of these files will cause Business ObjectsEnterprise XI and Crystal Reports Server XI to function incorrectly.
    WARNING: The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk.
    HELP: For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    RECOMMENDATION: It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    2. Delete the following registry keys:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\
    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports
    HKEY_USERS\S-#-#-##-...-####\Software\Business Objects\Suite 11.0\Crystal Reports
    The number signs (#) represent a series of numbers that are different on each computer.
    After making changes to the registry, restart the affected service or application as required.
    ++++++++++++++++++++++++
    Sincerely,
    Dan Kelleher

  • Crystal Report XI Developer Installation issue.

    Hello,
    I have recently installed Crystal Report XI Developer with a view to developing a C# application that will use the embedded Crystal Viewer to view previously published Crystal Reports. This will replace an application we wrote in visual basic that used Crystal Reports version 9.0 to do its job.
    My problem is that the redistributable runtime files that I expected to come with the installation do not seem to be present on my system. I will need them to both redevelop the application and provide as part of our installation program.
    I discovered this when a prototype I had developed using a time limited trail version of Crystal stopped working once I had unistalled it and installed the replacement developer edition.
    The prototype failed with the message:
    u201CAn error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permission 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. u201C
    Looking into this further I discovered the root of the problem was that the protoype was expecting to use a higher version of assemblies than were still present on my system. All I have now is 10.5.3700.0. which I believe coresponds to the version those that are supplied with Visual Studio 2008. I was expecting to see version 11.0.3300.0 assemblies becoming available.
    I have looked on the site but cannot see an msi file available for Crystal XI ... there is a lot of talk about merge modules but I do not yet know how of if these will provide me with what I need.
    Help on this would be very gratefully recieved..
    Thanks.

    Hi Martyn,
    You are correct, you installed the version for CR 2008. We don't have a MSI for CR XI. You'll have to build your own deployment package using the MSM's which you can downlaod from this [link|https://smpdl.sap-ag.de/~sapidp/012002523100006008972008E/crXI_net_mm.zip]:
    What you are looking for is "Merge Modules for Crystal Reports XI .NET Deployments"
    Thank you,
    Don

  • Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard

    I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
    Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
    I am a newbie at development in visual studio. Any help will be highly appreciated.
    Thanks,
    Rajib

    Don't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
    Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
    Look in the registry for HKLM\software\business objects and remove the business objects entry.
    Download CR 2008 from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Crystal Reports XI Developer in 64 bits - ODBC Oracle

    Hello
    Operating System: Microsoft Windows Server 2003 R2 Standard x64 Edition Service Pack 2
    Crystal Version: Crystal Reports XI Developer Full Product (Spanish)
    ODBC installed: Oracle 9.2 through c:WINDOWSSysWOW64odbcad32. (32-bit ODBC Administrator)
    Test succeeded from 32-bit ODBC Administrator
    Problem: In Crystal Reports, when I choose the previous data source appears the error:
       No se pudo abrir la conexion.
       Detalles: 08004:[Oracle][ODBC][Ora]ORA-12154: TNS:no se ha podido resolver el nombre de servicio
       Código del proveedor de base de datos: 12154
    Thanks
    Edited by: Josep Maria Barón Isanta on Feb 20, 2009 1:09 PM

    Hi Josep,
    You can follow the below link.
    Just check if the version of oracle is supported with 64 bit version.
    Else just follow the below:
    The issue has been identified and tracked.If Business Objects Enterprise is installed to a location containing brackets in the folder path, for example, C:\Program Files (x86)\, it will be unable to connect to any Oracle database. Certain Oracle database clients such as version 10.2.0.2 or 10.1.0.2., do not function properly with any application which has brackets in its folder path.
    Resolution :
    There are two options to resolve this:
    When installing Business Objects Enterprise, please choose an install path that does not contain brackets such as C:\Program Files x86\ or contact Oracle support for an updated database client.
    This issue is Oracle bug 3807408 and can be fixed by applying 10.2.0.1 Patch 6. This can be downloaded from Meta link if you have an account:
    http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5059238
    Just copy   the  link and down load the patch from the oracle, for this you need to be registered in the oracle product download site.
    Hope this helps you.
    Regards,
    Naveen.

  • Crystal Reports XI Developer Edition - Invalid Key

    Hi All,
    I have downloaded Crystal Reports XI Developer Edition trial from Business Objects site and received the key for the same by email.
    Key Code: CP80U-F1YV0X7-0006VH1-AP81
    When i input the same key during installation, i receive an error message saying the key is invalid. I tried again by re-registering and got the same key from Business Objects.
    Has any one faced this problem?  Please help me in getting the right key.
    regards,
    Pruthvi R

    Hi Pruthvi,
    Try this:
    For a new key:
    Request key codes for new orders via SAP Marketplace (SMP), will receive a download letter on new purchases providing them with their SMP login credentials. Using these credentials you can login and click in the "Keys & Requests" tab > Request a License key.
    If your Key code does not work
    You need create a customer message https://websmp107.sap-ag.de/message using component XX-SER-LIKEY-BOJ.
    Regards,
    Shweta

  • Crystal Report XI developer kit not running after install

    Hi, I am new in Crystal Report. We just purchased Crystal Report XI developer kit, and I installed it on a windows 2003 server with sp II. But when I go to program file-> BusinessObjects XI->Crystal Reports->Crystal Reports XI to try to launch Crystal Report, nothing show up, not even an error message. I did unistall and reinstall the software again once, but still the same. On the server, there is .NET framework 2.0.
    Anybody please help how to make Crystal Report XI up running.
    Thanks,
    Qiaomei

    Ludek,
    I am quite confused too. I could not find about | help anywhere related to Cyrstal Report. I wish I could attach an image to show you if I can. Here is what it looks like if I go to programs
    from start->programs ->
    BusinessObjects XI -> Crystal Reports----
    >Crystal Reports for .Net Samples
    Crystal Reports XI  -
    Business Objects License Manager -
    Crystal Reports XI
    Registration Wizard
    Report Designer Component Samples
    If I go to Business Objects License Manager, the first line of the window is
    Product: Crystal Reports Developer
    I am not sure if this can help you understand what I have.
    Thanks.
    Edited by: fqmchy on Mar 30, 2009 7:19 PM
    Edited by: fqmchy on Mar 30, 2009 7:20 PM

  • Crystal Reports Error, Developer Edition, XI R2

    Post Author: squiggly12
    CA Forum: Deployment
    I have a non embedded report sitting on a network server, and I have a program that when a menu link is clicked, it calls a .net dll which then popluates a .net 2.0 dataset, then crystal will load that table, and display my report. This works fine on any computer that has a full install of crystal, but when i try to run it from a client computer, this error shows.
    I was going to add an image to this post, but I am not able to as the little insert/edit image button isn't working. So i'm going to type out the full error message.
    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 currect version of the crystal reports runtime (x86, x64, or itanium) required. Please go to http://ww.businessobjects.com/support for more information.
                                                 [OK button here]

    Any news on this thread, I have exactly the same problem, at this time, It has passed 2 years, and I do not find any solution yet!
    Can anyone provide me on solution.
    I have bought CR XI, I have installed Vista x64 on my developer machine, and I will not rollback to Windows XP x86.
    Does BO have one Runtime (AT LEAST for develop), because I can build reports, but I cannot test them because the code does not run without the x64 version of the Runtime.
    If I do not have any solution in 2 weeks I will garbage Crystal Reports and go for Another solution, and start selling another solutions integrated on our products.
    Thanks
    Rui Silva

  • Crystal Report: Save a Crystal Report to BW, no Roles found

    Integrating BusinessObjects Enterprise and BW:
    - Some configuration works have been done
    - Crystal Report can connect to BW
    when [Save a Crystal Report to BW], then Connect to BW,
    Dialog "Save a Crystal Report to BW" show up, but in Roles Description : "No Entry Found"
    somebody any ideas, thanks!

    Hi,
    please check the following thread:
    [No roles in Crystal Reports available;
    Regards,
    Stratos

  • Programmatically create objects and formulas in Crystal Reports XI Developer edition?

    <p>Is it possible to programatically/dynamically create a text, line, formula field object, etc. in Crystal XI Developer edition?  I have been programming with the Crystal .Net reports component that came with VS 2005 for the past 6 months and know for a fact you can&#39;t programmatically create those objects although you can programmatically control their properties.  My intention is to create a dynamic report that can be reused extensively.  My current work-around for this was to create a generic report with about 40 formula field objects which draws data from 40 corresponding formula fields that I can programmatically set it&#39;s formula thus imitating a report field.  I want to update to the developer edition because I heard with this edition we can programmatically create and manipulate these objects but I found no reference or examples anywhere that proves we can do this?  Does anyone know for a fact or point me to the right place to look for documentation?  TIA</p>

    Hi,
    How can I programmatically refresh list of values status on CR server XI R2?
    Currently, after I modified the data source in the data connection, some of the LOVs in the report prompt window became empty when I tried to generate the report. I have to use Business View Manager to log onto the Crystal reports server XI R2, find and double click the list of values object to bring up the Edit LOV window, and then click on "Refresh Status" button to make the LOV available in the report prompt window.
    What SDK should I use to create a simple application (preferable a desktop application) to find all LOV objects on CR server XI R2 and to refresh their status? That is an application similar to the "Refresh Status" function in Business View Manager.
    I found Report Engine SDK has the Lov.Refresh function to refresh LOV. On the other hand, Report Engine SDK seems to be for BusinessObjects Enterprise, not for Crystal Reports Server. Can this or other function achieve what I want, i.e. to refresh list of values status on CR server XI R2? If yes, can I use it to develop a self-contained desktop application instead of a web application? I only need to run this application after I modify the data source in the data connection, so I prefer not need to deploy it as a web service.
    Thanks for your help.
    C.T.

  • Crystal Reports Save As shows only a max of 100 sufolders in the Enterprise

    Hi,
    We are having an issue with Crystal Reports 2008, when we try to save reports to the Enterprise repository (Business Objects XI R2).
    We have a huge list of customers in one of the top folders in the repository structure, but in crystal, when you go to File>Save As>Enterprise and expand folders there, only 100 customer subfolders are displayed.
    In InfoView you can see the same hundred folders, plus a NEXT link, that will display the rest of the list. No idea if there is a relatinoship between the BO configuration and the Crystal behaviour, but it is not working in crystal!
    Can anyone please help?
    Many thanks,
    Alvaro

    Hi Alvaro, 
    If you right-click on the parent folder, you will have the option for First Batch, Next Batch, Previous Batch, Last Batch and Find.  You can use these options to find the folder you need. 
    Good luck,
    Brian

  • Problem of deployment of crystal report on development client

    Hi,
    We have a issue with running crystal report on our development server.
    After crystal report files (.rpt) is saved on the BOE server, when it
    is opened through InfoViewApp or OpenDocument, the connection to MySQL failed, the error message "Failed to open the connection"
    Both 32-bits and 64-bits MySQL ODBC connectors are installed on the machine and both system and user DSN has been added on the system. After setting the database configuration in the CmcApp, there is no connection problem when opening the rpt file directly with another crystal report development platform, data can be correctly drawn when previewing the report.
    Can you help to trouble shoot the issue ?
    Any help is highly appreciated.

    Hi Thomas
    If you are facing issue with your report only from the enterprise, I would suggest you to post you question in the Expert Forums » Business Objects » BusinessObjects Enterprise Administration.
    Regards
    Sourashree

  • Crystal reports asking for login information at runtime

    BH
    Hi,
    I've installed the Crystal Reports for VS2010 (filename: CRforVS_13_0_9).  I've created a new "Crytal Reports Application" Project and I've added dataset which is connected to Access 2010 database. When I create a new report I use the "Project Data > Ado.Net Datasets > CrystalReportsApplication8 > Ledger" as my connection. I connect the report to the CrystalReportViewer in Form1.
    However, when I run the application, I get prompted for a Username and Password. Even though I type in the correct user name and password, it does not let me login and view the report.  I've been struggling for a few days with this.  What am I doing wrong?  I do not want the application to prompt for a username and password, because I've already entered the credentials in the application.  I've searched on the web for a solution, but with no success.  Please help.  I'm using C#.
    Thanks
    Aron

    See if this document will help:
    Crystal Reports Guide To ADO.NET
    Go to page 6 and follow the instructions there. Also, see KBA 1525432 (search box is ion top right corner)
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • VB6.0 Crystal Report Viewer development

    <p>Making progress working with Crystal XI report viewer in VB6.0 but sure would like a book.  I have managed to add code in a button to run two reports.  Each report using the same crystalreportviewer  object.  One of the reports has a selectrecordformula.  It will error out sometimes but I dont&#39; understand why.  THe value is the same.  Is this a bug or is it just my lack of knowledge.  I click the button and if both reports have been selected(checkboxes used) and there is a count (count with each checkbox) then the bot reports worked.  After printing just the first report (has parameters but no formula) then go back and request both by clicking on checkbox the second one errors out.</p><p> Error  Message &#39;Basic syntax is not supported in group or record selection formula&#39;.  If this is not valid syntax why does it work sometimes and not the other.</p><p>&#160;</p><p>Also need to know how to select printer without using .viewprint.  I am using </p><p>Call objReport.PrintOut(False, numcopies, True, 1, 999) for printing.  THe user does not want to see each report.  They only need to select printer.</p>

    Joshua has a good resolution for the selection formula. I also believe that the latest SP for CR XI will resolve the issue. As to selecting a printer:
    Report.SelectPrinter "printer driver name", "printer name", "port name"
    You could also display the standard printer setup dialog box as:
    report.PrinterSetup Me.hWnd
    Remember that every time you select a new printer, you have to reset all the non default print properties. E.G.; if the report was designed to use Landscape paper and the printer uses Portrait by default, you have to reset the report after selecting a new printer as:
    report.PaperOrientation = crLandscape.

Maybe you are looking for