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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
gargi_bardhan
Creator
Creator

General Script Error

Hi All !

The data extraction is done by two extractors running parallely hit by a batch file like this:

LOADSTART

CD "D:\Qlik View\BatchFiles\Sub_Batchfiles"

ECHO  Qlikview Reload initiated at %DATE% %TIME%  >>LOADSTART.log

Start DataExtract1.BAT
Start DataExtract2.BAT

The problem is that sometimes either of the two extractors fails & the error is  'General Script Error' , so is there any way that the application doesnt exit & goes into a loop which will make it try atleast twice .

Firstly I thought as I am hitting it parallely so may be due to load one is getting failed, so I put sleep command in the DataExtract2.qvw but all in vain.

So how to resolve this ?

Regards,

Gargi

12 Replies
Not applicable

Hi,

Try reloading applications via a reload engine. You can also set the dependencies among the application there.

Its much safer.

But If it fails too then atleast it will give you a proper log why did reload fail ?

Regards

gargi_bardhan
Creator
Creator
Author

Hi Miguel,

The user who is hitting the Bat has rights on the folder & its a daily process, the issues occurs once in a month but its also not fix,thats why it is geeting difficult to get rid of this issue and Window Scheduler is not used.

Ya the setting you mentioned is implemented here but right now I have no sample of the error log file . The errror which comes in the log is after execution of few lines is 'General Script Error' .

Anyways thanks Miguel, once again If it fails I will attach the log file.

Regards,

Gargi

Not applicable

I was having the same issue - however removing the destination file and then running the QV doc from the server to recreate it (instead of running from desktop) seems to have worked.

I'm guessing that this sets the permissions on the file for the service account as owner (doing this manually didn't work).