Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

QMC error

Hello Community, For only one document I am getting the below QMC error and for rest of them no failures.

 

Error: The task "Dashboard" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.WritePermissionkException: Failed to get write permission for file: \Dashboard.qvw ---> System.IO.IOException: The process cannot access the file '\Dashboard.qvw' because it is being used by another process. || at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) || at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) || at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) || at QDSMain.AbstractReloadTask.CheckWritePermissionForFile(String fileName) || --- End of inner exception stack trace --- || at QDSMain.AbstractReloadTask.CheckWritePermissionForFile(String fileName) || at QDSMain.AbstractReloadTask.Reload(String fileName, IExecutingTaskResult executingTaskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) || at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || --- End of inner exception stack trace --- || at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) || at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)

 

 

Can you please over here.

 

_Priya

4 Replies
fabio_vallone
Creator
Creator

Verify if your user of Qlikview Services (Windows > Services) have full permission to write this file... put him as "Qlikview Administrators" and "Administrators" of your Active Directory (better) or Local machine. Other, verifiy if your user of Qlikview Services is "Denied" in QVW folders.

Brett_Bleess
Former Employee
Former Employee

These are normally related to Anti-Virus or some other process taking away the file lock from us, such that we are unable to save the file post reload etc.  If you have exceptions in place for all of that, then the only other thing of which I can think is someone has the source QVW open somewhere, or perhaps there is a tmp file that is hung up as well.  If it is just the one task that would seem to point toward someone having opened the QVW and forgotten to close Desktop/Developer etc., or a stuck tmp file such that we are not able to update things due to that.  

The other option is to use Microsoft SysInternals Process Monitor tool to see what process may have the file locked that way if it is still locked.  Hopefully this helps.  Regarding .tmp file, look in the source doc folder with the QVW in question for any .tmp files that are not associated to running tasks etc.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
priyarane
Specialist
Specialist
Author

Thanks for the reply... we have issue with This document only and rest of them are doing well. This document fails sometimes only not always. Only difference in this document we have Bookmarks in qvw also.
fabio_vallone
Creator
Creator

I understood... I guess Brett answer it's very possible in this case... if you can, reboot your server, maybe this file is opened by error in other program.