[Win32 프로그램] 64 bit Oracle local 접속 문제

kumdoboy1102의 이미지

개발도구 : Visual Studio 2003 .net 사용

프로그램 : 서버에 설치된 local oracle 에 접속하여 query 정보 가져오는 프로그램.
Windows XP 32bit환경에서 컴파일 한 바이너리 파일입니다.

에러사항 :
컴파일된 바이너리 파일을 다양한 OS 에서 테스트 해본 결과 구동 및 Oracle 접속 잘 접속되었는데
Windows server 2008 64bit + Oracle 11.2.0.1 64bit 환경 서버에서 구동시켰더니 프로그램 구동은 잘 되지만
oracle 접속 부분에서 아래와 같은 오류 발생.

[8004005]Oracle 클라이언트 및 네트워킹 구성 요소가 없습니다. 이 구성 요소는
Oracle Corporation에서 제공하며 Oracle 버전 7.3.3 또는 그 이후 버전의 클라이언트 소프트웨어 설치의 일부입니다. 공급자가 작동하려면 이 구성 요소가 설치되어야 합니다.

* 참고로 해당 서버 cmd 창에서 sqlplus 접속은 잘 됩니다. 해당 서비스로 tnsping도 잘 되는 상태이고요

Windows server 2003 64bit + Oracle 11.2.0.1 64bit 환경에서 TEST 해본 결과 동일한 현상 발생.
Windows server 2003 64bit + Oracle 11.2.0.1 32bit 환경에서 TEST 해본 결과 접속 잘 됨.

OS 종류/bit 에는 상관없이 잘 구동되고 Oracle 32bit 환경에는 잘 접속되나
Oracle 64bit 버젼에는 DB에 접속이 안되는 것 같습니다.

혹시나 해서 Windows server 2003 64bit + Oracle 11.2.0.1 64bit 환경 서버에 VC 2003 깔고 해당 프로젝트 파일 가지고 와서
컴파일 하여 구동시켰는데 동일한 현상 발생합니다.

도와주십시요...
이것때문에 보름간 삽질입니다. T.T

혹시나 싶어 접속 함수 부분 첨부합니다.

CDataSource m_ds;

m_ds.Close();

m_dbinit.SetGUID(DBPROPSET_DBINIT);

m_dbinit.AddProperty(DBPROP_INIT_DATASOURCE, "TESTDB");

m_dbinit.AddProperty(DBPROP_AUTH_USERID, "system");

m_dbinit.AddProperty(DBPROP_AUTH_PASSWORD, "1234");

m_strProgramID = _T("MSDAORA");

HRESULT hr = m_ds.Open(m_strProgramID, &m_dbinit, 1);

m_strPoolName.Format(_T("Oracle_%s"), "TESTDB");

return hr;

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.