Results 1 to 5 of 5

Thread: VB6 and Oracle errors

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    VB6 and Oracle errors

    I designed a system, works well on my machine but fails on others machines.

    I create an ADO connection, passing the Uname and Pword and on my machine with this connection.
    <conn>
    ConnString = "Provider=MSDAORA.1;User ID=Uname;Password=Pword;Data Source=Servername;Persist Security Info=true"
    </conn>
    Again, this works in the IDE as well as the exe on my machine.

    One error is TNSfile cannot connect. All tns files are updated for the new server and they cannot TNSPing the systems either.

    Another is null password and will not connect. Arrrghhh

    I'm thinking its the Oracle install. Nothings standardised here.

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

    Re: VB6 and Oracle errors

    Thread moved to Database Development forum (the "VB6" forum is meant for questions which don't fit in more specific forums)

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    Re: VB6 and Oracle errors

    Ooops. Thanks.

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: VB6 and Oracle errors

    Your typical tns entry may look like this:
    Code:
    TNSNAME =
    (DESCRIPTION=
       (ADDRESS_LIST=
          (ADDRESS=
             (PROTOCOL=TCP)
             (HOST=YOURHOST)
             (PORT=1111)
          )
       )
       (CONNECT_DATA=(SID=SOMESID)
       )
    )
    Open command prompt and try to ping YOURHOST (it could be allias say DBPROD or actual IP Address).
    If it's not pingable then that's your problem - ask your DBA or guys from your infrastructure to help you with that.

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

    Re: VB6 and Oracle errors

    Is the server up? Is the database running? Is the listener on the db server running and listening on the right port?
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

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