Results 1 to 6 of 6

Thread: [RESOLVED] Oracle Connection Run Time Requirement for other Clients

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142

    Resolved [RESOLVED] Oracle Connection Run Time Requirement for other Clients

    Gents,
    I am using the following to open an oracle connection from my VB6 ADO, it works great in my machine where I have the Oracle Database 10g Express Edition already installed.

    What do I need to install in other users' machines in order to have them a successful connection?
    Is installation of msdaora.dll will be enough or do I need to install the oracle components which I hate to do so?.

    Your reply and help will be very much appreciated

    CONOra.Open "Provider=msdaora;Data Source=(DESCRIPTION=(CID=GTU_APP)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oradbt01)(PORT=1234)))(C ONNECT_DATA=(SID=oradbt01)(SERVER=DEDICATED)));User Id=RXXXX;Password=UXXXXXS;"
    Last edited by maqmaq; May 3rd, 2009 at 09:26 AM.
    On error goto vbforums.com

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Oracle Connection Run Time Requirement for other Clients

    The oracle client software need to be installed on the client machines. A TNSNames entry for the connection should be placed in the TNSName file. This is an abosulte necessity (IT IS A REQUIREMENT TO HAVE THE ORACLE CLIENT SORTWARE on each machine that will connect to an Oracle database using any MS technology).
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142

    Re: Oracle Connection Run Time Requirement for other Clients

    Thanks

    What about if I change it from Oracle to SQL?? will it be the same requirement?? I am trying to avoid Oracle client installation
    Apprecaite yur advice
    Thanks
    On error goto vbforums.com

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

    Re: Oracle Connection Run Time Requirement for other Clients

    By SQL do you mean SQL Server? ..or MySQL? ..or another one?

    Assuming SQL Server, you should ideally install the Native Client (link in my signature) for SQL Server 2005+, but in most cases can get away with the older driver included in MDAC/Windows DAC (pre-installed on XP and later) which is designed for SQL Server 2000. There are limitations if you do that, but I can't remember what they are.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142

    Re: Oracle Connection Run Time Requirement for other Clients

    Thanks
    I guess I will go with SQL Server as you suggested, I had confirmed your comments with our data unit and they suggest to use it as well where no additional installation is required as our company is using Windows Vista

    Many thanks
    On error goto vbforums.com

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142

    Re: [RESOLVED] Oracle Connection Run Time Requirement for other Clients

    This is a reference to the resolve of this thread:

    I used the following connection string and it works in every machine with Vista without a problem and without the need of additional files installtion:

    Code:
    CONSQL.Open "Provider=SQLOLEDB.1;Server=DRA00730-SQLT01;Database=myDataBase;Uid=myUsername; Pwd=myPassword;"
    On error goto vbforums.com

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