Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

agni_gold
Valued Contributor

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
Honored Contributor II

Re: Sharing Violence Error While Reloading QVW.

Hi.

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

Re: Sharing Violence Error While Reloading QVW.

Try to write in your application

set ErrorMode = 0;


And then again check the reload status

agni_gold
Valued Contributor

Re: Sharing Violence Error While Reloading QVW.

I have done that but same error is comming.

Re: Sharing Violence Error While Reloading QVW.

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

Re: Sharing Violence Error While Reloading QVW.

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
Valued Contributor

Re: Sharing Violence Error While Reloading QVW.

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

agni_gold
Valued Contributor

Re: Sharing Violence Error While Reloading QVW.

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.

chooco_co
Valued Contributor

Re: Sharing Violence Error While Reloading QVW.

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.

Community Browser