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: 
agni_gold
Specialist III
Specialist III

Sharing Violence Error While Reloading QVW.

Hi,

I have Qlikview Server Machine. In which multiple users can access.

And i have written a macro in my qvw file to generate excel reports, But when i am reloading this file .there is sharing violence error comes (A dialog box appear) once i click on OK button of dialog box it will reload and generate the excel report. after this application wants to save again. But when i am saving the application the sharing violence will again come with same dialog box.

Please help.

Labels (2)
8 Replies
whiteline
Master II
Master II

Hi.

Is it possible that you have some files that is used in the macro opened at the same time ?

its_anandrjs
Champion III
Champion III

Try to write in your application

set ErrorMode = 0;


And then again check the reload status

agni_gold
Specialist III
Specialist III
Author

I have done that but same error is comming.

ashfaq_haseeb
Champion III
Champion III

Hi,

It may occur if more then 1 qvd's are referred in two different applications simultaneously.

I would recommend to setup tasks that run one by one not simultaneously.

Hope it helps.

Regards

ASHFAQ

Colin-Albert
Partner - Champion
Partner - Champion

The reload process saves the QVW at the end of the reload. If your macro is also trying to save the QVW, then this is why you are getting a sharing violation. Do you need to save the QVW in the macro?

agni_gold
Specialist III
Specialist III
Author

i have applied the batch process on QMC but it is showing running. But this will not generate the Excel Reports.

agni_gold
Specialist III
Specialist III
Author

When i reload manually it will generate the Excel Reports but , when i applied a reload task on my QVW at QMC . It will reload but not generating the Excel Reports.

marcohadiyanto
Partner - Specialist
Partner - Specialist

Hi Agnivesh,

Try restarting your machine, it's because file being locked by windows you can test by renaming your document, thats why it shown error sharing violance.