안녕하세요?
SQL Server 가 설치된 Server에서 Oracle DB의 자료를 OpenQuery를
통해서 가져오려고 합니다.
그래서, addlinkedserver를 시켜주는 과정에서 아래와 같은 오류가
뜹니다.
원인이 무엇인지 ㅠ.ㅠ
고수님들의 의견 부탁드립니다. 고맙습니다.
[작업환경]
Source : SQL Server 2000, Oracle for Client 8.1
=> sql-plus에서는 정상적으로 접속됩니다.
Destination : Oracle 8.1.5
[작업수행과정]
1. server 생성
EXEC sp_addlinkedserver
@server = 'dper',
@srvproduct = 'Oracle 8.1.5',
@provider = 'MSDAORA',
@datasrc = 'dper'
2. SQL Server와 Link시켜준다
EXEC sp_addlinkedsrvlogin 'dper', 'false', 'sa', 'scott',
'tiger'
3. 정상적으로 server 등록되었는지 확인한다 => 정상적으로
등록되었다고 뜨네요.
sp_helpserver
4. OpenQuery 실행시 에러메세지가 뜹니다.
SELECT * FROM OPENQUERY(dper, 'SELECT * FROM table')
[에러메세지]
OLE DB 공급자 'MSDAORA'이(가) 오류를 보고했습니다.
[OLE/DB provider returned message: Oracle client and networking
components were not found. These
components are supplied by Oracle Corporation and are part of the
Oracle Version 7.3.3 or later client software
installation.
Provider is unable to function until these components are
installed.]
OLE DB 오류 추적 [OLE/DB Provider 'MSDAORA'
IDBInitialize::Initialize returned 0x80004005: ].
|