Results 1 to 2 of 2
  1. #1

    Data base connection error

    Hi all,

    While trying to connect to Oracle DataBase with QTP, i am getting this error message.

    [Oracle][ODBC][Ora]Error while trying to retrieve text for error ORA-12154

    I have defined all the connection strings in environment file.

    username_target= Environment("username_target")
    password_target= Environment("password_target")
    driver_target= Environment("driver")
    dbq_target= Environment("dbq_target")

    Set CONNECTION_SOURCE= CreateObject("ADODB.Connection")
    CONNECTION_SOURCE.ConnectionString="DRIVER={"& driver_target&"};UID="&username_target&amp ;";PWD="&password_target&";DBQ= "&dbq_target&";"

    Please help me out here!!!!
    My code is ::

  2. #2

    Re: Data base connection error

    Print the generated connection string and make sure its correct.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:48 PM.

Copyright BetaSoft Inc.