Change database connection string

Hi, does anybody know if it possible (and eventyally how) to change the DB connection string of the farm (both WF and SB). I do not need to change DB or server, just a parameter of the connection string.
Thanks,
Simone

The Connection string will be persisted in the config database as well as in the registry. I don't think there are any APIs to change it.
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

Similar Messages

  • OBIEE 11g install fails on step 7 (database connect string)

    I've currently spent 2 days trying to install OBIEE 11g on two machines (independently). This first is a Windows XP SP3 test PC running 4GB RAM, whilst the second is a Windows 2003 virtual server with 3GB RAM. The Database is Oracle 10g (10.2.0.4.0) on AIX 5.3.
    The DBA has successfully run the RCU on the Database and the schemas needed for OBIEE have been created. The BIPLATFORM schema has also been granted DBA privileges.
    Now I've tried to run both the simple and the Enterprise install for OBIEE 11g, but it always fails at the same step (step 7 of 13: Database details). I have selected the following:
    Database Type: Oracle Database
    Connect String: hostname:port:instance, where hostname is the full server path eg xxxxx.uk.com and instance name is FFADEV01
    BIPLATFORM Schema Username: As per username defined in RCU
    BIPLATFORM Schema Password: As per password entered in RCU
    If i change the connection string to FFADEV01.WORLD i get a 08031 error, whereas I am normally getting an 08035 error. The annoying thing is that I can connect to the schema using RapidSQL and the usernames and passwords as created in the RCU.
    Any help greatly appreciated. Thanks

    How was he able to install the BIPlATFORM schema using RCU on AIX? I thought RCU was only on Linux and Window platforms? I am about to install OBIEE 11.1.1.5 on AIX with a Oracle 10g DB but from what I read I wont be able to create the needed OBIEE schemas for the install because I won't be able to use the RCU on AIX. Any help would be appreciated.
    Thanks.
    Ryan

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Can't change the connection string of SSIS package with derived columns?

    We upgraded SQL server 2008 to 2012, copied and converted all SSIS packages from Visual Studio 2008 to 2010.  When I opened a package in VS 2010 and tried to change the connection string, in the local connection managers, if the data source is another
    SSIS package B(.dtsx file) with derived columns, I can't change the connection string of package B. When I opened the file connection manager editor for package B and tried to locate a dtsx file in another location, saved the change, reopened the project.
    Package B still pointed to previous file.  Other packages without derived columns work fine. Any thoughts?

    We are using the package deployment model and refer to other packages in the same project. If
    we changed the path of package B (with derived columns) to "D:\Visual Studio 2010\xxxx", and refer it in package A, in the A's connection manager, the connection string of package B is still its previous location  "D:\Visual
    Studio 2008\xxxx". When we ran the package A in the SQL server agent, the data source is still
     "D:\Visual
    Studio 2008\xxxx", so how can I change it to "D:\Visual
    Studio 2010\xxxx"? Why has the package C (without derived columns) no such problem? thanks.

  • Change database connection for FRS Report

    currently we are using ASO BSO model and all FRS reports are retrieve against BSO Database.Now we are converting to ASO only model. can i use the same report against ASO database .
    There is a option of chang database connection under tool in workspace . will this work or do i have to make all reports again
    can you please help me with this
    thank you

    IN some cases even if the report has additional dimensions it will work. After you change the connection. Open the report in designer. The new dimensions will automatically update. Save the report and you should be good to go. If dimensionality is exactly the same you don't even have to do that, just change the connection, point ot the new database and run the report.

  • Error in OFR : "No database connection string set for connection group"

    Hi all..
    In OFR, Batches Fail To Export When Line Pairing is Enabled and Batch Remains in State 750 With Error "No database connection string set for connection group".
    I have followed all steps associated to line pairing with database still my batch is not exported..
    Any help is appreciated..
    Thanks in advance

    Hi,
    in case you haven't done this already: for this problem we'd really need you to open a CSS message.
    From your problem description it sounds likely that LCA routines and liveCache user don't fit together. Please check the solution of note 811207 to see if that assumption is correct.
    Furthermore: liveCache 7.5 and SCM 4.0 are not released together (yet). When using SCM 4.0 only liveCache versions 7.4.03 Build XX are released. This it seems you're current combination is not supported!
    Please take a look at PAM (Produkt Availability Matrix) on the SAP Service Marketplace to see which combinations have been released.
    Kind regards,
    Roland
    Message was edited by: Roland Mallmann

  • Database connection string

    how to find database connection string after instllation of Oracle 10g application server .
    any queries we have no documents.

    its ok i got it
    <my machine>:1521:databasename.
    ignore this.

  • Default Database Connection Strings

    Does anyone know if it is possible to default the database connection strings/setup?
    We are trying to rollout ADI through Citrix and would like to default or pre-install the database connection setup instead of having every user set this up individually.
    I'm assuming there are some registry entries that can be set?
    If anyone has any ideas please share.
    Thanks and Regards,
    Chris
    ([email protected])

    ADI 7.2 included a service to centrally manage database definitions. Instructions on how to setup this service can be found in any of the ADI 7.2 Rollup patches in a file called CENTRAL.TXT (root directory of the patch).

  • Change local connection string on remote server

    Hello,
     I have searched every post and tried every connection string there but can't figure out how to connect to my database on my  remote server. I am using Visual Developer 2005 Express Edition in C# and uploading it to a Windows server running asp.net 2.0. The domain has not resolved yet.
    I am so new to this and have followed many tutorials step by step but none of them address this issue. They just show how to upload it to the server.
    Do I need to use the SQL server provided by my host or can the database stay in the App_Data folder?
    My local connection string works locally:
      <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
       providerName="System.Data.SqlClient" />
    When I uploaded to my server I changed \SQLEXPRESS  to (local) as advised in the forum.
    <add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    When I debug a page I get the <customErrors mode="Off"/>
    error message even thought I have already set it in my remote web.config file which may be causing problems itself:
    <configuration>
    <appSettings/>
    <connectionStrings>
    <add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    </connectionStrings>
    <system.web>
    <customErrors mode="Off" />
    <compilation debug="false" />
    <authentication mode="Windows" />
    </system.web>
    </configuration>
    Thanks for any help you can offer. I wish I could find someone to hire to do this part for me or teach me how over the phone. Any suggestions?

    Is this still an issue?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • SSRS 2005 change datasource / Connection String

    Hi All
    I need to change the some shared data source on ssrs 2005 for the migration of some dbs.
    Can I do it on tsql, I need to update the datasource / Connection String only for the reports that uses it.
    How to change it on table : [ReportServer].[dbo].[DataSource] table. ?
    Thanks a lot in advance.

    It is not recommended to update records directly in Catalog table.
    You can try
    programmatic way to update that.
    SSRS is webservice so you have to use something like below.
    https://<<Report Server Name>>/ReportServer/ReportService2005.asmx
    Make sure you do BACKUP database before doing any changes.
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • Database connection string dynamic

    Hello everybody,
    My application should do some tests that user choses.
    For each test type I should save the database in a file with different name, something like : Report_YYYY_MM_DD_Test_x, without stopping the execution of the application.
    My problem is that i cannont rename the database after Teststand wrote in it. I must stop first the application and then I can rename it.
    I tried to build dynamic connection strings and to prepare the database before Teststand write it. But I saw that after the first acces, despite of new connection string, Testand write further in the database described in the first connection string. Also seems that the handle to database once established, will be released at the end of test. I could close the connection to the DB but i don't know if it is possible.
    for any ideea how to handle this situation i would be grateful

    Hi Harleen Kaur Chadha,
    I understand your requirement is access 5-6 database on same server using one JDB receiver channel. I think, it is possible. SAP Help [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7c24a75cf83672e10000000a114a6b/frameset.htm ]. In receiver JDB channel select Message Protocol : u201CNative SQL Stringu201D. Then you have make sure that the payload coming to this JDBC receiver channel should look like this
    INSERT INTO DatabaseName : tableName 
    (column-name1, column-name2, column-name3)
    VALUES(u2018column-value1u2019, u2018column-value2u2019, u2018column-value3u2019)
    But, the mapping program you are using now, should generate the String (shown above). And SAP says this protocol is primarily for test purposes.
    FYI. If you select Message Protocol: "XML SQL Format", finally it would be converted to string (shown above) will be sent to database.
    Regards,
    Raghu_Vamsee

  • Changing Database connection at runtime in CR2008

    Hi,
    I have a VS2008 application which is using CR2008 to generate pdf reports for the user. Problem is I am not able to change the database connection to any server other than the one that was used to create the report template.
    My environment has CR2008 SP2. I have tried reports with no paramter as well as the ones with parameters both dont seem to work.
    I have already tried a couple of things:
    a) report document refresh after loading it
    b) setting the database connection as
    this._crReport.DataSourceConnections[0].SetConnection(dbServerName, dbName, dbUserId, dbPwd);
    c) setting the database connection as
    tbls = this._crReport.Database.Tables;
                    bool test = false;
                    foreach (Table tbl in tbls)
                        tblLogonInfo = tbl.LogOnInfo;
                        tblLogonInfo.ConnectionInfo = connInfo;
                        tbl.ApplyLogOnInfo(tblLogonInfo);
                        test = tbl.TestConnectivity(); ** note this alwys return a true for the changed database server
    I have read a couple of thread but none has worked for me...Is this a known issue with CR2008?
    Thanks
    Kajal

    Hi Kajal,
    I am assuming that you are not changing the schema of the report at any point of time. I would suggest you to try pointing to the other database through designer to make sure that you can hit the database and the schema is correct. You can also create a udl file to check the database connectivity.
    Then just for testing purpose you can try the following code:
    ReportDocument reportDoc = new ReportDocument();
    reportDoc.Load("path of the report");
    reportDoc.SetDatbaseLocation("uid","pwd","Servername","tablename");
    reportDoc.SetParameterValues("Parameter-Name","values");
    CrystalReportViewer.ReportSoure=reportDoc;
    Does that help?
    Thanks.

  • Changing database connection at runtime

    Hi All,
    I have multiple screens based from different database instances. How can I make a single menu screen which will allow log in for another database connection? I tried using the LOGIN_SCREEN built in but it does not change the connection once you are already connected to one database.

    If you want to change connections, you first have to logout. Besides the logon_screen builtin does not change the connection, but it only sets several application properties.
    In the Forms Help there is an example how to use the logon_screen. It basically comes to the next pl/sql code:
    declare
    MyUsername VARCHAR2(40);
    MyPassword VARCHAR2(40);
    MyConnect VARCHAR2(40);
    begin
    logon_screen;
    MyUsername := Get_Application_Property(USERNAME);
    MyPassword := Get_Application_Property(PASSWORD);
    MyConnect := Get_Application_Property(CONNECT_STRING);
    logout;
    if MyConnect is not null then
    logon(MyUsername,MyPassword&#0124; &#0124;'@'&#0124; &#0124;MyConnect);
    else
    logon(MyUsername,MyPassword);
    end if;
    end;
    null

  • Change database connection in SQL-Worksheet to a not connected db

    Hi,
    change the active database connection of a SQL-Worksheet to a currently not connected database does not work. The login window pops up, but the password entry field cannot be activated to enter the password. On dragging the login window the screen does not get refreshed correctly. The only way to get back to work is to kill the sqldeveloper.exe process.
    The affected version is 3.2.09.23 on the 32 bit MS Windows plattform.
    sincerely yours
    Matthias

    Hi Matthias,
    Thanks for reporting this. It is caused by a deadlock between Java threads. I will log a bug for it.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Aug 23, 2012 4:26 PM
    Bug 14532491 - FORUM - DEADLOCK OCCURS WHEN SWITCHING WORKSHEET CONNECTIONS
    Edited by: Gary Graham on Aug 23, 2012 4:27 PM
    Bug 14534488 - DEADLOCK OCCURS WHEN OPENING WORKSHEET CONNECTION FOR A SQL FILE

  • Changing Database connection on webservice deployment

    Hi All,
    I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
    What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
    When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
    This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
    I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
    Everytime I deploy to our production platform I keep getting the development data sources created.
    Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
    I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
    Anyone got any ideas????
    Thanks and Regards
    Neil

    When you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
    There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
    The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
    An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
    dai
    JDev devt. team

Maybe you are looking for

  • Limiting a Guest Account

    I am in the process of opening a B&B and wish to make an iMac available to guests. I'm OK about setting up a guest account and the ability to limit certain aspects of that account (non admin, parental controls etc) but can I limit the apps available

  • Problems with populating Drop Down List (WD ABAP)

    Hi, I am trying to populate two Drop Down fields CARRID and CONNID (Type Table SPFLI) on an Adobe Interactive Form in a Web Dynpro ABAP Application. In the WD Context I have a node "Flights" with those attributes. In the WDDOINIT I populate the Conte

  • Automatic tester user gets disabled in ISE

    We have ise1.2 working in our environment. For some reason the radius test user used for NAD device authentication gets disabled automatically. Though i couldnt get the frequency of it neither the timing of it. Any specific setting i am missing here

  • With Safari 5.1, I have to re-login after I close the browser window

    After I upgraded to Safari 5.1 from the previous version, I noticed some changes that I do not like.  Whenever I close the Safari browser window and later open it up again, I have to re-login to all websites that require login (such as ebay, Facebook

  • How to replace a file in an archive without extracting?

    Hello, I need to open up an archive and replace one file with the other. As archive file is and actual .ipa file (I'm just changing its type), I don't want to extract it and then re-zip it and rename it to .ipa. It's beyond simpleness on Windows OS,