Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009

    Unanswered: ORA-12154: TNS:could not resolve service name

    I am doing a big conversion on the company application. This application was done under VB6 SP6 front end and MSSQL 2000 for back end. And now, the company wants to move in to the ORACLE environment. So, I converted all the SQL statement used in the application and also the connection string.

    Here's my problem, when I run the application to the VB environment, it works smoothly. But when I compiled the application and run the exe file, it gives me error (ORA-12154: TNS:could not resolve service name).

    I checked the components/drivers used by the application as well as the TNSName.ORA. And Its fine but still problem occurs after the compilation.

    What do you think is the problem? Do I missed something?

    Oh, I forgot to put that I am running the compiled vb apps on my development machine. Is there any problem on that? If so, whats the reason behind that? Another scenario, If the compiled vb apps not works on the user machine. What is the possible root cause for this exe to fail?

    I read so many forum thread, and tried everything. Unfortunately, no luck seen.

    Thanks for the reply and hope you can give me answer to my problem.

  2. #2
    Join Date
    Feb 2009
    DB server:
    OS: Linux
    DB: ORACLE 10g

  3. #3
    Join Date
    Aug 2003
    Where the Surf Meets the Turf @Del Mar, CA
    Provided Answers: 1
    I am sorry to see that GOOGLE is broken for you.

    Results 1 - 10 of about 63,700 for ORA-12154.

    Below is from Metalink:

    TROUBLESHOOTING GUIDE: TNS-12154 TNS:could not resolve service name
    Doc ID: 114085.1
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

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