Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reload fails in QMC

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.

2014-11-24 11_52_48-___stqlv02_apps$_Datamodel_WFM Data Layer.qvw.log - Notepad  .png

This is the same log from the qlikview desktop, notice the result is different.

2014-11-24 11_53_55-___stqlv02_apps$_Datamodel_WFM Data Layer.qvw - OK.log - Notepad  .png

The qvw contains no section access, SQL rights are correct as the previous SQL loads do return results.

Any ideas?

1 Solution

Accepted Solutions
simenkg
Partner
Partner

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.

View solution in original post

7 Replies
vinay_hg
Creator III
Creator III

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.

thomaswrieck
Partner
Partner

maybe try a NoConncatenate after "LoanNumberApplication"

LoanNumberApplication:

NoConncatenate

LOAD

.

.

.

Not applicable
Author

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

Not applicable
Author

Hi Thomas

I tried you suggestion but to no avail. The result is the same: correct reload in QV desktop, fail in QMC

Not applicable
Author

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

simenkg
Partner
Partner

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.

View solution in original post

Not applicable
Author

That's it! The service user did not have read rights on this one specific table.

Thanks for all the help!