Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
There are lots of questions on this forum about failed reloads, usually caused by incorrect rights (either database or via section access).
However in my case that doesn't seem to be the issue.
I have this LOAD script that connects to a SQL server database. The script loads correctly in the desktop client. In QMC it loads the first couple of tables and than stops with a "Table not found" message. I believe this is not the primary issue but caused by the load statement before that; the log file shows that the statement before that does not return results, but throws no error either.
Below is the log result from the last succesfully completed LOAD (452949 lines fetched). After that is a SQL load where the line "2 fields found" and "... lines fetched" are missing.
This is the same log from the qlikview desktop, notice the result is different.
The qvw contains no section access, SQL rights are correct as the previous SQL loads do return results.
Any ideas?
The service user might not have the rights to read from the SQL server.
Try to put an exit script underneath the SQL Select and see if the table exists in the model.
u r renaming filed as id_loannumber_application, leningnumber correct but in the dim_loannumber_application table or concatinating resident Aanvraag table already with this namefileds are there.( i mean already fileds with id_loannumber_application, leningnumber names exists in table) please rename the both fileds and check once still same error then there is somsthing wrong in concatenating. please check the first scenario and confirm. i guess ur issue will be caught hold in first method.
maybe try a NoConncatenate after "LoanNumberApplication"
LoanNumberApplication:
NoConncatenate
LOAD
.
.
.
Thanks Vinaykumar. I do rename the fields to id_loannumber_application and Leningnummer.
Since I want to concatenate two tables I use the same name in both statements so QV will append 2nd table to to the first.
This works correctly in the QV desktop
Hi Thomas
I tried you suggestion but to no avail. The result is the same: correct reload in QV desktop, fail in QMC
Are the execution rights the same for you and the server login? If not your sql may execute differently when run by the admin user
The service user might not have the rights to read from the SQL server.
Try to put an exit script underneath the SQL Select and see if the table exists in the model.
That's it! The service user did not have read rights on this one specific table.
Thanks for all the help!