Createing a DSN for oracle

I need help creating a DNS for oracle. I am using windows 98 and the database is in my computer. I am trying to create a DNS on the same computer so that i can access it through ASP that is setup on my computer ( Mircrosoft Personel Web Server ) which is very similar to IIS. I tried creating user,system, and file dns but none of them work. I recive a errors when i try to create these, none of them are able to connect to the oracle instance that run on my computer. Please HELP!

I have created a DSN in a web server (a Public IP machine) that is mapped to a Oracle DB.
In my Excel using VBA coding, with the help of RDO object I will call the DSN in the Web server using the connection string like "DSN=ORS;UID=SDATA;PWD=SDATA;"
This is working fine and in this case the client machine doesn't need Oracle client to be installed or any TNS entry.
The user can run the Excel report by clicking a button and the click event connects the DSN in the web server (through its URL) and routes to the mapped DB and fetches the quried data.
Please note that the above DSN is created based on Microsoft ODBC for Oracle driver.
But the issue is using the Microsoft ODBC for Oracle driver I couldnt call the SP with Ref Cursor.
When I searched in Internet I came to know using the provider oraoledb.oracle we can call SP that uses REF CURSOR.
Now my question is what is the driver name that I can use to create a DSN to make use of the provider oraoledb.oracle for calling the SP with REF CURSOR from Excel VBA coding ?
Appreciate your prompt reply.
Thanks & Regards,
Sathish

Similar Messages

  • How to create a DSN for Oracle Provider for OLE DB in a web server

    Dear Guys,
    I am a Excel VBA developer.
    My requirement is from the Excel I have to call a Stored Procedure with REF CURSOR.
    Normally I am using Microsoft ODBC for Oracle Driver for connecting Oracle DB, which is in the Server .
    We have users using the Excel reports across the globe.
    Sending Excel report is enough, the clients can connect DB from Excel via the DSN created in a web server.
    But, I came to know that we can't access the REF CURSOR using Microsoft ODBC for Oracle Driver and it is possible to access by using ORA OLE DB Provider.
    I have installed Oracle Client in my machine and tried using ORA OLE DB Provider like below
    +con.ConnectionString = "Provider=OraOLEDB.Oracle.1;User ID=user_name;" & _+
    +"Password=pwd;Data Source=Oracle;"+
    The Excel worked fine in my machine but when I run the same Excel in my user machine in a different country I couldn't connect to DB.
    Because the user machine doesn't have Oracle Client installed. We have n number of users across the world and we can't install Oracle client individually.
    So, I have the plan of creating a DSN in a web sever as I used for Microsoft ODBC for Oracle Driver.
    But, my doubt is how can I create a DSN for accessing ORA OLE DB provider? Is there any driver for ORA OLE DB provider? or is there any alternate solution for my issue?
    Can anybody help me on this ASAP?
    Thanks & Regards,
    Satz

    I have created a DSN in a web server (a Public IP machine) that is mapped to a Oracle DB.
    In my Excel using VBA coding, with the help of RDO object I will call the DSN in the Web server using the connection string like "DSN=ORS;UID=SDATA;PWD=SDATA;"
    This is working fine and in this case the client machine doesn't need Oracle client to be installed or any TNS entry.
    The user can run the Excel report by clicking a button and the click event connects the DSN in the web server (through its URL) and routes to the mapped DB and fetches the quried data.
    Please note that the above DSN is created based on Microsoft ODBC for Oracle driver.
    But the issue is using the Microsoft ODBC for Oracle driver I couldnt call the SP with Ref Cursor.
    When I searched in Internet I came to know using the provider oraoledb.oracle we can call SP that uses REF CURSOR.
    Now my question is what is the driver name that I can use to create a DSN to make use of the provider oraoledb.oracle for calling the SP with REF CURSOR from Excel VBA coding ?
    Appreciate your prompt reply.
    Thanks & Regards,
    Sathish

  • Create LINUX DSN For Oracle Database To Be Used With iODBC

    Hi,
    I'm trying to create a DSN for my Oracle 10g database within my RHEL 4 environment. I'm using the iODBC Driver Manager and Oracle's ODBC drivers to do this. If I install Oracle's 10.2.0.4 (or higher) Instant Client and ODBC Drivers, I get the following error while trying to test out the configuration using iodbctest:
    -bash-3.00$ /usr/local/stow/libiodbc-3.52.6/bin/iodbctest
    iODBC Demonstration program
    This program shows an interactive SQL processor
    Driver Manager: 03.52.0607.1008
    Enter ODBC connect string (? shows list): DSN=UCMdev
    1: SQLDriverConnect = [iODBC][Driver Manager]/orbdev/instantclient_11_1/libsqora.so.11.1: undefined symbol: SQLGetPrivateProfileStringW (0) SQLSTATE=00000
    2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
    -bash-3.00$
    If I try to use Oracle 10.2.0.3 Instant Client and ODBC drivers with iODBC, I get the following error:
    -bash-3.00$ /usr/local/stow/libiodbc-3.52.6/bin/iodbctest
    iODBC Demonstration program
    This program shows an interactive SQL processor
    Driver Manager: 03.52.0607.1008
    Enter ODBC connect string (? shows list): DSN=UCMdev
    1: SQLDriverConnect = [iODBC][Driver Manager]/orbdev/instantclient_10_2/libsqora.so.10.1: undefined symbol: bcuMsgBoxError (0) SQLSTATE=00000
    2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
    -bash-3.00$
    Can somebody please let me know how to proceed. We cannot go with any other ODBC Driver Manager, hence unixODBC is out of the picture. We have to use iODBC.
    Thanks!

    I made a database whose path is: C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\depot1
    I tried to make .udl connection file, but when I click on "test connection" with the provider: "OLEDB Provider for Microsoft SQL Server" I get the Error "UDL Connection File Failure" (attached below)
    When I tried to make the .udl connection file with the provider "Microsoft SQL native Client 11.0" and when I click on "Test Connection" I get the Error" UDL Native Client_1"& " UDL Native Client_2".
    Please help!
    Thanks!
    Attachments:
    UDL Connection File Failure.png ‏78 KB
    UDL with Native Client_1.png ‏702 KB
    UDL with Native Client_2.png ‏714 KB

  • Creating ODBC DSN for SQL Server in LINUX

    Hi All,
    I am getting probelms in creating DSN for SQL server. I have created an entry in odbc.ini file under ODBC sources and provided the SQL server detiails as follows
    [ODBC Data Sources]
    AnalyticsWeb=Oracle BI Server
    Cluster=Oracle BI Server
    SSL_Sample=Oracle BI Server
    SQL_DB=DataDirect 5.1 SQL Server Wire Protocol
    [SQL_DB]
    Driver=/u01/OracleBI/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=172:16:1:169, 1433;
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=actdb/act7
    LoadBalancing=0
    LogonID=oracle
    Password=tiger
    QuoteID=No
    ReportCodePageConversionErrors=0
    When I test the connection ,i am getting the following error
    +[nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down.+
    Can you please help in fixing this issue.I am not sure of the Drivers and the descrition that I am using are correct or not.
    Please let me know the process of creating the DSN for SQL server in LINUX and also how can we check the available drivers in LINUX?
    Thank You in advance,
    S1r1

    OBIEE does all of its data retrieval from the server. Your server needs to be able to query all of the data sources that you define.
    The client is irrelevant here, it's just a web browser consuming data that the BI Server returns to it.
    So yes you need to define connectivity from your Linux server to your SQL Server box.
    The Systems Requirements doc (http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf) details DataDirect ODBC drivers that are provided for non-Widows connectivity to SQL Server

  • Error while creating datasource userdsn for oracle 10g Errorcode (998)

    while creating datasource userdsn for oracle 10g i am getting error "The setup routines for the oracle in OraDb10g_home1 odbc driver could not be loaded due to system error code 998" please give reply soon

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Steps to create Connection pool for Oracle apps Adapter.

    Hi All,
    Could please tel me the steps to create connection pool for Oracle Apps Adapter.
    Thanks,
    Parker

    Steps are given in section "Configuring Connection Information" in Apps Adapter User guide at below link -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
    Regards,
    Anuj

  • How to create user dsn for microsoft access driver(*.mdb,.*accdb) in 64 bit

    hi,
    how to create user dsn for microsodt access driver(*.mdb,*.accdb) using command line in 64 bit.
    i have installed 64 bit drivers and when use following command
    C:\Windows\System32>odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)" "DSN=GLDatabase|Description=GL Data Source|DBQ=C:\DataBase\1.mdb"
    CONFIGDSN:'unable to create a datasource for the "Microsoft Access Driver (*.mdb,*.accdb)" component not found in the registry with the error code -2147467259
    but it works with C:\Windows\SysWow64

    yes i have installed Microsoft Access Database engine 2010 redistributale => AccessDatabaseEngine_x64.exe
    i can able to create user dsn using odbccad32.exe in system32 folder but using command line its not working
    C:\Windows\System32>
    odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)" "DSN=GLDatabase|Description=GL Data Source|DBQ=C:\DataBase\1.mdb"
    CONFIGDSN:'unable to create a datasource for the "Microsoft Access Driver (*.mdb,*.accdb)" component not found in the registry with the error code -2147467259

  • Createing a DNS for oracle

    I need help creating a DNS for oracle. I am using windows 98 and the database is in my computer. I am trying to create a DNS on the same computer so that i can access it through ASP that is setup on my computer ( Mircrosoft Personel Web Server ) which is very similar to IIS. I tried creating user,system, and file dns but none of them work. I recive a errors when i try to create these, none of them are able to connect to the oracle instance that run on my computer. Please HELP!

    Menno,
    what do you want exactly? You can calulate in SQL and PLSQL.
    SQL> select 10 * 10 from dual;
    10*10
    100
    SQL>
    Ton

  • Unable create Connection pool for Oracle apps Adapter.

    Hi All,
    We are trying to create a connection pool for Oracle Apps adapter in 11G SOA suite.
    However during the process getting the following error:
    An error occurred during activation of changes, please see the log for details.
    A <jndi-name> is specified for the resource adapter bean in weblogic-ra.xml, however no <resourceadapter-class> element is specified in ra.xml
    Can any one help us on this.
    Thanks
    Parker.

    Please refer section "Configuring Connection Information" at below link -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
    Regards,
    Anuj

  • How to create a service for Oracle HTTP Server

    Hi,
    I hope someone can help me.
    I would like to create a service for an Oracle HTTP Server.
    We are running APEX 3.2 on an 10.2.0.4 database (not XE).
    We have a Windows XP system.
    To run APEX on a 10g we need the HTTP Server.
    Unfortunately no service was created while the installing of the Oracle HTTP Server.
    How can I create a service later. After the installation.
    I know that you can create a service with Instrsrv.exe and Srvany.exe. But I dont know wheather I can use this in this case.
    I need an .exe file for that.
    The HTTP-Server has the opmnctl.exe.
    But I have to write opmnctl.exe startall when I start or opmnctl.exe stopall when I want to stop it . How can I realize that in a Service?
    Thanks for your answer
    Jens

    Hi,
    I hope someone can help me.
    I would like to create a service for an Oracle HTTP Server.
    We are running APEX 3.2 on an 10.2.0.4 database (not XE).
    We have a Windows XP system.
    To run APEX on a 10g we need the HTTP Server.
    Unfortunately no service was created while the installing of the Oracle HTTP Server.
    How can I create a service later. After the installation.
    I know that you can create a service with Instrsrv.exe and Srvany.exe. But I dont know wheather I can use this in this case.
    I need an .exe file for that.
    The HTTP-Server has the opmnctl.exe.
    But I have to write opmnctl.exe startall when I start or opmnctl.exe stopall when I want to stop it . How can I realize that in a Service?
    Thanks for your answer
    Jens

  • Creating Secondary Node for Oracle Apps

    I've got an interesting issue.
    Background -- We're running Oracle Apps 11.5.9 in an n-tier environment.
    Servers -- Running HP-UX 11i (for both DB tier, Application tier).
    Goad -- Implement MWA server. (mobile supply chain).
    We started an implementation before and it had problems. The MWA devices (wireless barcode scanners) kept on freezing and we could never find the processes to kill. The only way to fix was to restart the application tier (uncool). More testing went and we found lots of patches to apply and did so. Things seem to be working fine, but I'd like to create a secondary node JUST for the MWA devices.
    What it boils down to is creating a secondary node for Oracle Apps that ONLY the mobile devices will use. All other users will use the primary node. Once I've found that the MWA devices are working fine, then I'll load balance, but not for now.
    I'm fairly new to Oracle Apps (1 year exp -- boss just left ACK!) and I'm not certian on how to create the secondary node and make it unavailable to all other users.
    Any help is GREATLY APPRECIATED!
    Thanks in Advance!

    Hi Jeremy,
    Did you manage to solve your MWA devices (wireless barcode scanners) freezing by adding an extra node? there is a client that is experiencing the same problem, I have trive to increase the number of ports from 10200, adding 10202 & 10204 when I start the Mobile application and increasing memory from mx1024 - ms512 to mx2048 - ms1024 & all is fruitless, we rebbot our MWA everyday at night as the time goes on during the day approx 13h00 all hell break loose, slow response, freezing of barcode scanners, everything stops.
    Regards
    Sihle

  • Help: Creating a cluster for Oracle Database

    In school, we've been testing the grid infraestructure, ASM and oracle database
    but now, for a research, we should be able to install, Grid+Asm and oracle database Using at least 3 computers
    where should we start?
    we want to install all of them since the begining, I mean, A network. Operating system on each computer, disk slices for the ASM, and the Oracle database.
    thanks in advance!

    1. Install OS
    2. Set IPs on DNS
    3. Prepare the disk storage for ASM
    4. create users,groups and directory,
    5. install package requirements (see documentations or MOS)
    6. runclufy to verify if the systems are ready to be installed
    7. install grid infra
    8. create diskgroup in asm
    9. install oracle software
    10. create database
    11. verify installation
    and the last one is please read http://download.oracle.com/docs/cd/E11882_01/install.112/e17214/toc.htm for full details. post here if you encounter problems
    Cheers
    Edited by: FZheng on May 21, 2011 7:18 PM

  • How to create a omniportlet for oracle portal with apex

    Hello everyone!
    Is there someone who knows how to create a omniportlet?
    This is for openning an application in apex from oracle portal using single sign on.
    Could you explain me step by step how to do this please?
    Thank you.
    Regards

    Hello Erik,
    Please check if the following can help you - http://www.oracle.com/technology/products/database/application_express/howtos/omniportlet_index.html .
    Regards,
    Arie.

  • Error when creating ssh keys for Oracle RAC on Solaris 10

    I'm in the process of configuring 2 node oracle cluster running on Sun cluster 3.2 /solaris 10 OS.
    I have followed this oracle guide to when creating keys (oracle document No =B14205-01)
    But im having problem when executing this step
    bash-3.00$ scp authorized_keys tsavo-east:/oracle/.ssh/
    ssh: connect to host tsavo-east port 22: Connection timed out
    lost connection
    bash-3.00$
    Please advise
    Thanks
    Francis Mwangi

    Robert Thanks alot for your reply. have a look of what i found out
    ps -ef | grep sshd
    root 4270 4267 0 16:22:46 ? 0:00 /usr/lib/ssh/sshd
    root 759 1 0 Nov 09 ? 0:00 /usr/lib/ssh/sshd
    root 4267 759 0 16:22:41 ? 0:00 /usr/lib/ssh/sshd
    root 4372 4311 0 18:56:52 pts/3 0:00 grep sshd
    ===================================
    netstat -a | grep ssh
    *.ssh *.* 0 0 49152 0 LISTEN
    tsavo-west.ssh 10.30.210.213.2241 63668 51 49640 0 ESTABLISHED
    *.ssh *.* 49152 0 LISTEN
    6002b4aec88 stream-ord 6002b5a0740 00000000 /tmp/ssh-mgPl3398/agent.3398
    ==============================
    telnet tsavo-west 22
    Trying 10.20.3.151...
    Connected to tsavo-west.
    Escape character is '^]'.
    SSH-2.0-Sun_SSH_1.1.1
    #has hanged here for the last 10 minutes
    Thanks please what can you conclude from above; also from the console monitoring both nodes
    i saw messages that end with
    LINK-3-UPDOWN: Interface Dot11Radio0 , Changed state to up
    #another line here
    LINK-3-UPDOWN: Interface Dot11Radio0 , Changed state to down
    #another line here
    LINK-3-UPDOWN: Interface Dot11Radio0 , Changed state to up
    this happens on both nodes
    Any idea
    did i use the right document. have other steps that works (anyway not sure if this error are related to the stepsfor configuring ssh)
    Please help if you can ....

  • Create DB schema for ORACLE JDeveloper 11g

    I'd like to learn ADF. For this reason I've installed:
    JDeveloper 11
    ORACLE XE
    And I've extracted : FOD_11.zip
    To follow the demo application I have to create DB schema.
    How I have to define: jdbc.driver
              jdbc.urlBase
    Execution : Run Ant Target -> Build All done errors:
    1.
    <target name="createDatabase">
    <ant antfile="build.xml" dir="../DBSchema"
    target="createDatabase" inheritrefs="true"/> <<<< Here error
    </target>
    2.
    <sqlRunner username="@{username}" password="@{password}"
    script="${sqlrunner.tempfile}" onerror="@{onerror}"/> <<<< Here error
    3.
    <sequential>
    <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
    password="@{password}" classpathref="oracle.jdbc.path"
    src="@{script}" onerror="@{onerror}"/> <<<< Here error
    </sequential>
    I’m sorry but I have no experience in the installation software.

    I'd like to learn ADF. For this reason I've installed:
    JDeveloper 11
    ORACLE XE
    And I've extracted : FOD_11.zip
    To follow the demo application I have to create DB schema.
    How I have to define: jdbc.driver
              jdbc.urlBase
    Execution : Run Ant Target -> Build All done errors:
    1.
    <target name="createDatabase">
    <ant antfile="build.xml" dir="../DBSchema"
    target="createDatabase" inheritrefs="true"/> <<<< Here error
    </target>
    2.
    <sqlRunner username="@{username}" password="@{password}"
    script="${sqlrunner.tempfile}" onerror="@{onerror}"/> <<<< Here error
    3.
    <sequential>
    <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
    password="@{password}" classpathref="oracle.jdbc.path"
    src="@{script}" onerror="@{onerror}"/> <<<< Here error
    </sequential>
    I’m sorry but I have no experience in the installation software.

Maybe you are looking for

  • 26C100U LCD tv no sound or picture

    This TV died yesterday. 2 yrs old. green light comes on but no sound or picture. Other functions do not work either. Unplugged over night still nothing. took back cover off and circuit boards look normal. Fuse is good. Capacitor looks ok. Any ideas?

  • BT Home Hub 5 Power Failure

    Wondering if anyone has had a simlar problem. HH5 installed 16th July all went ok until two days ago, Then at some point overnight the internal power supply failed, Ie no light on the router. Contacted the technical department went through a number o

  • How do I delete photos in elements with out deleting them from my folders ?

    I am new to adobe. How do I delete images from elements 12 with out deleting them from my folders. ?

  • Acro Pro 8, Pitstop & Vista

    I have a new Vista machine with the above all installed. They played nicely together on my XP machine, but now when I run a batch sequence, Acrobat crashes and I get the following error: Problem signature: Problem Event Name: APPCRASH Application Nam

  • Does my CC membership include LiveCycle?

    I purchased a membership to Adobe CC and thought it included LiveCycle but I can't find it on my computer. I did have LC...at least I did before I bought the CC membership. I need to create and update PDF forms and used to have no trouble...but now w