Connecting to Oracle Data Source using SSIS

Hi Guys,
Please I am working on a BI Project that requires me to connect to an oracle data source using SSIS.
Can someone assist me with the required steps to achieve that. 
I dont want to use a third party tool.
Thanks
me

Hi lilutchay,
If the SQL Server Integration Services is Enterprise or Developer edition of SQL Server 2008, we can use
Microsoft Connector Version 1.2 for Oracle to connect Oracle databases with version Oracle 9.2.0.4 or higher, Oracle 10.x or Oracle 11.x. If the SQL Server Integration Services is Enterprise or Developer edition of SQL Server 2012, we can use
Microsoft Connector Version 2.0 for Oracle to connect Oracle databases with version Oracle 9.2.0.4 or higher, Oracle 10.x or Oracle 11.x.
While if we want to connect to other Oracle version databases, we can use
OLE DB provider for Oracle which has been tested in SSIS labs and is recommended by Microsoft.
For the detail steps for Microsoft Connector for Oracle, we can refer to the first blog suggested by Deric. For more details about the use of connecting to oracle using Oracle Provider for OLEDB from SSIS, please refer to the blog below:
http://www.databasefun.com/archives/591
Reference:
SSIS with Oracle Connectors
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Using Oracle Data Source in SSIS using Attunity

    Hi,
    I am using the oracle data source in SSIS.
    * Created the expression that will have query to select source column.
    * I need to extract only rows having specific date. This date is a dynamic one i.e Created a variable1 which will be update by function call(return type is datetime) for time being i have assigned the
    value(datetime type).  
    * I have created one more variable2(string type) which will extract only date(dd-mon-yyyy). Below is the query i used.
    {"select cast(DATEPART(dd, @[User::Cob_Dt] )as char(2))+'-'+cast(DateName(mm,DATEPART(mm, @[User::Cob_Dt] )) as varchar(3))+'-'+cast(DATEPART( yyyy, @[User::Cob_Dt]
    ) as varchar(4)) "}
    * In source query expression i have used the variable but it showing "as missing expression". Though i tried a lot i cant get. some one please help. Below is thquery
    {select * from table_name where ud.system_date =@[User::Date]
    and... }
    I have tried different formats like enclosing that between quotes(shows same error), then used to_Date() in oracle again shows same error.
    If i hard code the value instead of @[User::Date] means its working well. 
    SomeOne please help me why that error is showing. I cant able to figure out. trying for whole day. PLEASE.
    Thanks,
    Mahalakshmi
    mahalakshmi

    Directly in the source component, or in the expressions property of the data flow?
    If the latter, what happens when you preview your expression?
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Not able to connect to Oracle Data source in Oracle Essbase Studio 11.1.2.2

    Hi,
    When i tried to connect to Oracle data source, i get this error "Unable to establigh connection. Ensure that the server is running, the user name and password are correct, and the ohter data fields match the server's configuration" when i tried to select database.
    If i change server name from to localhost, it allows to select database and does not give any error. but clicking on next button says localhost is not accepted, it needs machine name. Then how to connect to Oracle Data source?
    Edited by: User006 on Oct 10, 2012 12:45 PM

    It is possible the Oracle db has not been installed correctly, I take this is a personal install on a laptop, if so did you install the loopback adaptor.
    Have you tried the connection using the ip of the machine.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.

    hi,
    I am not able to connect to oracle data base using JSP. PFB the code and out put.
    <html>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <body>
    <%
    try
         out.println("hi<br>");
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
         out.println("connected<br>");
    catch (SQLException e)
    out.println("ERROR: failed to connect!");
    out.println("ERROR: " + e.getMessage());
    e.printStackTrace();
    return;
    %>
    </body>
    </html>
    OUTPUT:
    hi
    ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
    Please guide me on this issue.
    Edited by: user10997061 on Apr 10, 2009 4:27 AM

    I definitely do not know much about JSP but
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    indicates
    <quote>
    This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
    jdbc:oracle:oci:@myhost:1521:inst1
    <quote>
    I do not see the port information in your connect string. Is that an issue?

  • Error in Connecting the Oracle Attunity Source in SSIS package

    Hi ,
        May this question might have been posted before but as far as i am concerned i was not able to find the solution i am looking after , so please help me out on this . 
    I am using the Oracle Attunity Software to connect to the Oracle source and the Testing is also successful but during Run time the Attunity Oracle source is failing and the Error found was as shown below
    [Oracle Source [65]] Error: The AcquireConnection method call to the connection manager Oracle Connector 1 failed with error code 0x80004005.  There may be error messages posted before this with more information on why the AcquireConnection method
    call failed.
    [SSIS.Pipeline] Error: Oracle Source failed validation and returned error code 0x80004005.
    [SSIS.Pipeline] Error: One or more component failed validation.
    Error: There were errors during task validation.
    Validation is completed
    [Connection manager "Oracle Connector 1"] Error: OCI error encountered. ORA-01005: null password given; logon denied
    Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (5) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified
    in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    I have tried the following solutions like changing the "Run64BitRuntime" to False also but its not working and i have even tried converting my package Protection Level with the "EncryptSensitiveWithPassword" but still of no use 
    Please help me out 
    Thanks & Regards,
    Santosh

    Hi Santosh,
    Please try to run the package under a proxy account, here is the article regarding how to schedule a package the safe way with SQL Server Agent:
    http://microsoft-ssis.blogspot.com/2010/12/how-to-schedule-package-save-way-with.html
    Regards,
    Elvis Long
    TechNet Community Support
    Oh.. much Thanks :) Let me try that 

  • Can latest Essbase version connect to Oracle data sources  directly?

    Hi
    As you know in Essbase 9.3.1, you only can connect to any relational database via an ODBC data source and Essabse cannot talk to relational databases directly. Can Essbase 11.1.1 can talk to Oracle database directly or via OCI?
    Chandra

    Essbase Studio in 11X add jdbc connections, but there is still no "direct" connection. I'm not sure if I would want one. It would imply that Essbase is now tied directly to Oracle databases and we could lose the flexability to connect to other sources.

  • 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

  • How to connect to weblogic data source using jndi name?

    I am trying to connect to database using data source look up from weblogic as below:
    factory = "weblogic.jndi.WLInitialContextFactory"
    conn = zxJDBC.lookup('ApplicationDB',INITIAL_CONTEXT_FACTORY=factory)
    this is throwing DatabaseError:
    however i can connect to the db using uname, pwd and url. its working fine using zxJDBC in jython.
    any clue why the first one is failing?

    import java.sql.*;
    import javax.sql.*;
    import javax.naming.*;
    import java.util.*;
    public class MyDataSourceLookupClient
         public final static String JNDI_FACTORY = "weblogic.jndi.WLInitialContextFactory";
         private static String serverUrl ="t3://localhost:7001";
    public static void main(String ar[])throws Exception
    InitialContext ic=null;
    try{
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
              env.put(Context.PROVIDER_URL, serverUrl);
              ic = new InitialContext(env);
    catch(Exception e){}
    try{
    DataSource ds=ic.lookup("YourDataSourceJNDIName");
    Connection con=ds.getConnection();
    System.out.println("\n\t Got Connection: "+con);
    con.close();
    catch(Exception e)
    System.out.println("\n\n\t jack Exception => "+e);
    e.printStackTrace();
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Error / fails to connect Oracle data source using deploy tool

    Hi,
    I want to deploy SAP AS on my company's J2EE application. I deployed the application using Deploy Tool successfully. The application is started without error.
    When I tried connecting the log on page.  I got error in LogViewer:
    Error while accessing porting layer for ORACLE database via getDatabaseHost().
    Relatives : com.sap.sql.jdbc.direct.DirectConnectionFactory
    Resource Bundlename : com.sap.sql.log.OpenSQLResourceBundle
    Source : /System/Database/sql/jdbc/direct
    Argument Objs : ORACLE,getDatabaseHost(),
    Where to look for debugging errors?
    -- Joe

    Hi Markus,
    I changed to Vendor SQL and set Initial Connection to 1.
    On Monitor tab, I see a green line running across the screen. 
    I believe this proves that the connection has been established.
    Thanks a lot!
    -- Joe

  • Error When Creating Entities From Loader Connection In Oracle Data Quality

    I want to create a Loader Connection to an external data source.
    I Logged on the Metabase Manager and created a new loader connection with type as 'Oracle'.
    In the parameters it asked for a TNS Name.I gave the TNS of the external data source to which i want to connect from 'tnsnames.ora' file.
    After that I logged on to ODQ and tried creating an Entity using create entity wizard but ODQ cannot connect to the data source using the above created Loader Connection.
    It shows below failure message:
    Authentication failed. couldn't load library "C:/OraHome_1/oracledq/metabase_server/lib/pkgOracleAdapter/pkgOracleAdapter.dll": could not find specified procedure
    I had my ODQ metabase and ODQ GUI running on Windows.
    Hope i am clear.if i am making mistake in above steps please let me know.
    Waiting for reply.

    Refer to SR 2-5703204

  • Can SQL*Plus connect via ODBC to NON-Oracle data source?????

    I am struggling to understand something. I downloaded Oracle instance client, SQL*Plus and ODBC components with the hopes of being able to connect via SQL*Plus to a non-Oracle/ODBC compliant database.
    Is this possible? Or is SQL*Plus ability to connect via ODBC only to an Oracle data source??
    Thanks...

    sqlplus only connects to oracle. you can use the odbc driver from instant client to allow other applications to access oracle via odbc (e.g. excel). if you need to connect to non-oracle odbc database (ms-access, foxpro, etc.) you need odbc driver for those sources.
    you can use sqldeveloper to connect to oracle and non-oracle databases. check otn product info for sqldeveloper for more details.

  • How to define data-sources-alias.xml to use Oracle data source

    Hi,
    I created Oracle jdbc Data Source named "MYDS" in Visual Admin.  I added the alias = MYDS_ALIAS.  I set the Initial Connection to 2.  On the Monitor tab, I see a green line running across the screen.  The datasource MYDS is connected to the Oracle.
    Now, I would like to define "data-sources-alias.xml" to use MYDS.
    When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
    I followed the link --> How to point data-source-aliases.xml to another Datasource
    and my data-sources-alias.xml is now:
    <data-source-aliases>
         <aliases>
              <data-source-name>$</data-source-name>
              <alias>BRANCH50DS</alias>
         </aliases>
    </data-source-aliases>
    The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
    1) How to define data-sources-alias.xml to use Oracle data source?
    2) I found the link (SDA Deployment error) talking about "sda-dd.xml".  How to create "sda-dd.xml" and make it use substitution variables "MYDS"
    Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [003]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
    <!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
    <!PATTERN[sdmcl20051220205339.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Dec 20, 2005 3:53:39 PM  Info: -
    Starting deployment -
    Dec 20, 2005 3:53:39 PM  Info: Loading selected archives...
    Dec 20, 2005 3:53:39 PM  Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
    Dec 20, 2005 3:53:40 PM  Info: Selected archives successfully loaded.
    Dec 20, 2005 3:53:40 PM  Info: Actions per selected component:
    Dec 20, 2005 3:53:40 PM  Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: Saved current Engine state.
    Dec 20, 2005 3:53:40 PM  Info: Error handling strategy: OnErrorStop
    Dec 20, 2005 3:53:40 PM  Info: Update strategy: UpdateAllVersions
    Dec 20, 2005 3:53:40 PM  Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
    Dec 20, 2005 3:53:40 PM  Info: Software type of SDA: J2EE
    Dec 20, 2005 3:53:40 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Info: Begin of log messages of the target system:
    05/12/20 15:53:40 -  ***********************************************************
    05/12/20 15:53:41 -  Start updating EAR file...
    05/12/20 15:53:41 -  start-up mode is lazy
    05/12/20 15:53:41 -  com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
                              at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
                              at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
                              at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
                              at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
                              at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
                              at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
                              at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
                              at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
                              at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
                              at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
                              at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
                              at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
                              at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
                              at java.lang.Thread.run(Thread.java:534)
    05/12/20 15:53:41 -  ***********************************************************
    Dec 20, 2005 3:53:41 PM  Info: End of log messages of the target system.
    Dec 20, 2005 3:53:41 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Dec 20, 2005 3:53:41 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Dec 20, 2005 3:53:41 PM  Error: -
    At least one of the Deployments failed -

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • Connecting through Data Source using JNDI

    I would like to connect my application to sql server database through data
    source using JNDI. But when i try to bind the data source object with the
    logical name, i am getting following exception. How can i ger rid of this
    error ? How can i provide the initial context ? I thought Java would create the default initial context by itself. But it doesn't seem to be true. Any type of help would be appreciated.
    -Prashant
    Exception :
    Naming Exception :Need to specify class name in environment or system
    property, or as an applet parameter, or in an application resource file:
    java.naming.factory.initial
    javax.naming.NoInitialContextException: Need to specify class name in
    environment or system property, or as an applet parameter, or in an
    application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:651)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at
    javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:283)
    at javax.naming.InitialContext.bind(InitialContext.java:358)
    at RegDataSource.regDataSource(RegDataSource.java:30)
    at RegDataSource.main(RegDataSource.java:52)
    Source code :
    public class RegDataSource
    public RegDataSource()
    private void regDataSource()
    try
    com.microsoft.jdbcx.sqlserver.SQLServerDataSource sds =
    new
    com.microsoft.jdbcx.sqlserver.SQLServerDataSource();
    sds.setServerName("servername13");
    sds.setDatabaseName("test");
    Context ctx = new InitialContext();
    ctx.bind("jdbc/EmployeeDB", sds);
    catch(NamingException e)
    System.out.println("Naming Exception :" + e.getMessage()
    //+ "\n" + e.getExplanation()
    //+ "\n" + e.getResolvedObj()
    //+ "\n" + e.getResolvedName()
    e.printStackTrace();
    catch(Exception e)
    System.out.println("Exception :" + e.getMessage());
    public static void main(String[] args)
    RegDataSource regDataSource1 = new RegDataSource();
    regDataSource1.regDataSource();

    Thanks you very very much for your prompt reply and helping me out. I have following questions.
    1) Now i am able to bind data source object to the logical name. But the problem is that whenever i try to look up the data source object by providing logical name (i.e. DataSource ds = (DataSource)ctx.lookup("jdbc/EmployeeDB") ), it returns always null. I don't know why it doesn't return the correct data source object ?
    Following is the code used to bind datasource with the logical name
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.fscontext.RefFSContextFactory");
    env.put(Context.PROVIDER_URL, "file:/TEMP/jndi");
    Context ctx = new InitialContext(env);
    //Properties p = new Properties();
    //p.put(Context.INITIAL_CONTEXT_FACTORY,
    // "com.sun.jndi.fscontext.RefFSContextFactory");
    //Context ctx = new InitialContext(p);
    ctx.bind("jdbc/EmployeeDB", sds);
    Following is the code used to look up for the bound object
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.fscontext.RefFSContextFactory");
    env.put(Context.PROVIDER_URL, "file:/TEMP/jndi");
    Context ctx = new InitialContext(env);
    DataSource ds = (DataSource)ctx.lookup("jdbc/EmployeeDB");
    2) I am writing client server application in which my client is going to access the SQL Server 2000 to read/write database related data. The reason behind using the JNDI is that i don't want my client application to kwon which driver (sql) and database i am using. It is going to provide the great flexibility whenever i can make my application to use other database like Oracel, sybase, etc. without changing any code most probably. In this situation, which JNDI service provider to use ? I am not sure about "File System" service provider be the ideal choice for this type of situation. so please let me know which JNDI service provider is the ideal for this situation.
    Any type of help would be appreacited.

  • Unable to Connect to the Data Source with Report Builder when using a closed Excel file

    I am using Report Builder 3.0 and to get started I am using an Excel spreadsheet as my data source.  I set this up just fine.  I can connect successfully if the file is open Excel.  But if I close the file, I get the error "Unable to
    Connect to the data source".
    This is my connection string:
    Dsn=Licenses;dbq=C:\USERS\AMEADE\DOCUMENTS\licenses.xlsx;defaultdir=C:\USERS\AMEADE\DOCUMENTS;driverid=790;fil=excel 8.0;maxbuffersize=2048;pagetimeout=5
    Works fine if the file is open but stops working when the file is closed.  Any idea what I can do?

    Hi Alice,
    Based on my understanding, when you keep the Excel file open, you can connect to the data source correctly. But when you close the Excel file, the error “Unable to Connect to the data source” is thrown out.
    In your scenario, I would like to know if only this Excel comes across this issue. Have you experienced the same issue when you use other Excel files as a data source? As we tested in our environment, we can connect to the data source whether the Excel file
    is open. You can refer to this
    article to create a data source again then check if you can connect to the data source when the Excel file is closed.
    If issue persists, I would suggest you use the
    Process Monitor to capture the processes during the connection to the data source. Then check the result of each process to find the exact reason.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Help with Creating a Oracle Data Source

    Hello:
    I am trying to create a Oracle Data source.
    I was successful in creating a JDBC Conection Pool.
    But I am stumped creating a new datasource that uses the Oracle Connection Pool.
    It asks for a JNDI Name and I have no clue what I should enter in this box.
    Can somebody help me?
    Thanks.
    venki

    Enter whatever name suits you. This is the name you will use when looking up your datasource in the JNDI tree, i.e.
    Context ctx = new InitialContext();
    DataSource oracleDS = (DataSource) ctx.lookup("myJNDIName");

Maybe you are looking for

  • Apex_util.get_print_Document not working outside apex environment

    I am working on one of the assignment in Apex 4.0.2 . The requirement is to dynamically generate reports and mail to User using the Scheduler program(Pl/sql) -> dbms_scheduler. I have used BI publisher to create the template and xml data for the repo

  • Macbook won't read disks!

    my macbook won't read disks, it justs ejects it immediately after insertion.  It's a software based issue because I have my hard drive partitioned with linux mint, and on the linux os all disks work with no problems.  It might be a red flag but I ran

  • HT2534 In Payment type None option is not available...

    In my payment type screen, "NONE" option is not available.... I have only three types, "1.VISA, 2.Master Card, 3. AMEX".... I dnt want to register with my credit card detail.... I want use only free applications..... Can any one help me in this.....?

  • Noob in SQL Tuning seeking help

    I am trying to learn SQL Tuning and the workings of it. I know the first step is probably explain execution plan of the sql statement? My problem is I do not understand what am I suppose to gather from the execution plan. SQL> set autotrace traceonly

  • Error Installing oracle 9i on Linux Enterprise WS 4

    Hi, I´m trying to install Oracle 9i on a Linux Enterprise WS 4 when I give command in Disk1 sh runInstaller it comes with this error: Initializing Java Virtual Machine from /tmp/OraInstall2006-05-04_6-31-34PM/jre/bin/java. Please wait... Error occurr