Change report database

I guys:
i have a problem when I am trying to change the report database.
the report is currently using a oracle sql to fetch data into the report. when i try to move it to another database (test envirment) tables' schema name is changed so i basicly want to use another query on the new DB, i use the "database|set datasource location" window put new query in.
but CR dont let me to. it shows error: "failed to retrive data from database. "
anyone can help me?
thanks
Howard

You can't if the database tables/fields are not exactly the same as the original report.
Create a new report and if you want the same feature/functions as the original report then copy paste to the new report.
Thank you
Don

Similar Messages

  • How to change the database in Crystal reports

    To give an overview there is one project going on where the oracle database is getting migrated from 10g to 11g.
    All the details of database like IP, port etc are changing as part of this.
    I can see the driver name configured as crdb_ado (Custom driver).
    We have an test environment for 11g against which we have to point all the reports and test it.
    Could you please let me know the below queries
    Where and how to change the IP details in the crystal reports to point to new test and prod databases.
    Overview on this crdb_ado driver
      Basically the database is getting changed and we want the reports to point and run from the new database.
    Thanks

    Hi Vissu,
    Thanks for your reply.
    We need to change the database from the reports which are already running from central management console.
    I can see a custom driver crdb_ado is being used and it connects to a database.
    Could you please let me know where the database configuration is done.
    Ideally we need to add one more database to a config file which i am not able to find.
    I guess it should be similar to tnsnames.ora file in oracle where the different databases are stored.
    From the above image I would like to know where the server details (NECTAR_Prod) would be configured.
    Thanks in advance

  • Project Server 2013 reporting database change in Schema from Project Server 2010

    I have a current Project Server 2010 implementation, I am planning to migrate to Project Online.
    We have Customized Reports that consume from the PS 2010 Reporting DB.
    Are there differences in the Reporting DB schema  between PS 2010 and Project Online?
    My Question is: if we migrated to Project Online, will the reports crash?
    Another question is that, is PS 2013 Reporting DB schema the same as Project Online?

    Hi Atia,
    IN project server 2013 we have only one database instead of 4, it means draft, archive, published and reporting with in one database.Project Server 2013 reporting database schema tool that can be downloaded.
    http://blogs.msdn.com/b/project_programmability/archive/2013/01/28/project-server-2013-reporting-database-rdb-schema-reference.aspx
    There are differences in reporting of on-premises vs. Project Online
    The Project Server 2013 reporting schema includes three new tables, 27 new views, and a total of 33 tables and views that include new fields.
    Answer-1 : Yes there are some differences between PS 2010 and project Online.
    Answer-2 : Reports will crash as In Project Online you have to use ODATA to create report. You can not query project online data for reporting directly you have to have use ODATA. 
    http://msdn.microsoft.com/en-us/library/jj163015.aspx
    Answer-3 : NO, PS 2013 Schema and Project online Schema is different. 
    kirtesh

  • TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.

    The command TfsAdmin ProjectServer /RegisterPWA causes next error:
    TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.
    Project Server returned the following error: "Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.".
     (type ProvisionException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.HandleSoapException(SoapException soapException, String errorResourceString)
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.IsDBSchemaProvisioned()
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionManager.Provision()
    I installed SharePoint 2013 and Project Server 2013 as farm and TFS 2012 and my account has permissions everywhere. I read article
    http://msdn.microsoft.com/en-us/library/gg412653.aspx and gave full permissions for TFS account to SQL and Project, Project app pool account to SQL, but still have an error.
    How can I find out what exactly permissions are not enough???

    The problem was in claims authentication. Changed to Windows and all worked out.

  • How to reflect db changes - Verify Database doesn't seem to work

    I have changed a database (MS SQL Server) column from varchar 255 to varchar 1000, but the designer doesn't pick up the change.
    I read that db changes can be picked up by using 'Verify Database' feature. It doesn't seem to work for us though. Is there any configuration to turn on for the feature to work properly or any work-around to refresh the database changes?
    We are making the database connection using JDBC (JNDI) option since the report is being used in a Java web application.
    Any comments or insights will be very much appreciated!

    Hi Wallie,
    Thank you very much for your reply! Here are the answers to your questions.
    Are you able to create a new report off the modified database?
    ==> Yes.
    Do new reports see the changes made to the database?
    ==> No.
    Are the reports connecting directly to the database table, or is it a stored procedure, business view, universe being used?
    ==> Through a business view.
    By the way, after trying so many things, I was able to figure out the reason. Since the report is using a view, not directly the table, the view itself had to be recompiled to reflect the table changes so that the view could pass the changes to the report. It was a very good thing to know. Your last question could have been a very helpful insight for this issue! Thank you so much again!

  • Facing problem while changing the database at runtime

    hi everyone,
    Before posting this thread, i have gone through the various posts addressing the problem....but still iam unable to get the solution for this problem.
    The report has been generated in one system, so the database properties (connection string....) are hardcoded in the report file...
    Now when iam trying to change the database, it is still connecting to the system where the report file was created.
    I have tried the changeDatasource() method, but it didnot worked....
    here is the code for changeDatasource() method
    public static void changeDataSource(ReportClientDocument clientDoc,
                    String reportName, String tableName,
                    String username, String password, String connectionURL,
                    String driverName,String jndiName) throws ReportSDKException {
            PropertyBag propertyBag = null;
            IConnectionInfo connectionInfo = null;
            ITable origTable = null;
            ITable newTable = null;
            // Declare variables to hold ConnectionInfo values.
            // Below is the list of values required to switch to use a JDBC/JNDI
            // connection
            String TRUSTED_CONNECTION = "false";
            String SERVER_TYPE = "JDBC (JNDI)";
            String USE_JDBC = "true";
            String DATABASE_DLL = "crdb_jdbc.dll";
            String JNDI_DATASOURCE_NAME = jndiName;
            String CONNECTION_URL = connectionURL;
            String DATABASE_CLASS_NAME = driverName;
            // The next few parameters are optional parameters which you may want to
            // uncomment
            // You may wish to adjust the arguments of the method to pass these
            // values in if necessary
            // String TABLE_NAME_QUALIFIER = "new_table_name";
            // String SERVER_NAME = "new_server_name";
            // String CONNECTION_STRING = "new_connection_string";
            // String DATABASE_NAME = "new_database_name";
            // String URI = "new_URI";
            // Declare variables to hold database User Name and Password values
            String DB_USER_NAME = username;
            String DB_PASSWORD = password;
            System.out.println("DB_USER_NAME......."+DB_USER_NAME);
            System.out.println("DB_PASSWORD......."+DB_USER_NAME);
            // Obtain collection of tables from this database controller
            if (reportName == null || reportName.equals("")) {
                Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
                System.out.println("Tables in reports........"+tables.size());
                for(int i = 0;i < tables.size();i++){
                    origTable = tables.getTable(i);
                    System.out.println("origTable........"+origTable.getQualifiedName());
                    if (tableName == null || origTable.getName().equals(tableName)) {
                        newTable = (ITable)origTable.clone(true);
                        // We set the Fully qualified name to the Table Alias to keep the
                        // method generic
                        // This workflow may not work in all scenarios and should likely be
                        // customized to work
                        // in the developer's specific situation. The end result of this
                        // statement will be to strip
                        // the existing table of it's db specific identifiers. For example
                        // Xtreme.dbo.Customer becomes just Customer
                        newTable.setQualifiedName(origTable.getQualifiedName());
                        System.out.println("newTable........"+newTable.getQualifiedName());
                        // Change properties that are different from the original datasource
                        // For example, if the table name has changed you will be required
                        // to change it during this routine
                        // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                        // Change connection information properties
                        connectionInfo = newTable.getConnectionInfo();
                        // Set new table connection property attributes
                        propertyBag = new PropertyBag();
                        // Overwrite any existing properties with updated values
                        //propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                        //propertyBag.put("Server Type", SERVER_TYPE);
                        propertyBag.put("Use JDBC", USE_JDBC);
                        propertyBag.put("Database DLL",DATABASE_DLL );
                        propertyBag.put("JNDI Datasource Name",JNDI_DATASOURCE_NAME );
                        propertyBag.put("Connection URL", CONNECTION_URL);
                        propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                        //propertyBag.put("Server Name", SERVER_NAME); //Optional property
                        // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                        // propertyBag.put("URI", URI); //Optional property
                        connectionInfo.setAttributes(propertyBag);
                        // Set database username and password
                        // NOTE: Even if the username and password properties do not change
                        // when switching databases, the
                        // database password is *not* saved in the report and must be set at
                        // runtime if the database is secured.
                        connectionInfo.setKind(ConnectionInfoKind.SQL);
                        connectionInfo.setUserName(DB_USER_NAME);
                        connectionInfo.setPassword(DB_PASSWORD);
                        // Update the table information
                        clientDoc.getDatabaseController().setTableLocation(origTable,newTable);
    Also i tried with replaceConnection() method...........it displayed the report, but with not column names and data
    need help regarding.......
    Edited by: abhishek.c1984 on Jun 25, 2009 10:02 AM

    In the report i have two tables.............so before changing the database properties for each table iam printing their names.
    The names are dispalyed correctly.......but once i set the table location...i.e through the following method..
    clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
    every time i can see only one table i.e. properties are set for the first table ........and each time the properties are being set for the first table only.....i dont no what is happening to the rest of the tables..
    I have posted the method in the above post.....can any one please trace out the problem
    Note: when i comment the following code, i can see all the tables
    clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
    when i uncomment it, i can see only first table repeating every time...
    Edited by: abhishek.c1984 on Jun 25, 2009 1:03 PM

  • Changing the Database driver causing performance issue

    Hello Experts
    I am finding a strange issue where if I change the database to Oracle 11g ( you will find it if you click the database which you have created in physical layer) under Data Source definition the report takes a longer time to complete.
    Actually I have upgraded the 10g rpd and catlog to 11g but database under data source definition was still using - oracle 10gR1 ( i donno whether this is a driver or not) . Everthing was running perfectly fine until I change the database under data source definition to Oracle 11g , the report takes a longer time . Also I found that the query is changed when I changed the database under data source definition to 11g.
    Also to inform you that datawarehouse is Database 11g where the data lies.
    what is the significance of Data source definition as changing it is changing the whole query.
    Pls. help.

    Hello,
    Do you have the Full Oracle 11g DB Client installed on the same box where you are running your BI Server .? Also can you make sure you have copy of tnsnames.ora in following directories.
    1. C:\Middleware\Oracle_BI1 \network\admin directory
    2. C:\Middleware\oracle_common\network\admin
    Check if the SQL Features that the datasource has , sometimes when you disable SQL features the server could issue a less effcient query to the database.
    Thanks,
    -SVS

  • Need to change report data source on reports in a copied universe

    We are setting up a new testing environment.  So I made a copy of our BO universe so we could have two different testing universes.  I then created a copy of the data source database that will be used as the data source for the reports in the copied universe.  The two different databases have the exact same tables, columns and indexes as the development database.   The only difference will be the data inside the tables. 
    I now need to change the reports to use the new universe since the reports were written using the universe instead of using the database.  I am not changing anything else in the reports.  I just need them to run against a different Oracle database. 
    So I go into Crystal Reports version 11.5.0.313 and open the report up.  I then go into Database fields in Field Explorer to change the data source.  I then go to the Set Datasource Location screen.  I open up the universe label by clicking on the plus sign and I select the copied universe.  When I do that, the Business Objects Query panel screen opens up.  Because I have switched universes, Crystal Reports wants me to reselect the columns and rebuild the query.
    We have over three thousand reports so we are trying to avoid rebuilding them.  I am looking for a better way to change what database a report runs against. 
    Note: All of the reports will be run ion demand.  Nothing will be scheduled.
    Any suggestions and information will be greatly appreciated. 
    Has anyone run into this?   What was your solution to this problem?

    Hi Joe,
    Moved your post to the Universe Forum.
    First you are using the original release of XI R2. You need to upgrade to Service Pack 6 by:
    Run License Manager first to get the keycode if you don't have it on paper somewhere.
    Then download these and uninstall then run full build first:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Try again
    Don

  • Change the database log on parameters in the run time with CR10 Delphi2007?

    Hi,
    I'm using crystal report 10 and Crystal VCL for Delphi. How can I change the database log on parameters in the run time?

    You have to use the ConnectBuffer. See [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 for details.
    Also, consider searching the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    The search; VCL database crystal, returns a number of notes that may be of use.
    Ludek

  • How to change existing database block size in all tablespaces

    Hi,
    Need Help to change block size for my existing database which is in 8kb of block size.
    I have read that we can only change block size during database creation, but i want to change it after database installation.
    because for some reason i dont want to change the database installation script.
    Can any one list the steps to change database block size for all existing table space (except system, temp ).
    want to change it to 32kb.
    Thank you for you time.
    -Rushang Kansara

    > We are facing more and more physical reads, I thought by using 32K block size
    we would resolve that..
    A physical read reported by Oracle may not be - it could well be a logical read from the o/s file system cache and not a true physical read. With raw devices for example, a physical I/O reported by Oracle is indeed one as there is no o/s cache for raw devices. So one needs to be careful how aone interprets number like physical reads.
    Lots of physical reads may not necessarily be a bad thing. In contrast, a high percentage of "good/fast" logical reads (i.e. a high % buffer cache hit ratio) may indicate a serious problem with application design - as the application is churning through the exact same data again and again and again. Applications should typically only make a single pass through a data set.
    The best way to deal with physical reads is to make them less. Simple example. A database deals with a lot of inserts. Some bright developer decided to over-index a table. Numerous indexes for the same columns exist in difference physical column orders.
    Oracle now spends a lot of time dealing (reading) with these indexes when inserting (or updating a row). A single write I/O may incur a 100 read I/Os as a result of these indexes needing to be maintained.
    The bottom line is that "more and more physical I/O" is merely a symptom of a problem. Trying to speed these up could well be a wasted exercise. Besides, the most optimal approach to "lots of I/O" is to tune it to make less I/O.
    I/O is the most expensive operation for a RDBMS. It is very difficult to make this expense less (i.e. make I/Os faster). It is more effective to make sure that you use this expensive resource in an optimal way.
    Simple example. Single very large table with 4 indexes. Not very efficient design I/O wise. Single very large partitioned table with local indexes. This can reduce I/O on that table by up to 80% in my experience.

  • Understand SQL Server 2008 R2 replication features for a reporting database

    Hi, I am using SQL Server 2008 R2 and working on building a reporting database using transactional push replication and want to know the downside that we should aware of using this.
    For instance, is the data always available to the users even when changes are being written from the publisher?
    I am also interested in learning replication mechanism & internals. How should I proceed?
    Thanks in advance........
    Ione

    >>For instance, is the data always available to the users even when changes are being
    written from the publisher?
    Answer is Yes.
    For more information
    http://www.codeproject.com/Articles/715550/SQL-Server-Replication-Step-by-Step
    --Prashanth

  • Convert Report Database Driver in Batch

    is there a utility that will change the database driver to a report in batch?

    Depends on the version and Product you are using.
    Foe Enterprise there is a Publishing Wizard that, depending on the version, will update the DB connection info.
    If it's standalone Reports then no, or at least not provide by SAP. You can write your own using our SDK's if you have a Developer available to write the app for you.
    You can find DB samples here: http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Thank you
    Don

  • Financial Report Database Connection

    Hello Guys,
    Is there any way to change the Financial Report Database Connection for multiple reports at a time?
    Thanks in Advance.
    Raz

    Try this (I am in HFM version 9.3.1)
    1) Put all the reports you want to change in the same folder
    From the web (Explore)
    2) When you go into Tools/Change Database Connections and get to the "Select Financial Documents to Change Database Connection" highlight all the reports you want changed.
    3)Click ok and then in the next screen change the connection.

  • Steps to change universe database connection from SQL server to Oracle 10

    Hi,
    we are moving from sql server to Oracle 10.Please let me know the steps and various parameters I should consider while changing universe database connection from SQL server to Oracle 10.
    Following are the steps which I assumed :
    1.     create a new Oracle database connection or edit the existing connection to point to Oracle server
    2.     Need to check sql for each object, having integrity check for universe will solve the purpose of parsing each object
    3.     Exporting the universe after integrity check
    4.     Report data testing
    Let me know if I miss on any steps.Also what all factors I need to consider while moving to Oracle for eg: what @ custom sql,what @ table names,what @ LOV etc.
    Kindly reply

    Thanks Abhijeet and Shreyash,
    I will follow the steps you have suggested.
    Actually I was searching for this on net and got to know that with Oracle database connection,theres lot of stuff needs to take care of in terms of custom sql and LOV and in our case,we have lot of custom sql for each object in the universe so just wanted to confirm.
    I will do the changes and let you guys know in case theres any isuue specifically to Oracle.

  • Crystal report DataBase Connection Issue.

    I am trying to change the connection string of the report file dynamically base on the connection info in the web.config.
    I have connected to the database A while designing  the report if  to change the database dynamically to database B from code behind.
    I have used the following code.
    But getting an error as "DataBase Logon failed".
    may some one help  in resolving this issue ASAP.
    ParameterFields myParams = new ParameterFields();
                            ParameterField myParam = new ParameterField();
                            ParameterDiscreteValue myDiscreteValue = new ParameterDiscreteValue();
                            myParam.ParameterFieldName = "@ID";
                            myParam.ReportName = strreportfile;
                            myDiscreteValue.Value = Convert.ToInt32(Session["ID"]);
                            myParam.CurrentValues.Add(myDiscreteValue);
                            myParams.Add(myParam);
                                               CrystalReportViewer1.EnableDatabaseLogonPrompt = false;
                            CrystalDecisions.Shared.TableLogOnInfo crConnectionInfo = new CrystalDecisions.Shared.TableLogOnInfo();
                            crConnectionInfo.ConnectionInfo.ServerName = ConfigurationManager.AppSettings["ServerName"].ToString();                        crConnectionInfo.ConnectionInfo.DatabaseName = ConfigurationManager.AppSettins["DatabaseName"].ToString();
                            crConnectionInfo.ConnectionInfo.UserID = ConfigurationManager.AppSettings["UserId"].ToString();
    ConfigurationManager.AppSettings("UserID").ToString;
                            crConnectionInfo.ConnectionInfo.Password = ConfigurationManager.AppSettings["password"].ToString();
                            foreach (InternalConnectionInfo conn in objReportDocument.DataSourceConnections)
                                conn.SetConnection(crConnectionInfo.ConnectionInfo.UserID, crConnectionInfo.ConnectionInfo.Password, crConnectionInfo.ConnectionInfo.ServerName, crConnectionInfo.ConnectionInfo.DatabaseName);
                            CrystalReportViewer1.EnableParameterPrompt = false;
                          objReportDocument.OpenSubreport("test2.rpt");
                         objReportDocument.Subreports[0].SetDatabaseLogon(crConnectionInfo.ConnectionInfo.UserID, crConnectionInfo.ConnectionInfo.Password, crConnectionInfo.ConnectionInfo.ServerName, crConnectionInfo.ConnectionInfo.DatabaseName);
                            for (int index = 0; index <= reportdoc.Database.Tables.Count - 1; index++)
                              reportdoc.Database.Tables[index].ApplyLogOnInfo(crConnectionInfo);
                       CrystalReportViewer1.ParameterFieldInfo = myParams;
                            CrystalReportViewer1.ReportSource = objReportDocument;

    Moved to .NET SDK forums.
    SEARCH here, 100's of posts on how to debug your DB connection problem.
    Good luck
    Don

Maybe you are looking for

  • Vendor line item reports

    In vendor line item reports I want plant field. How can I add this field to my report screen. In my dynamic selections it is not available. thanks and regards

  • Error in installing xmlplsql.jar

    Hi all, I am new to Oracle's XML features. I am trying to load xmlplsql.jar using loadjava. I am getting the following errors. I did install JDK 1.1.8. It is in the PATH. Error. ===== initialization complete loading : oracle/xml/parser/plsql/XMLNodeL

  • Convert Selection for Apple TV produces file without video

    Good morning. I have a .MP4 file (H.264 codec) that plays just fine in iTunes. However, it won't sync to my Apple TV, saying it's not compatible. When I run "Convert Selection for Apple TV," iTunes hums away for a few minutes and then produces a file

  • [solved] Best way to update /etc/gshadow?

    'pyther' is a member of the 'video' group in /etc/group but not in /etc/gshadow 'pyther' is a member of the 'audio' group in /etc/group but not in /etc/gshadow 'somebody' is a member of the 'audio' group in /etc/group but not in /etc/gshadow 'mpd' is

  • Sliding panels slideshow

    When doing a iPhoto sliding panels slideshow what size and orientation should the photos be? Thanks. Im having trouble with some of the photos being cut off.