Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Hi.
Is it possible that you have some files that is used in the macro opened at the same time ?
Try to write in your application
set ErrorMode = 0;
And then again check the reload status
I have done that but same error is comming.
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
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?
i have applied the batch process on QMC but it is showing running. But this will not generate the Excel Reports.
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.
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.