Database Connection Strings

I been searching online for information on how to setup a
connection string using CFQUERY to connect to a Oracle database. I
been reading that this can be done but I cannot find any
information on constructing a connection string or working examples
for anything besides Microsoft Access or local Microsoft DNS
Database names.
I know ColdFusion can connect. I have the database selected
in "Data & Services > Datasources > Oracle " but at run
time I might need to connect to another Oracle database. Any incite
would be appreciated.

Connection strings, and thus "DSN-less" connections, were
available in CF 5, but no more.

Similar Messages

  • 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;

  • 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

  • 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).

  • 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

  • Reports 9i R2 Need SQL database connect string

    We have set up REports 9i R2 and can connect to Oracle Database but unabel to find correct connect string to connect to a MS SQL database ?

    You'll need to the JDBC pluggable data source for this - there's no longer any to connect to foreign databases directly through the connect dialog.
    Please take a look at this functionality and ensure that it meets your needs.
    Hope this helps,
    Danny

  • 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.

  • Error wtih database connection string

    Hi,
    I am having Oralce 9i AS on windows. Application which we use is forms and reports.
    We have customised the login screen .Which will ask for only
    1. User name
    2. Password
    Upto now it was working fine but from last few days some of my clients whos machines are Linux based they are getting database prompt also on login screen 1. User name
    2.Password
    3.Database
    which should not occure.
    Please do tell me why it is occuring .
    What is the main root cause of this is there anyone who will help me.
    Its very Urgent.Regards,

    For a forms application to log in, it needs 3 bits of info: the username, the password and the database. Obviously your forms application is getting the database name from somewhere - I'm guessing that it is either hard-coded into the application or it is picking it up somehow from the local machine. You will need to open up the login form in form builder to see how it is working. Look for code called by the login button.
    If it is trying to read from a Window registry setting or other configuration file, that would explain your problem.
    Hard to help without more info.
    Patrick.

  • Database Connect String in Informatica

    Hi Friends,
    We have Oracle Database, Informatica installed in our BI assignment.
    Today we made some changes in our database and created a new listener with new port number 1523.
    Everything went okay, database is also running fine but since we changed the port number in database listener from 1521 to 1523, the informatica services are not starting now.
    The issue is that we do not know where we need to change the port number in Informatica.
    In the error log message we can see that the Informatica services are trying to fetch 1521 port number.
    Please suggest in which file we can assign the new port number and start the services successfully.
    Thanks.

    Have a look at the nodemetadata.xml file located at:
    $INFA_HOME/server/config/nodemetadata.xml
    Try changing this:
    <dbPort>1523</dbPort>

  • Report Designer odbc connection string for data source using a parameter

    I am using stand alone report designer 3 for the present and have a question/problem regarding the odbc connection string for MySQL when setting up the data-source
    I need to be able to enter a parameter which is the database name i.e. BOE-201401 or say BOE-201312 etc  from a list of databases the user can choose from.
    at present the odbc connection string points to BOE-201402
    the connection string is at present  Dsn=Development Server for MYsql;description=MYSQL;server=ldndw01;database=BOE-201402;port=3306
    my parameter has the name BOE_DATABASE
    and in an expression it is  as such
    =Parameters!BOE_DATABASE.Value
    I want to point the datasource for the report to the parameter value before the user sees the report.

    Hi Leslie,
    Based on your description, we want to design a report with a dynamic DataSource connection string. There are the basic steps below for your reference:
    Create report with static database.
    Change data source to report parameter.
    Send new database connection string as a report parameter. 
    More detail information, please refer to the following blog: Dynamic Database in SSRS 2008.
    http://haseebmukhtar.wordpress.com/2011/11/09/dynamic-database-in-ssrs-2008/
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • XSQL-007 Database connection error.

    I got following message when click sample heloworld.xsql:
    Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)
    XSQL-007: Cannot acquire a database connection to process page.
    Invalid Oracle URL specified: OracleDriver.connect
    We're using RH Linux 6.1, Apache Tomcat 3.1 Beta and XSQL 0.9.9.1. The database connection string in XSQLConfig.xml is:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:jdbc:@home:1521:home</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    null

    <dburl> as posted is incorrect.
    A sample that is correct for the JDBC thin
    driver is:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:thin:@localhost:1521:xml</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    Note "jdbc:oracle:thin" and not "jdbc:oracle:jdbc"
    hope this helps.

  • How to get the connection string at runtime

    Hi,
    I'm using Forms6i.
    I'm using EXEC_SQL to execute a dynamic sql in my form.
    I need connection string for that . But i cannot give it hardcodingly.
    Is there any form's properties to get the database connection string, to which the form is connected ?
    Thanks

    Hi,
    I've the user i/p columns
    EmpNo, Dept ,Holicode and , From and To Date.
    In which From and To Date is mandatory.
    In one table, emp_cal_header, i have all the holidays defined for each of the employees for a year.
    The records like
    EmpNo    Holicode     Holidt
    001        Frioff         02/07/2011
    001        Satoff        03/07/2011
    001        Frioff         08/07/2011
    .....So i want the final o/p in Excel like
    If user i/p is from Date: 01/07/2011 ,ToDate:09/07/2011, EmpNo :001
    EmpNo   Dept     Total  01/07/2011   02/07/2011 ..... 08/07/2011  09/07/2011
    001        IT        3               FriOff           Frioff            For this i'm constructing a dynamic sql like this
         qry := '(Select ech_emp_code cal_emp_code,emp_name CAL_EMP_NAME,emp_dept CAL_EMP_DEPT,count(ech_date) CAL_TOTAL'||date_cols||'
                             from (Select ech_emp_code,em.emp_name||'' ''||em.emp_middle_name||'' ''||em.emp_last_name emp_name,em.emp_dept emp_dept,ech_code,ech_desc,ech_date
                                            from emp_cal_header ,employee_master em
                                where emp_cal_header.ech_emp_code = em.emp_code
                                and  ech_emp_code = '||nvl(:emp_code,'ech_emp_code')
                                ||' and em.emp_status IN (''P'',''C'')'
                                ||' and em.emp_dept = '||dep
                                ||' and ech_date between '''||to_date(to_char(:From_dt,'DD-MON-YYYY'))
                                ||''' and '''  ||to_date(to_char(:To_dt,'DD-MON-YYYY'))
                                ||''' and ech_code = '||holi
                                ||' order by ech_Date)
                 group by ech_emp_code,emp_name,emp_dept)';
    and date_cols is constructed as
         todt := :from_dt ;
         i := 0;
         loop
              i := i+1;
              dt  := to_char(todt,'dd-MON-YYYY');
              date_cols     := date_cols||','||'max(decode(to_char(ech_date,''dd-MON-YYYY''),'''||dt||''',ech_CODE)) DT'||i;
              todt := todt + 1;
              Exit when todt > :to_dt ;
         End loop;This query i'm executing using EXEC_SQL.
    Since date_cols can be constructed only based on user i/p , i'm not able to do just a normal query
    Any help

  • Report in production prompts for database connection info

    Hi,
    I'm using SAP Crystal Reports version for VS 2010 SP1. I'm trying to implement the most basic need--to create reports in a development environment and move them to production by just copying the .rpt files. I want to rely on the database connection string from web.config, but don't see how that is done. I've tried using ADO.NET DataSets from Project Data and can get the report to run while developing, but when I move to another server I'm always prompted with the "The report you requested requires further information" dialog.
    I tried this solution, which keeps the db server name in a web.config variable:
               ReportDocument boReportDocument = new ReportDocument();
                boReportDocument.Load(Server.MapPath(rmCR.SelectedItem.Value.ToString()));
                ConnectionInfo boConnectionInfo = new ConnectionInfo();
                boConnectionInfo.ServerName = ConfigurationManager.AppSettings["dbServerName"];
                boConnectionInfo.DatabaseName = "dbCMRP_Employees";
                boConnectionInfo.IntegratedSecurity = true;
                ModifyConnectionInfo(boReportDocument.Database, boConnectionInfo);
                // Modify the ConnectionInfo for all tables in all subreports
                foreach (ReportDocument boSubreport in boReportDocument.Subreports)
                    ModifyConnectionInfo(boSubreport.Database, boConnectionInfo);
                Session.Add("Report", boReportDocument);
                Response.Redirect("CrystalReportsViewer.aspx");
    and this works fine in development, but when moved to a different server I get the "The report you requested requires further information" dialog. I've made sure that the db has the correct security settings, but can't find anything missing.
    I'm sure I'm missing something basic, but can't seem to find any solution after searching for days. Any solution that allows me to create the report in VS 2010 and copy to a production server will be appreciated.
    Thanks,
    Dan

    Thanks for your replies.
    I think I've done what's outlined in the Troubleshooting Guide link that Ludek gave me.  I did install Process Monitor and found the "Access Denied" entry, but I'm not sure which folder needs permission given to IIS APPPOOL\ASP.NET v4.0.
    Here's the entry from Process Monitor:
    Description:        IIS Worker Process
    Company:           Microsoft Corporation
    Name:  w3wp.exe
    Version:               7.5.7601.17514
    Path:     C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Command Line:                C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap "ASP.NET v4.0" -v "v4.0" -l "webengine4.dll" -a
    .\pipe\iisipm461f344a-3d68-4e7c-b42e-ca18eac4553c -h "C:\inetpub\temp\apppools\ASP.NET v4.0\ASP.NET v4.0.config" -w "" -m 0 -t 20
    PID:        7512
    Parent PID:         3892
    Session ID:          0
    User:     IIS APPPOOL\ASP.NET v4.0
    Auth ID:               00000000:00465886
    Architecture:     32-bit
    Virtualized:         False
    Integrity:             High
    Started:                8/29/2011 1:03:58 PM
    Ended:  (Running)
    Modules:
    w3wp.exe           0x120000             0x8000  C:\Windows\SysWOW64\inetsrv\w3wp.exe      Microsoft Corporation                7.5.7601.17514
    Microsoft.Web.Administration.dll            0x28ae0000        0x24000                C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administration\7.0.0.0__31bf3856ad364e35\Microsoft.Web.Administration.dll                Microsoft Corporation   6.1.7601.17514
    App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll     0x28b10000        0x8000                C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll                n/a         0.0.0.0
    App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll     0x28c90000         0x8000                C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll                n/a         0.0.0.0
    pvlocale-1-0.dll 0x2fc80000          0x76000                C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\pvlocale-1-0.dll      SAP BusinessObjects                14.0.0.760
    System.Data.Entity.ni.dll              0x2fd50000         0xcb8000                C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data.Entity\978e8514751373383f79c3fdd667aa2b\System.Data.Entity.ni.dll                Microsoft Corporation   4.0.30319.1

Maybe you are looking for

  • Update value of current field by firing key-f3 is not working

    oracle 8i hey, I implemented a key-f3 trigger wich should insert the sysdate into the current field. :ab.von := sysdate; this works perfectly. but when I want to write a standart trigger, wich I could copy in every formfield like the example, it does

  • Using an external microphone with a Mac Pro Tower

    I have a Mac Pro tower with OS 10.4.11 and I have a question regarding recording sound through an external microphone. I own a microphone with a 1/4" jack and when I plug it into the designated input on the back of my tower, I'm not getting any sound

  • Will be there any solution for continuous loading ...

    Ovi is continuously keeps on loading.. no page appears nothing,, i had re-installed it again but the solution is same.. i have seen many users facing problems with this issue but we didn't get any solution yet.. we are fans of nokia dont hurt us and

  • Why cannot I have my personal page load when I open Firefox

    On Safari, my home page opens when I log on, and I can read my email. I would rather use Firefox, but I get my ISP's Generic home page, and have to supply my Screen name and password every time I log on, which is a nuisance. Can this be corrected ?

  • Clip in sequence linking to wrong media?

    Hi, Some very odd behavior in my sequence. I replaced a clip in the sequence with a different clip, and although the timeline now shows the new clip, when it plays I get audio from the old clip and video from another clip altogether.  Or rather, it p