Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bonjour
J'ai une appli Loader qui extrait depuis une base Oracle. Elle fonctionne très bien quand je la lance depuis le client.
Quand je veux programmer un reload dans le server, j'ai le message suivant :
(2013-10-02 18:47:19) Error: Reload failed.
(2013-10-02 18:47:19) Information: Closing the document.
(2013-10-02 18:47:20) Information: Closed the QlikView Engine successfully. ProcessID=3432
(2013-10-02 18:47:20) Information: Initializing (0), Finished (295)
(2013-10-02 18:47:20) Error: Reload failed. Distribution skipped.
(2013-10-02 18:47:20) Error: The task "Application KLEE/2-QV/5-Application/pfs_loader.qvw" failed. ErrorCount=3
Le log de l'appli me donne :
02/10/2013 18:47:19: 0055 if DB_CONNECT_TYPE=32 then
02/10/2013 18:47:19: 0056 OLEDB CONNECT32*Provider*XPassword*
02/10/2013 18:47:19: Error: ErrorSource: OraOLEDB, ErrorMsg: ORA-12154: TNS:could not resolve service name
02/10/2013 18:47:19: General Script Error
02/10/2013 18:47:19: Execution Failed
02/10/2013 18:47:19: Execution finished.
J'ai vérifié les mot de passe de mes services, les ai redémarré pour tester. L'utilisateur est bien dans le groupe QlikView administrateur.
Je ne sais plus où chercher. Quelqu'un aurait il une idée ?
Un grand merci d'avance
Fred
ORA-12154: TNS:could not resolve service name
The database you try to connect to can't be found. That could be because you specified the wrong database (the SID in oracle speak), or the database is not available, or perhaps a network problem is causing this problem. Check with your database administrator that your oledb connect string is correct and that a connection to the database can be established from the Qlikview server.
Hi
Thanks for reply but the script works fine in the client.
Why not in the server ?
Fred
Fred,
First, make sure that you can reload in QV Desktop on the Server machine - to confirm that the Oracle client is installed and configured.
If it works, the problem most likely is with the QV services user. In QV Desktop, you reload and connect to the database as yourself. When Server runs reload, the services user connects to the database. There could be lack of access permissions.
Regards,
Michael
Hi,
Do you have the details of the database you are trying to connect in the tnsnames.ora file of the server?
Regards,
Abey
Thanks Michael
When i tried in the desktop i was connected as the same user the services start with
Fred
HI
I just know it's an oracle database
The oledb connexion works in the QV desktop.
let DB_SCORE='[Provider=OraOLEDB.Oracle.1;Persist Security Info=True;User ID=consult2;Data Source=ITS_PROD;Extended Properties=""] (XPassword is blablabla);';
Fred
Hmm, I had this exact problem with Oracle long ago. It was QV 8.50, if I remeber correctly. Spent hours and hours on phone with QlikTech Support. Eventually decided to use scheduled reload by QV desktop instead of Server reload.
But currently using QV 11 and 11.2 with Oracle without any issues.
Regards,
Michael
No idea. That's why you need to check if it's possible at all to connect to the database from the server where you installed Qlikview Server. Perhaps the database isn't listed in the tnsnames.ora file. It's impossible to tell from here what's wrong. Perhaps your Oracle DBA can help you troubleshoot this issue.
Tried to change 'Document properties - Server - The server do .....'. No success.
I try to use document scheduler. I will post the result as possible.
I plan to call support too
Fred