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.
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.
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?
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.
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.