Groups | Blog | Home
all groups > sql server odbc > february 2007 >

sql server odbc : Oracle10 ODBC connection


HelpInRS
2/27/2007 6:07:02 PM
I have a windows 2003 server with sql server 2000
I run daily jobs that delete contents of sql tables an insert data from an
oracle9 database using
SELECT
*
INTO
DBname
FROM
OPENROWSET
(
'MSDASQL',
'DSN=ODBCOracleAccount;UID=oracleuser;PWD=password;',
'SELECT
*
FROM
OracleDBName’
)

This worked until the oracle9 database was upgraded to oracle10. The new
oracle10 server is running windows 2003 server.

On the sql server I created a new service name in oracle client and tested
the connection it works but when I try to run the jobs–stored procedures this
is the following error

OLE DB provider "MSDASQL" for linked server "(null)" returned message
"[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified".
Msg 7303, Level 16, State 1, Line 2
Cannot initialize the data source object of OLE DB provider "MSDASQL" for
linked server "(null)".

The Microsoft ODBC for Oracle is version 2.576.1830.00 the file is
MSORCL32.dll dated 3/24/2005.

Appreciate any help I can get.
HelpInRS
2/28/2007 10:56:10 AM


[quoted text, click to view]
Yes
I can not connect using the ODBC drivers I set up a different serivce name
and tested the oracle client made a connection but no connection using ODBC
[quoted text, click to view]
home meaning
the old oracle9i server was renamed and the IP address changed
the new oracle 10g has the same DNS name and same IP address as the old 9i


[quoted text, click to view]
Arnie
2/28/2007 12:54:53 PM
[quoted text, click to view]

Silly questions. Did you set up an ODBC system DSN for the Oracle server?
Can you test it and connect? Is 10g perhaps in a different home than 9i
was?

- Arnie

AddThis Social Bookmark Button