Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jay587
Creator
Creator

Cache generation task is taking long time and not finishing

Hello Team,

I have created a new nprinting qvw application and also created the app in nprinting. When I'm trying to reload the metadata of that app,it's running more than one hour and not completing.There are no issue with other nprinting cache tasks.

May I Know why it's taking more time ?

Versions : Qlik NPrinting May 2022 SR4  and Qlikview May 2022 SR2

Thanks in advance.

Labels (1)
2 Solutions

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

When NPrinting is generating metadata it is clearing all selections and then previewing all sheets (also hidden sheets).

If your app takes long time it is likely caused by unoptimized views which cause process to fail.

Typically you want app used for NPrinting to be fast and responsive when all selections are cleared. To achieve that you can minimize all objects as then they will not be calculated when sheets are previewed greatly speeding up process.

Other things to consider:

Those are the very basics things you would do as a bare minimum I would say.

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

Frank_S
Support
Support

@Jay587 
If it is not completing, this may also be due to unsupported items in the QVW.

Unsupported QlikView Document item... - Qlik Community - 1714896

You might be hung up on a trigger, a macro, trying to use alternate identity etc.

Check the above in addition to Lech's points.

Kind regards...

Please remember 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
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

When NPrinting is generating metadata it is clearing all selections and then previewing all sheets (also hidden sheets).

If your app takes long time it is likely caused by unoptimized views which cause process to fail.

Typically you want app used for NPrinting to be fast and responsive when all selections are cleared. To achieve that you can minimize all objects as then they will not be calculated when sheets are previewed greatly speeding up process.

Other things to consider:

Those are the very basics things you would do as a bare minimum I would say.

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Frank_S
Support
Support

@Jay587 
If it is not completing, this may also be due to unsupported items in the QVW.

Unsupported QlikView Document item... - Qlik Community - 1714896

You might be hung up on a trigger, a macro, trying to use alternate identity etc.

Check the above in addition to Lech's points.

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
David_Friend
Support
Support

@Jay587 did these suggestions help you?