Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
ankit777
Specialist
Specialist

Reload Fail

Hi All,

I have a QVW file. I am using a macro to generate xls reports which is activated at the time of reload.

I make a Binary load of my QVW. When I reload it, It works perfectly one time and creates the excel report at the desired path.

But after this one attempt, I encounter an error which is "Encountered a sharing voilation" everytime.
Please help.

6 Replies
alexandros17
Partner - Champion III
Partner - Champion III

In macro environment you find two boxes:

requested module security : set "System Access"

current local security : set "Allow system access"

hope it helps

DavidFoster1
Specialist
Specialist

Adding to Alessandro Saccone comments you might want to make sure that your macro closes the spreadsheet properly. I dont work with macros so please dont ask me how.

I encounter a similar problem with QVD files in incremental loads and that is due to the file still being 'technically' open.

ankit777
Specialist
Specialist
Author

Hi Alessandro,

Both the options you mentioned are set as same. But still I am facing the same problem.

alexandros17
Partner - Champion III
Partner - Champion III

It's only an idea,

after the first reload (that works), before you run it again , delete the generated xls file.

Let me know

ankit777
Specialist
Specialist
Author


I deleted the generated xls file. But I still get the error.

Not applicable

You need to either move the exported Excel to another location, or make a copy and delete the original so that QV can create the "new" version.