Results 1 to 3 of 3

Thread: Error in VB Script connection with Oracle 11g 64 bit

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2012
    Posts
    1

    Error in VB Script connection with Oracle 11g 64 bit

    Hi All,

    I am trying to connect oracle 11g with VBscript for windows 64 bit.But while connecting with code it is throwing me error as "Provider not specified" the same code in windows 32 bit edition works fine.I have created DNS and trying to connect through that the DSN is successfully getting connected.

    Below if the code that iam using :

    Set objcon=createobject("ADODB.Connection")
    objcon.Open "DSN=MYDSN;User Id=Myid;Password=Mypassword"



    Please help,

    Thanks and Regards,
    Anjani Kumar Deo.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Error in VB Script connection with Oracle 11g 64 bit

    Welcome to VBForums

    Thread moved from the 'VB6 and Earlier' forum to the 'VBScript' forum

  3. #3
    Addicted Member Darren M.'s Avatar
    Join Date
    Nov 2005
    Location
    D/FW
    Posts
    200

    Re: Error in VB Script connection with Oracle 11g 64 bit

    Are you sure the 32 bit ODBC drivers are loaded? I've never hit Oracle via VBS but in other environments the 32 ODBC admin was required.

    My attempt at a thought provoking sig.
    * Remove ALL assumptions. You'll probably find your problem.
    * New to the forums? READ THIS! The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft
    * Learn how to fish!
    * Subscribing to every thread I post in is like having a book mark in my mind. Every now and then I get to review a fond memory.
    * If you find my post helpful do me a 15 second favor and RATE it. (Rate Post. Over there <----)
    * Please mark all resolved threads as such. It makes searching for fixes SO much easier!
    * Have fun. We aren't on this rock for long, enjoy it.
    * Sometimes I'm wrong. When I am I admit it. Never am I malicious. If reading my post and you think otherwise, then it MAY be tongue in cheek. Read it again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width