Windows 64bits OS 에 32bits ODBC 구성
Oracle/Database / 2010. 9. 3. 11:13
ㅇ 운영환경
1. Windows 64bits OS
2. Oracle 10.2.0.5 DB
ㅇ 요청 내용
32 bits 용 ODBC 설치
ㅇ 확인 방법
1. 64 bits ODBC 실행 방법 (1)
2. 64 bits ODBC 실행 방법 (2)
Start → Run → odbcad32.exe 실행

그럼 이렇게 실행한 프로세스가 64bit 인지 32bit 인지 어떻게 판단할 것인가?
Start Task Manager - Process Tab 에서 보면 아래와 같이 확인할 수 있다.
3. 32 bits 용 ODBC 실행 방법
C:\Windows\SysWOW64\odbcad32.exe 실행
확인 방법
프로세스 현황을 보면 32bit 프로그램은 *32 가 붙어있는 것을 발견할 수 있다.
문제는 여기서 발생한다.
ODBC - 시스템 DSN - Add - Microsoft ODBC for Oracle 선택 시 에러 발생
[ Error Message ]
The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation. You will be unable to use this driver until these components have been installed. |

방법은 두가지가 나와있다.
첫번째는 http://cafe.naver.com/metanetbts/2627 와 같이 해당 오라클 폴더의 권한을 회수/재부여하는 방식이 있다.
그러나 실제 2번이나 시스템 재부팅을 하면서 적용해봤지만 효과는 없었다.
두번재 방법은 "install 32-bit Oracle client software" 이다. 우리의 경우엔 혹시나 싶어 Client 설치 시 CUSTOM 옵션에서 ODBC 항목만 선택하여 설치하였다.
Cause
Microsoft's ODBC driver for Oracle is a 32-bit driver, and as such requires 32-bit Oracle Client software.
그러나 ~~~ 악!!!

ODBC 설정 후 connection 테스트를 하게 되면 아래와 같은 에러들이 발생한다.
[ Error Message ]
ORA-06413 : Connection not open ORA-12154 : TNS:dould not resolve the connect identifier specified |
해결책
So if you are on Windows 64-bit, and your application is installed in a location (path) which contain round brackets, you might want to do one of the following:
Install a newer version of the Oracle client. If you want to stick with your version of the client, you will need to patch it:
10.2.0.1 requires patch 4
10.2.0.2 requires patch 5
10.2.0.3 and up include this fix (추천 - 검증)
결국 기존에 Client S/W 제거 후 10.2.0.3 (32bits) 로 설치하여 정상 작동 확인되었음. 물론 설치 시 CUSTOM 에서 ODBC , Net 서비스만 선택하여 설치하였음.
'Oracle > Database' 카테고리의 다른 글
대구 지역 Oracle DBA 경력자 모십니다. (0) | 2013.01.08 |
---|---|
SQL 쿼리문에서 특수문자 검색 (0) | 2012.10.04 |
오라클DB “5시간이면 해킹“ (0) | 2012.09.26 |
v$rollstat 에서 상태가 "PENDING OFFLINE" 가 존재할 때 (0) | 2012.04.26 |
PL/SQL Developer 에서 View Spec & Body 가 정상적으로 보이지 않을 때 (1) | 2012.01.05 |
utl_smtp 를 이용한 첨부파일 메일 전송 (0) | 2011.10.21 |
(NT) Oracle DB → MS-SQL ODBC 연결 (4) | 2010.08.20 |
Windows 환경에서 alert.log 를 UNIX 환경에서 처럼 tail 로 보고 싶다면? (0) | 2010.08.05 |
rows=n 로 export 백업 받은 파일을 import 하는데도 Tablespace 가 금방 full 차버릴 때 (1) | 2010.08.05 |
권한 관리 (grant , revoke) (0) | 2010.08.04 |