Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: OLEDB-8.4.1
-
Fix Version/s: OLEDB-9.1.0.p1
-
Component/s: OLEDB
-
Labels:None
-
Environment:
Windows 32bit, Visual Studio 2010(C#), CUBRID2008 4.1/3.1
Description
-
- 문제점 **
원격지에 있는 CUBRID 연결 시, 아래와 같은 경우에 따라 Connection String을 변경해 주어야 한다.(메뉴얼에는 명시되어있지 않음)
- 문제점 **
Case 1. 응용을 수행하는 서버에 CUBRID를 임의로 설치하여 Engine의 OLEDB Driver를 이용하여 원격지에 있는 CUBRID에 연결하는 경우
- 메뉴얼 상의 Connection String과 동일
- Connection String : “Provider=CUBRIDProvider;Data Source=demodb;Location=xxx.xxx.xxx.xxx;User ID=dba;Password=;Port=33000;Fetch Size=100”;
Case 2. Driver를 직접 등록하여 원격지에 있는 CUBRID에 연결하는 경우
(http://ftp.cubrid.org/CUBRID_Drivers/OLEDB_Driver/ 경로의 exe/zip 파일을 이용)
- Connection String : “Provider=CUBRID.OLEDBProvider;Data Source=demodb;Location=xxx.xxx.xxx.xxx;User ID=dba;Password=;Port=33000;Fetch Size=100”;
- ".OLEDB"를 빠뜨린다면, "공급자를 로컬 PC에 등록할 수 없습니다" 오류를 출력
-
- 참고사항 **
- 링크한 QnA를 참고하세요 : http://www.cubrid.com/zbxe/567535
- ".OLEDB" 추가는 Driver 등록 후 연결 테스트 파일(test.udl)을 이용하여 String을 확인할 수 있었습니다.
in this page
http://www.cubrid.org/wiki_apis/entry/oledb-connection-string
the connection provider has been changed from "CUBRID.OLEDBProvider" to "CUBRIDProvider".