Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
wangxusq
Contributor III
Contributor III

Sense June UDC error

Hi everyone,

I create two tables :

1.png2.png

Configured the ODBC:

3.png

Tested the ODBC in the script,it is OK.

4.png

But at last, error comes up:

5.png

Anything wrong?

Please help,thanks.

22 Replies
ansarikashif2017

In the above pic, you have tested the ODBC connection based on the TNS Service. What I am talking about is doing a "tnsping orcl" on the command prompt assuming orcl is your tns entry name.

Also, can you attach the logs from ProgramData\Qlik\Sense\Log\Repository\Trace\<hostanme>_UserManagement_Repository.txt when you hit the sync button?

wangxusq
Contributor III
Contributor III
Author

Hi thanks,

tnsping message:

2.png

And please see the attachment .

Thanks.

ansarikashif2017

This is the issue you are facing :-

ERROR [08004] [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified

Can you search for tnsnames.ora on your machine and check if their are multiple files? If yes, please add the orcl entry in the other tnsnames.ora files as well and retry.

wangxusq
Contributor III
Contributor III
Author

My PC install the 32-bit oracle client and the 64-bit oracle db.

Now I rename the other tnsnames.ora,just have one tnsnames.ora. I have searched it.

ansarikashif2017

So what is the new result of "tnsping orcl" on command prompt and re-running the UDC sync? Do share the new logs if you still facing the error.

wangxusq
Contributor III
Contributor III
Author

Hi ,

I tested it. I found the log and the tnsping is the same.

Nothing changed.

I want to know whether I should uninstall 32-bit client or 64-bit db driver? Just stay one?

But I have try to uninstall the 32-bit client,the error still…

Not applicable

Yes, Kashif, thanks, I meant owner name.

@Scott try with SCOTT.T_USERS and SCOTT.T_ATTRIBUTES please

wangxusq
Contributor III
Contributor III
Author

Thanks,I tried it, but the error still exists…

ansarikashif2017

I think try with adding the tns entry for orcl in other tnsnames.ora files instead of renaming the files.

ansarikashif2017

Let me know how this goes?

Also, can you check what is the path in the below command :-

echo %TNS_ADMIN%


The tnsnames file at this path should have the orcl entry.