Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

tilakbhawsar094
New Contributor II

QMC

Hi,

I have QVW tasks in QMC which are scheduled to run every day in the morning, till yesterday it was working fine but today one of the task throwing error.

Error:

Store something into \\path\XYZ.csv

General script error

Execution failed

Execution finished.

 

 

Tags (1)
8 Replies
dapostolopoylos
Contributor III

Re: QMC

Check with your system administrator if the user that runs the QVW tasks has Write access to the folder \\path\XYZ.csv
Father/Husband/BI Developer
tilakbhawsar094
New Contributor II

Re: QMC

I checked user account has access.

Re: QMC

Can you post complete script with error.

Great dreamer's dreams never fulfilled, they are always transcended.
tilakbhawsar094
New Contributor II

Re: QMC

Thanks for replying.  

Sorry that file is on secured server, not able to share.

But please let me know, what info do u need I can give you the similar one.

Support
Support

Re: QMC

@tilakbhawsar094 

So, will likely need more information here in order to assist, so please provide as much as possible.

The error is occurring immediately after the STORE command to .csv in the load script? Is this the last item in the load script? Does the issue occur each time the task is run or intermittently?

Sr. Technical Support Engineer with Qlik Support

Re: QMC

Hi @tilakbhawsar,

General Script error comes due to error in script. That's why I need script to check that is there any error in script. Script does not contain any secure data so you can share, or post snap shot of it.
Great dreamer's dreams never fulfilled, they are always transcended.
MVP
MVP

Re: QMC

Has the script updated the file \\path\XYZ.csv? If not, either the path is inaccessible to the system account, or the file is locked, or the location is out of disk space. Any one of these can prevent the file from being updated and cause a general script error.

If the file is being updated successfully, then i suggest you supply the script lines after the store statement up to the error and also share the last 50 lines or so of the document log file.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Support
Support

Re: QMC

Be sure no other task is trying to access that same csv file, as having a 'read' and a 'write' trying to occur at the same time is going to result in one of them failing, that is the most logical issue given the symptoms you described, hopefully this may help further if you are still troubleshooting things.  So what I would check is if you have other tasks that read that csv file, if something happened in timing such that things got out of sync on normal schedule and the write was trying to occur while another task was doing a read from the file, as that would be a problem in this case.

Regards,
Brett

To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.