Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
reijk317
Contributor II
Contributor II

ORA-12154: TNS:could not resolve the connect identifier specified

I hope some can help me.

I have a dashboard with a OLEdb connection (I also tried it with an ODBC connection).

When I reload this dashboard there is no problem, it reloads fine. But when I reload I by using Qlikview Management Console I get a error: ORA-12154: TNS:could not resolve the connect identifier specified

I don't understand this.  If there is a problem with TNS I would expect that I get also an error with reloading it in the dashboard.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

In that case try creating the environmental variable for TNS entry, like below.

Set the TNS_Admin environment variable if it is not set

  • Navigate to Control Panel > System
  • Select Advanced System Settings
  • In the Advanced tab, select Environment Variables
  • Under System Variables, click New
  • In the Variable name text box, type TNS_ADMIN
  • In the Variable value text box, type the location of the TNSNames.ora file
  • Click OK to add the variable
  • Restart the server
Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, You should create a system DSN (ODBC Connection) instead of User DSN.

This should solve your problem.

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
reijk317
Contributor II
Contributor II
Author

Thanks, but we do have an system DNS

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

In that case try creating the environmental variable for TNS entry, like below.

Set the TNS_Admin environment variable if it is not set

  • Navigate to Control Panel > System
  • Select Advanced System Settings
  • In the Advanced tab, select Environment Variables
  • Under System Variables, click New
  • In the Variable name text box, type TNS_ADMIN
  • In the Variable value text box, type the location of the TNSNames.ora file
  • Click OK to add the variable
  • Restart the server
Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!