How to change database in CR XI Release 2?

I'm using CR 11 Release 2
I created a report pointing to a SQL stored procedure in our 'development' database (called development).  I now want to change the report to point to the identically named stored procedure in our 'Production' database. 
I tried the Database --> Set Datasource Location and then Verify Database from the menu, but my data doesn't show. When I look at 'Show Sql Query' on the database menu, it still shows the 'development' database.  This is wrong.  Why aren't my changes taking affect?
All my attempts at searching for a solution have turned up with the above solution.  What am I doing wrong?
Thanks in advance for your help.

Hi
When you go in Set Datasource Location have you updated your old connection with new connection ?
If not create a new connection to your new environment and update the connection with new.  Also try to create a new report using new environment stored procedure and check the data.
Thanks,
Sastry

Similar Messages

  • Problems with spfile. How to change database parameters

    Hello
    My Oracle database is 10.2.0 and SAP version is NW2004s. I am having errors in alert.log file
    Thread 1 cannot allocate new log, sequence 3959     
    Checkpoint not complete                             
    Sun Aug 27 01:38:12 2006                            
    I have changed the parameter log_buffer from 14274560 to 1048576 following the SAP Note 830576. I changed the pfile and created a spfile from this pfile. Now the pfile and spfile reflect the parameter log_buffer as 1048576.
    But surprisingly, when I say
    SQL> show parameter log_buffer
    NAME                               TYPE                VALUE
    log_buffer                         integer         14274560
    Even after pfile and spfile reflecting 1048576 value for log_buffer, the database is showing this old value. Kindly let me know how to change the log_buffer parameter.

    hi,
    check which file it is reading
    sql>sho parameter spfile
    If it is reading spfile
    issue alter system set log_buffer=<value> scope=spfile;
    down and bring up database
    If it is not reading spfile means reading pfile change parameter in INIT<SID>.ORA file
    move all files which starts with spfile in dir $ORACLE_HOME/dbs to backup location
    connect to database
    create spfile from pfile
    check $ORACLE_HOME/dbs only one spfile<sid>.ora exists
    bring up database
    and look for log_buffer
    I guess ur changing in some other file which oracle is not reading.
    or u can issue startp pfile='path';
    then u can create spfile and issue startup force.
    regards
    Vinod

  • How to Change Database of Report before Exporting?

    I am having difficulties changing the database that the report should run against.
    We are using Oracle.  In the past when scheduling a report through CE, I would manipuate the Desktop.ReportLogons object.  For Oracle I simple changed the CustomServerName, CustomUserName, and CustomPassword properties.  Everything worked fine when the report was scheduled and ran.
    Now I am doing an on-demand report without an interactive viewer.  I am doing everything in code using RasAppFactory and the ReportClientDocument.
    I am looking at the DatabaseController of ReportClientDocument.  I thought I could just use the LogonEx method passing in the server, user, password, and an empty string for the database since for Oracle connections you only specify server and not database.  However, it is still trying to connect to the defined database.
    Can someone point me to an Oracle specific example of how to properly change database info when report runs?
    Do I need to be using other methods like one of the SetTableLocation methods?
    Thanks in advance for any help.

    Hello, Stephen;
    You are correct, with Oracle you do not need the Database property.
    The person logged on to Business Objects Enterprise through the RAS .NET application would need rights to make the change in database connections. Can the usr with the same logon make the change directly in Enterprise?
    The ReportClientDocument separates the Server Name and Database from the User ID and Password with the PropertyBag. The convenience methods such as LogonEx will only change the User ID and Password. To change all four properties you need the full RAS logon code.
    The full logon for RAS would use code as shown below.
    Elaine
    ==========================================
    Imports System
    Imports Microsoft.Win32
    Imports CrystalDecisions.Enterprise
    Imports CrystalDecisions.Enterprise.Desktop
    Imports CrystalDecisions.CrystalReports.TemplateEngine
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.Controllers
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.CommonObjectModel
    Imports CrystalDecisions.ReportAppServer.ObjectFactory
    Partial Class Logon
        Inherits System.Web.UI.Page
        Dim mySampleReportName As String = "SimpleSetLogonInfo.rpt"
        Dim crServerName As String = "myOracle"
        Dim crDatabaseName As String = ""
        Dim databaseUserName As String = "tester"
        Dim databasePassword As String = "tester"
        Dim crDatabaseController As DatabaseController
        Dim crDatabase As Database
        Dim crTableOld, crTableNew As Table
        Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            ConfigureCrystalReports()
        End Sub
        Private Sub ConfigureCrystalReports()
            DatabaseLogon_managedRAS()
        End Sub
        Private Sub DatabaseLogon_managedRAS()
            Dim mySessionMgr As New SessionMgr()
            Dim myEnterpriseSession As EnterpriseSession
            Dim myReportAppFactory As ReportAppFactory
            Dim myInfoStore As InfoStore
            Dim myInfoObjects As InfoObjects
            Dim myInfoObject As InfoObject
            Dim myReportClientDocument As ReportClientDocument
            Dim myEnterpriseService As EnterpriseService
            Dim myObject As Object
            myEnterpriseSession = mySessionMgr.Logon("administrator", "", "CMS_Server", "secEnterprise")
            myEnterpriseService = myEnterpriseSession.GetService("InfoStore")
            myInfoStore = New InfoStore(myEnterpriseService)
            myInfoObjects = myInfoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME='" + mySampleReportName + "' And SI_INSTANCE=0")
            myInfoObject = myInfoObjects(1)
            myObject = myEnterpriseSession.GetService("", "RASReportFactory").Interface
            myReportAppFactory = CType(myObject, ReportAppFactory)
            myReportClientDocument = myReportAppFactory.OpenDocument(myInfoObject.ID, 0)
            'Convenience methods not to change Database or Server name from what is in the report
            'myReportClientDocument.DatabaseController.logon("UID", "PWD")
            'myReportClientDocument.DatabaseController.LogonEx("myServerName", "myDatabase", "UID", "PWD")
            crDatabase = myReportClientDocument.DatabaseController.Database()
            crDatabaseController = myReportClientDocument.DatabaseController()
            ' Loop through all the tables in the main
            ' report and set their new table information.
            For Each crTableOld In crDatabase.Tables
                crTableNew = GetNewTable(crTableOld, crServerName, crDatabaseName, databaseUserName, databasePassword)
                crDatabaseController.SetTableLocation(crTableOld, crTableNew)
                crTableNew = Nothing
            Next
            crDatabase = Nothing
            crTableOld = Nothing
            myCrystalReportViewer.ReportSource = myReportClientDocument
        End Sub
        Private Function GetNewTable(ByVal crTableOld As Table, ByRef serverName As String, ByRef databaseName As String, ByRef userName As String, ByRef password As String) As Table
            ' Create crTableNew as a new table, then fill its properties.
            Dim crTableNew As New Table
            Dim crAttributes, crLogonInfo As PropertyBag
            ' Set some of the properties of the new table object.
            crTableNew.ConnectionInfo.UserName = userName
            crTableNew.ConnectionInfo.Password = password
            crTableNew.ConnectionInfo.Kind = crTableOld.ConnectionInfo.Kind()
            crTableNew.Name = crTableOld.Name
            crTableNew.Alias = crTableOld.Alias
            ' Make a copy of the connectionInfo.Attributes and apply them to the new table.
            crTableNew.ConnectionInfo.Attributes = crTableOld.ConnectionInfo.Attributes.Clone(True)
            crAttributes = crTableNew.ConnectionInfo.Attributes()
            ' Check to ensure the connection info Kind is correct then change the a
            ' appropriate properties in the PropertyBag.
            ' These will vary from report to report using ODBC, OLEDB or Native drivers
            ' To find out your properties
            ' open your report in the Crystal Reports Designer and go to Database,
            ' Set Location menu. Check the properties of your connection and note
            ' the name of the properties that will change.
    'ODBC to Oracle "Data Source Name" and "Table Name" with "Owner"
    'OLEDB to Oracle "Provider" "Data Source" and "Table Name" with "Owner"
            If crTableNew.ConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE Then
                crLogonInfo = CType(crAttributes("QE_LogonProperties"), PropertyBag)
                crLogonInfo("Data Source") = crServerName
                'MS SQL Server OLEDB
                'Leave out for Oracle
                'crLogonInfo("Initial Catalog") = crDatabaseName
            End If
            ' Adjust the qualified name, then return the new table object if the table name has changed
            crTableNew.QualifiedName = "Owner." & crTableNew.Name
            Return crTableNew
        End Function
    End Class

  • How to change database schema of data source in OWB?

    Hi,
    Could someone give me hint about my questions:
    I select many database schema in TOAD. like "My Shema" and "All Schema".
    If I create a Oracle Data Source in OWB 10.2. All tables/viewsI can see only from "My Schema" (I think it is default), However, I need to connect "All Scema". There are lots of prod tables/views. I don't know how to set/change/config in OWB even reading guide.
    Thanks a lot
    Lan

    Lan,
    You can ONE of the following:
    1. Dbl click the src/target module and go to metadata location tab and select a location that has the details pointing to the different schema (If you do not have this location created, you may have to create one).
    2. Create synonyms in "My Schema" to objects from other schema. Then try to import the tables again. This time you will be able to see the other tables (the icon will be different for synonyms.)
    Hope That Helps.
    Kaushik.

  • How to change Database character set?

    Hi,
    We are planning to make a clone of production Database which has:
    select value$ from sys.props$ where name='NLS_CHARACTERSET';
    AL32UTF8
    We have set up a new server for that purpose and installed database, but by default it has
    select value$ from sys.props$ where name='NLS_CHARACTERSET';
    WE8ISO8859P1
    So after making full import from full backup file we have some broken character in database.
    How can I change from WE8ISO8859P1 to AL32UTF8?
    I expect that I need to shutdown the clone database or even make from scratch full import.
    Thanks

    I made a full backup from production database which has AL32UTF8
    My new database is fresh and it has WE8ISO8859P1
    I think the reason why I'm having some corrupted characters is because of difference in Character set between two database, right?
    so I will need to change new database Character set to AL32UTF8 then make again full import.

  • How to change database in crystal report design

    Hi experts
                         I have created a report in crystal addon using demo database, now I want to change the database to see the actual testing of report. I tried by Set Location option in Database expert I log off the current server then Log on It ask the database name I put new database name . But when I Run the report it show the previous database records.

    >
    Julie Jamieson wrote:
    > Try using a dot (.) as the server if you want to be able to run the report from inside SAP from a different database
    What do you mean by this?
    I have not yet installed the Crystal Addon for SAP (Using R1 Reports now) I would hope that Addon allows you to use a different database with Crystal, my current solution does and that is how I build most of my reports with views and sp's.
    I hope this is not to far off topic.
    Thanks
    Ken W.

  • How to change Database server is case-insensitive setting at runtime

    Is there a way to change any of the properties in Report Options > General Settings at runtime. Mainly the [Database server is case-insensitive] and [Perform grouping on server] settings. We are using the Crystal .Net X1 runtimes (11.5.9707.811). I have sesrched the forums with no luck so thought I'd try my luck here. Thankyou for your time.

    Hi Simon,
    Sorry, search for the function using the Object Browser in .NET. If you have Crsytal Reports XI R2 (11.5.x.xxxx) then you have it. Unless it's not a developer version. In whcih case you need to upgrade.
    If you do have the Developer version then simply add the RAS assemblies to your project. Look in our samples above for more info on h ow to use RAS.
    If you don't have the Developer version then your only options are to upgrade or manually change the report settings in the Designer.
    Thank you
    Don

  • How to Change Database parameters as suggested by EWA report

    Dear Experts,
    As per EWA report , i have been asked to change several DB parameters as per note 0124361 . Should i go aghead and change the parameters ? What is the procedure of chaging those parameters? what is the real process that should be followed ? Please revert.Points guaranteed.
    Regards,
    Somya

    Run "brspace -f dbparam"
    Select option 1 "Change parameter value" and change the parameters. After changing select option 3 to create a new init.ora.
    If you change parameters that have the scope "spfile" oracle requires a restart. If you only change parameters with scope "both" you don't need a restart of oracle. This changes are affected on the fly.
    To restart oracle:
    connect / as sysdba
    SQL> shutdown
    SQL> startup
    You don't need to stop SAP if you only change oracle parameters. SAP reconnects automatically if the database is up.

  • How can change database one to another in OEM 10g

    hello
    i have oracle 10g db 10.1.0.2.0 R2.
    and 2 db 1. oracle(db_name) approx 5GB 2. oracle1(db_name) approx 2GB
    now i am using OEM 10g or db managing.and manage oracle db through OEM.
    but i want manage oracle1 db through OEM so what should i do..
    plz. give me reply
    very soon...
    thanx.

    If I understand your question correctly, you have one database that's showing in OEM you say. You didn't specify if it's Database Control or Grid Control.
    Database Control allows u to manage only 1 database. So using Database Control of db1, you can manage db1. Using database control of db2, you can manage db2.
    However if you want to manage both from one server, you can use Grid Control. To make the second node that hosts the second database show up in Grid Control, you need to install the management agent on that node. After that, once you set up the preferred credentials, it will be in GC.

  • How to change  default unit on Database 11g

    Hi All
    I'm using Oracle Database 11g Enterprise Edition Release 11.1.0.6.0.
    If I define my column:
    USERID VACHAR2(8) --> Default USERID VACHAR2(8 BYTE)
    How can I change default unit BYTE to CHAR as the following
    USERID VACHAR2(8) --> Default USERID VACHAR(8 CHAR)
    Thanks alot
    Thiensu2810

    I have set Database system with the following SQL:
    alter system set nls_length_semantics=char;
    alter session set nls_length_semantics=char;
    But, It does not match.
    And when I insert data, the following error occured.
    SQL> insert into binhtest values('初期化パ');
    ORA-12899: value too large for column string (actual: 12, maximum: 8)
    I've checked value of NLS_LENGTH_SEMANTICS, it is CHAR
    SQL>SHOW PARAMETER NLS_LENGTH;
    NAME | TYPE | VALUE
    NLS_LENGTH_SEMANTICS | String

  • How to change the OS name and pass of database server.

    Hi,
    I have a problem with OEM of oracle10g is not running after changing the OS's (windowsXP and Linux 4.5 ) Name and IP-Address, What should I do? OR
    Can anyone give me the metalink document ID to resolve my problem?
    My Database Version is below:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Thanks,
    Faziarain

    [email protected] wrote:
    But, How to re-create it?Use the following commands. 1st would drop the repository, 2nd would create it.
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos createPlease note that these commands must run from the terminal/command prompt and not from the sql prompt.
    HTH
    Aman....

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • How to change the profile value in the pl/sql code without making change in the database

    How to change the profile value in the pl/sql code without making change in the database.

    I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
    if these Profiles are set for the user running this program automatic printing should not be done.

  • How to change backend databases sql server 2008 R2 to Sql server 2012 datacenter

    Hi
    i have current sharepoint 2010 form has backend database is sql server 2008 R2 on windows server 2008 R2 Enterprise
    and this form has
    1 application server
    1 Search server (index server)
    1 wfe server ( all web applications are running)
    1 databse server
    here  how i change this form back end to new windows server 2012 and sql server 2012 datacenter
    adil

    Information on SQL Aliases (using cliconfg.exe):
    http://sqlandme.com/2011/05/05/create-sql-server-alias-cliconfg-exe/
    You need to migrate content back into the database prior to migration:
    http://technet.microsoft.com/en-us/library/ff628255(v=office.14).aspx
    http://technet.microsoft.com/en-us/library/ff628257(v=office.14).aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to change host for database target?

    Hi 2All!
    We've just moved our production database to a new server.
    How to change hostname on this database target for continuing to collect information about this database without deleting or creating additional targets?
    EMGC 11gR1.
    Thanks!

    ..so agent was installed on new host ?
    or you now need to install the agent ?
    I don´t know a way to change hostname only new discovery credentials on host.
    *T                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Program does not break at breakpoint inside stored procedure

    I am using VS 2013 and SQL Server 2012 calling a stored procedure from a C# program. I have a breakpoint set inside the stored procedure, however execution does not stop on it. When my program is running, the breakpoint is hollow (not solid red) and

  • TS4264 Badge app icons won't stay off

    I have five different email accounts set up on my iPhone. I have set the notifications so that only one of them (the one I use for personal emails) has badge apps. That way the email account I use for shopping websites and other non-important emails

  • Value for customized fields didn't get copied to back end system

    Hi, We are in SRM 4.0 and using extended classic scenario. We have defined two customized fields in account assignment tab in shopping cart and SRM Po and also in back end PO. SRM POs are having values for the field but while transferring the Po deta

  • Regarding WD ABAP

    Hi All, I want to ADD and DELETE a row from the table in WD ABAP.I have created a button for add but it is not working while run time.So please sort it out and if anyone of you is sending a code then please validate it so that I can easily understand

  • Subset of an arrayCollection

    How do I select a subset of an array Collection to appear in a datagrid? For example, in the code below, how do I select only the records where pop > 2000? <?xml version="1.0"?> <!-- dpcontrols\SimpleDP.mxml --> <mx:Application xmlns:mx="http://www.a