Crystal Report Universe Connection

Hello,
I have a Crystal report developed based on Universe as the data source. Say this report is in Dev environment. Suppose I need to promote this report to Test environment to UAT or production then how is it possible?    
I have used import wizard using this I am able to move my report from one environment to another. report is successfully moved from source to destination but when I go to refresh the crystal report, an error is thrown (both in Crystal Report designer and Info view) :
"Failed to open the connection. 
Details:
Update of the SQL command from the Universe failed. This report cannot be
refreshed unless the SQL command is updated from the Universe."
As such the Dev copy works fine. Please suggest me how to move a report from 1 environment to another.
If I changes connection manually in UAT Database --> Set Database location -->update then same report work fine,
But I have multiple reports I cannot manually edit connection of each report.
Useful details as below.
Crystal Reports 2008 (Service Pack 1)
Business Objects 3.1 
View the connection details in report.
Set database location
Expand Universe connection
Properties - It will show server details of connection- user name - universe name- path of universe
Kindly advice.

This is the same as: Migration of Crystal Report
Please do not cross post as this is against the SCN Rules of Engagement.
If this is a critical issue, you should be able to create a phone case - I suspect for you this would be free as you have BI / BO(?). If you are not sure how to, see your admin.
I will be locking this post now. Please continue on the above link.
- Ludek
SCN Moderator

Similar Messages

  • How to create a Crystal Report to connect to Oracle

    Hi,
    When I create a Crystal report to connect to SQL Server, I create a stored procedure to get all data I need and connect to it from Crystal Report.(In the stored procedure, I created temp tables, used cusor etc to run data.) But now I need to use a Oracle database. I heard I need to create a package and put this stored procedure in this package. Questions:
    1. if I need to create a package, how can I call the stored procedure from it?
    2. Can I create temp table in this procedure too? I need to create some temp tables to join together to get complex data.
    3. if I want the return data from stored procedure, do I still "select ... from ..." or there is another other ways?
    I am so desperated. Please help. I know this are very silly questions. But please.

    Hi Jenny,
    We are also using Crystal Reports for our Oracle Database, we normally just select the tables we want to use or create our own SQL query.
    However, if you really want to use Oracle stored-procedure (which performs faster than a SQL query because the stored procedure is compiled in advance), you can look at this document:
    http://support.businessobjects.com/communityCS/TechnicalPapers/scr_oracle_stored_procedures.pdf
    Hope this will answer your questions.

  • Crystal reports 2008 connection to universe

    Hi ,
    I am trying to create Crystal Reports using universe as a data source. I am able to logon BOE, select universe and then select the objects that I need to build a query. As soon as I click OK button I am getting "Logon Failed".
    If i use SAP BW MDX Query as the connection it works fine.
    i am able to run a webi report based on the same universe.
    we are using BO XI 3.1 sp2
    thanks

    Hi BO-Experts,
    I have exactly the same problem. However, it seems to be unrelated to the authorizations. The connection works perfectly with one of the sample universes (efashion) which has exactly the same authorizations:
    administrator and universe designer-user have full rights, all has no rights
    I am a comlete novice in BO and very grateful for suggestions.
    Thanks,
    Claudia

  • SAP Crystal Report 2013 - Connection error with Universe

    Hi,
    I've trying to connect Crystal Report 2013 with Universe but I'm getting below error. Please can someone help how can I resolve this error.

    .Unx Universes are Not supported by the legacy CR Designers (including CR 2013).
    For that you have the new CR for Enterprise.
    Does a WebI report against the same Universe work fine?
    Do other universes (.unv only) work fine from CR 2013?
    -Abhilash

  • Crystal Reports-Universe and Business Views. Pros & cons. BVs to Universe

    Hi Gurus,
    We have around 500 + Crystal Reports developed on top of Business Views, Stored Procedures, Command Objects and some directly connected to the tables. No Universes are there in our current environment and all reports undergo frequent changes.
    We are planning to replace Business Views with Universe and use them as data provider for existing Crystal Reports and also planning to do some ad-hoc reporting using Web-Intelligence. I have expertise in developing both Crystal Reports and Web Intelligence reports. But I never designed any complex Crystal Reports against Universe / Business Views.  I heard that there are several issues with Crystal against Universe (e.g.: Cascading Prompts, LOVs, Row Level Security etc...) Most of our Crystal Reports have several sub-reports and some dynamic cascading parameters.
    We currently have not finalized any tool. Some are advising not to disturb the current environment and some say migrating to Universe is a good option because Business View manager tool is going to be trashed in few years.  My personal view is to used both Crystal and Web-I and replace Business Views with Universe because we can use it for both Crystal and Web-I.
    Can you please post your views on this?
    Also, please post the issues (& solutions) you got with Crystal Reports against Universe. Also advantages and disadvantages of using Universe over Business Views.
    Environment: Business Objects XI R2 and Crystal Reports XI R2
    Any help is greatly appreciated!    
    Many thanks,
    Shamanth.

    Hello,
    you can find an article about Crystal Reports on Universe here:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f
    As you said, an important item to consider is reusability: if you want to reuse your work between Crystal and WebI then you have to go with Universes.  If you are ok in keeping the two in separate worlds then Business Views can still bring a lot of value to CR.  Business views will stay in the market still for a long time (in mainteinance, so don't expect new features).
    Looking at the future, we expect that In the long term, business views will be replaced by universes. Keeping this in mind, a migration of a report from an 'older' version of a universe to a new one will probably go smoother than a migration from a business view to a universe.
    Hope that it helps
    PPaolo
    Edited by: Pierpaolo Vezzosi on Jan 5, 2010 11:35 AM

  • Crystal Reports 2008 connecting to Crystal Server 2011

    Hello SAP Experts,
    I am new with the Crystal Client/Server platform and the only knowledge I have with the infrastructure is from the Crystal Server 2011 documentation I have pulled from SAP's website.  I have looked at a lot of online resources but very few have the answers that I need.
    I built an instance of Crystal Server 2011 running on Windows Server 2008 R2.  Our clients are currently using Crystal Reports 2008 client where they connect directly to a SQL 2008 Data Warehouse to pull reports.
    For security reasons, they want to implement Crystal Server 2011 to connect to the SQL 2008 Data Warehouse as a single point of entry, instead of having several Crystal Reports 2008 clients connecting to the SQL Data Warehouse.
    The idea is to have the clients connect to the Crystal Server; the Crystal Server will then connect to the SQL Data Warehouse so clients can pull reports from it.
    My questions are:
    1.  Is it possible to connect a Crystal Reports 2008 client to Crystal Server 2011?  If so, how do I accomplish this?
    2.  Do I need to create a Universe in order for the Crystal clients to pull data/reports from the SQL 2008 Data Warehouse?  Or is there a way I can create a connection without a Universe?
    Any help offered is greatly appreciated.
    Thank you.

    Check our site for more info but in general CR fully respects all DB security, if the user does not have permissions on the table used in the report the report will fail to run.

  • Crystal Report & Liveoffice connection

    Hello,
    I am using Xcelsius (2008,sp3,fix pack 5) and crystal report (2008 sp3) along with liveoffice(sp3). But while a crystal report takes 2-3 seconds to execute but when I  map the same crystal report through liveoffice after uploading the crystal report in infoview it takes around 24 seconds to refresh inside xcelsius. Is there any way where I can improve performance? It will be really a greaty help..

    Hi there,
    If you're connecting to Crystal and refreshing, then you could just use QaaWS (since you're hitting the database anyway). This won't help if you're doing any significant aggregation in Crystal, or can't create a universe on whatever data source your CR is using.
    Option 2 might be to use a Webi report instead of a Crystal report (again, you will need a universe). Then publish your Webi blocks as BI Services.
    This then allows Xcelsius, through the BI Service, to apply a filter to the webi report without refreshing.
    For BI Services you'll need XI3.1 SP2.5 +, but preferably SP4 if you'll have many (more than a hundred) BI Services.
    Hope that helps.

  • Crystal Report ADO Connection Error

    I have a Crystal Reports created against an MS SQL Server DB using an ADO Connection (crdb_ado.dll). I am using a hardcoded user ID and password for logging into SQL Server, everything works fine when I log from Crystal Reports client, I am able to connect to SQL Server and refresh the report.
    When I publish to BOE and access from Infoview or CMC I get an error "[Failed to open the connection.
    xxxx report Details:  [Database Vendor Code: 17 ]]". I use the same account for SQL server under database config for Crystal report within CMC.
    Please see release info below:
    BOE XI 3.1 FP 3.1 (Windows 2008 server)
    Crystal Reports 2008 FP 3.1
    I have checked the  ADO dll version, size etc. on both client and BOE XI server and it looks the same.
    Are there any additional configuration required for this connection to work from BOE XI?
    I enabled log on BOE side and could not get anymore information other than the above message. We also tried with the SQL Server SA account to make sure this is not an access issue.
    Thanks.

    Hi Don,
    Please see answers below:
    >
    > What happens if you set the logon over ride properties for each instance?
    >
    I select the option "Use same database logon as when report is run" and get the error mentioned in the first message.
    > Also need to know what version of SQL Server you are using and if you are using the Native Client or the OLE DB for SQL Server driver?
    >
    We are using SQL Server 2008. I have tried with the OLEDB for SQL driver and with the Native client. In both the cases I am getting the same error. I also tried to change the OLEDB.sbo file as mentioned in note 1204488.
    Thanks.

  • Crystal report subreport connect DB Problem

    I have rpt file was set the connect DB(AAAA). This file have two reproject (main report and subreport)
    The subreport parameter is linked to main report.
    These two report will get the data from DB by the parameter.
    Server Name:AAAA, Database Name: AAAA, UserID: AAAA, Password:AAAA
    for testing and save it.
    I am trying to build a MFC project with crystal report 13
    My project call this rpt file and pass a parameter to main
    The crystal report main report and subreport can get correct infomation where connect to the DB(AAAA)
    but when I connect to the other DB.
    My project only the crystal report main report can get the correct infomation, the subreport cannot get correct infomation.
    it show a diolog to ask me "enter the parameter".After passing a corrent parameter, the result also not corrent.
    The program code:
    CrystalDecisions::Windows::Forms::CrystalReportViewer^  crystalReportViewer1;
    ReportDocument boReportDocument = gcnew ReportDocument();
    boReportDocument->Load(strFilePath);
    String^ strUser = gcnew String (ReportPara->strUser);
    String^ strPassword = gcnew String (ReportPara->strPassword);
    String^ strServer = gcnew String (ReportPara->strServer);
    String^ strDatabase = gcnew String (ReportPara->strDatabase);
    boReportDocument->DataSourceConnections[0]->SetConnection(strServer,strDatabase,strUser,strPassword);
    ParameterValues^ pv = gcnew ParameterValues();
    ParameterDiscreteValue^ pdv = gcnew ParameterDiscreteValue();
    pdv->Value =ReportPara->varDate;
    pv->Add(pdv);
    boReportDocument->DataDefinition->ParameterFields[0]->ApplyCurrentValues(pv);
    crystalReportViewer1->ReportSource = boReportDocument;
    I have try to change the subreport DataSourceConnections:
    for (int j; j <boReportDocument->DataSourceConnections->Count;j++)
          boReportDocument->Subreports[0]->DataSourceConnections[j]->SetConnection(strServer,strDatabase,strUser,strPassword);
    but the result is also not corrent
    I have try to pass parameter to the subreport:
    pv->Add(pdv);
    boReportDocument->DataDefinition->ParameterFields[1]->ApplyCurrentValues(pv);
    for (int i; i <boReportDocument->DataDefinition->ParameterFields->Count;i++)
         pdv->Value =ReportPara->varDate;
         pv->Add(pdv)
         boReportDocument->Subreports[0]->DataDefinition->ParameterFields[0]->ApplyCurrentValues(pv);
    but the result is also not corrent
    I have try to set the ReportViewer LogOnInfo
    TableLogOnInfo^ loi;
    loi = boReportDocument->Database->Tables[0]->LogOnInfo;
    oTblLogOnInfos->Add(loi);
    for (int j=0; j<boReportDocument->Subreports[0]->Database->Tables->Count;j++)
          loi = boReportDocument->Subreports[0]->Database->Tables[j]->LogOnInfo;
          oTblLogOnInfos->Add(loi);
    crystalReportViewer1->LogOnInfo = oTblLogOnInfos;
    but the result is also not corrent

    Hi Edwin,
    I assume you are using the runtime for Cr for Visual Studio which is available from the download page correct?
    You don't want to use the .Add method, this actually adds a NEW parameter, you simply want to modify the current parameter value.
    Sorry I don't have and C++ samples.
    Don

  • Crystal Report 9 connectivity with WebLogic 10.3.5

    Hello,
    Is the Crystal Report 9 certified with WebLogic 10.x? Currently WebLogic 8.x is in use. Trying to upgrade the WebLogic.
    Thanks

    What does this have to do with Database Connectivity?
    An I doubt it, CR 9 is about 8 or 9 years old well before 10.3 was released. Check the Platforms PDF's for more info.
    Don

  • Crystal Reports 2008 connecting to R/3

    I have a general question for Crystal Reports 2008 for use with R/3.
    Crystal Reports 2008 with SAP/R3 Enterprise 4.7
    I installed a trial version of Crystal Reports 2008 and connected it to the R/3 instance using a oracle id which has admin rights so the session can see all of R/3 db including 000 client. It can see all tables within the database.
    To deploy Crystal Reporting for an R/3 installation - is it advisable to connect directly to db?  how do you maintain proper data element access?  Do you create views for a oracle user id, or is there a delivered product or method for allowing user access using some other type of security that limits table access to say finance tables?
    John

    Check our site for more info but in general CR fully respects all DB security, if the user does not have permissions on the table used in the report the report will fail to run.

  • Crystal Reports when connecting to SAP ERP gives Logon Failed error

    Hello Friends,
    We are trying to implement the SAP Best Practices Crystal Reports and Xcleisus Dashboards for ERP. We are using BI 4.0 SP2, Crystal Reports 2011 SP2 and SAP ECC 6.0 FP 5.
    We have done all configurations at the SAP end and successfully adpated a couple of Crystal Reports and they work fine.
    My client machine crashed and I had to reinstall my Windows and all Client Tools. After the installation, when I tried to adapt a few more reports, I face the below problem:
    After opeing the Crystal Report, when trying to Set the DataSource location, I select Create New Connection and select SAP Infosets. The SAP logon popup comes and I select the ECC system and enter the logon credentials for SAP ECC, I get an error message saying
    Logon Failed.
    Details: some square boxes.
    The error doesnt really make any sense. Unfortunately, I am not able to test this scenario in any other machine as I am the only developer here. I am almost sure this is because of some configuration set up in my client machine,
    Can some please help?
    Thanks in advance!

    Hello,
    I recommend looking at a couple of things:
    1) Do you have the latest Crystal transports installed with ECC?  SP 2 has new transports.  Check this subdirectory
    Crystal Reports 2011\DATA_UNITS\CrystalReports\Collaterals\Add-Ons\SAP\Transports\unicode_compatible\cofiles
    Use STMS to see if transports are installed
    2) Are you using 3.1 ?  Do you have the Integration Kit installed on ECC and client side?
    Tammy

  • Crystal Reports data connection using Java beans

    Hi
    My name is Bach Ong, i'm currently perform re-configuring Crystal reports 2008 to connect via
    Java bean to Jboss server, this uses look up service on JBoss server. The connection is using Connect
    look up using the properties:
    java.naming.provider.url=jnp://emgsydapp121:10499
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    for file CRConfig.xml i put as follows:
    <JDBCURL></JDBCURL>
    <JDBCClassName></JDBCClassName>
    <JDBCUserName></JDBCUserName>
    <JNDIURL>jnp://emgsydapp121:10499</JNDIURL>
    <JNDIConnectionFactory>org.jnp.interfaces.NamingContextFactor
    y</JNDIConnectionFactory>
    <JNDIInitContext>/</JNDIInitContext>
    <JNDIUserName></JNDIUserName>
    Can you advise us if this step is correct, and is there any
    documentation that can guide us to right direction.
    for Java testing in Eclipse using remote call class it is working suing the following code:
            Properties p = new Properties();
            p.put(Context.INITIAL_CONTEXT_FACTORY,
            "org.jnp.interfaces.NamingContextFactory");
            p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
            p.put(Context.PROVIDER_URL, "jnp://emgsydapp121:10499");
             InitialContext ctx = new InitialContext(p);
      Date asAtDate = CrystalUtils.convertToDate("2014-01-01", CrystalUtils.relativeToToday(0), false);
         String asxCode = "BHP";
         ClosingPricesReportRequest criteria = new ClosingPricesReportRequest(asAtDate, asxCode);
         InitialContext context = new InitialContext(p);
         ClosingPricesReportService ejb = (ClosingPricesReportService) context.lookup(ClosingPricesReportService.REMOTE_JNDI);
         ClosingPricesReport report = ejb.createMTMClosingPriceReport(criteria);
         System.out.println(report.getClosingPrices()[0].getClosingPrice());
         testval = report.getClosingPrices()[0].getClosingPrice().toString();
         System.out.println(testval);
    when i run the tes code the results as follow:
    10:49:45,244 DEBUG [SecurityAssociation ] Using ThreadLocal: false
    10:49:45,338 DEBUG [MicroSocketClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] constructed
    10:49:45,338 DEBUG [MicroRemoteClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] connecting
    10:49:45,338 DEBUG [MicroSocketClientInvoker ] Creating semaphore with size 50
    10:49:45,338 DEBUG [MicroRemoteClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] connected
    10:49:45,369 DEBUG [ClientSocketWrapper ] reset timeout: 0
    10:49:45,650 DEBUG [InvokerRegistry ] removed SocketClientInvoker[709446e4, socket://emgsydapp121:10473] from registry
    10:49:45,650 DEBUG [MicroSocketClientInvoker ] SocketClientInvoker[709446e4, socket://emgsydapp121:10473] disconnecting ...
    10:49:45,650 DEBUG [SocketWrapper ] ClientSocketWrapper[Socket[addr=/10.137.2.40,port=10473,localport=64150].2cba5bdb] closing
    37.99000000000000198951966012828052043914794921875
    37.99000000000000198951966012828052043914794921875
    Can anyone assist me in convert the above settings to get access by Crystal reports.
    My attemp current are below:
    public class CFDClosingPricesRpt extends CrystalReport {    
        //Constructor
        public CFDClosingPricesRpt(){
            super(ClosingPriceBean.INSTANCE);
         * Returns the ResultSet for this report to Crystal.
         * @param asxCode
         * @param asAtDateString
         * @return
    public ResultSet getNewReport(String asxCode, String asAtDateString) {                     
         try {
             Properties p = new Properties();
             p.put(Context.INITIAL_CONTEXT_FACTORY,
             "org.jnp.interfaces.NamingContextFactory");
             p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
             p.put(Context.PROVIDER_URL, "jnp://emgsydapp121:10499");
             //InitialContext ctx = new InitialContext(p);
             clearCachedReportBeans();     
       Date asAtDate = CrystalUtils.convertToDate("2013-01-01", CrystalUtils.relativeToToday(0), false);
          asxCode = "BHP";
          ClosingPricesReportRequest criteria = new ClosingPricesReportRequest(asAtDate, asxCode);
          //ClosingPricesReportService ejb = (ClosingPricesReportService) ctx.lookup(ClosingPricesReportService.REMOTE_JNDI);
          ClosingPricesReportService ejb = (ClosingPricesReportService) ServiceLocator.getInstance().getService(ClosingPricesReportService.REMOTE_JNDI);           
          ClosingPricesReport report = ejb.createClosingPriceReport(criteria);
          // assemble Crystal-friendly DTO
          Collection closingPrices = Arrays.asList(report.getClosingPrices());
          for (Iterator iter = closingPrices.iterator(); iter.hasNext();) {
                    MBLXClosingPrice cp = (MBLXClosingPrice) iter.next();               
                    if (cp==null) continue;               
                    addReportBean(new ClosingPriceBean( report.getSuppliedDate(),
                                cp.getClosingPrice(),
                                cp.getAsxCode()));
      } catch (Throwable x) {     
          saveErrorMessage(x);
      return getAsResultSet();             
    Thanks
    Bach Ong

    Hi Don Thanks for the reply.
    I've was able to connect via Java beans and JNDI. But this one is going the JNDI of JBoss sever, which the JNDI already configure and working for Crystal reports v10.
    Bach

  • Using Crystal Report Data Connection in Xcelcius 2008

    The documentation does not explain how data to populate row, column and details is passed to SWF.
    Can some-one please point how CR Data Connection when created in Xcelcius 2008 is used in Crystal Report Design time ? Is it through Flash variables? Basically more details are needed for "when setup properly" clause. How to map Crystal Reports Fields to Xcelcius Definitions.
    Thanks
    Harish Tejwani
    From Doc:
    "With the release of Crystal Reports 2008, it is now possible to embed an Xcelsius-generated SWF file into a Crystal Report and have the SWF consume data from that report. When set up properly, refreshing the data in your Crystal Report will update the embedded SWF.
    To configure your Xcelsius SWF to consume data from its Crystal Rport source data, you must open the Data Manager in Xcelsius and add a new Crystal Report Data Consumer connection. After adding the connection, bind the following ranges to your spreadsheet:  Row Headers, Column Headers, Data"
    "Using Crystal Reports 2008, embed the SWF file into the Crystal Report source data file. When designing your Crystal Report, you will determine what fields/data populate the Row Headers, Comumn Headers, and Data ranges that were designated in your Xcelsius SWF. When set up properly, refereshing your Crystal Report will also refresh the data being sent to and consumed by the embedded SWF. See"

    <div class="content">
    <p>
    Please check the following post to see if there is a solution to the issue you are experiencing:
    </p>
    <p>
    <a href="/node/19014"><span style="color: #0063af">http://diamond.businessobjects.com/node/19014</span></a>
    </p>
    </div>

  • Crystal Report DB Connection

    Hi,
    I want to design Custtomized reports for SAP Business One in Crystal Report. Please guide me how can I connect with the server and database so that it becomes general and I can use it in any SBO server at different client places without doing any changes in the report. If I use OLEDB provider for SQL then I need to replace the server everytime I change the server.
    Please tell me the way how it is done.

    Hi
    Search SDK forum for "Crystal"... I think so you can find solutions
    For example, I found very usefull this [Thread: How to Change Crystal Report database name from visual basic code?|How to Change Crystal Report database name from visual basic code?; for CR functions...
    Regards
    Sierdna S.

Maybe you are looking for

  • I have iphone6 and I cant open PDF files which attached to my email

    Dear All I have iPhone and I cant open PDF files which attached to my email Regards

  • Problem script

    Hi all, I have small problem in Script I have a HEADER window, MAIN window , FOOTER window. when i have more line items the Main window will be exceeded to next page but Footer window is in first page only. Ex:- Signature e.t.c. But i want that in Af

  • /sbin/fsck -fy /sbin/mount -uw /

    All of the your contributions to the Apple Forum is greatly appreciated . This is continued from the last inquiry. This may or may not have any relation to posts on regarding Apple Mac Graphics Memory And Virtual Memory problems posted in the forum ,

  • How to grant ora_dba to a domain user?

    Hi all, 11.2.0.1 Win7 I installed 11.2.0.1 on my windows laptop as local user, and I can sqlplus / as sysdba with no password entered. Now, as security policy we are required to login using domain user and our sysadmin local password was revoked from

  • Problems with projects

    After upgrading to iphoto 9.2.1 (628) I can't start any projects (e.g. calendars or books). I also can't export any photos. Any suggestions?