Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Nathan
2014-08-25T02:39:11Z
hi, I have a VisualCron job that was setup over a year ago, it runs about once a week and completes without errors 95% of the time. Recently we changed the processing location from a XP machine to a Win7 machine and since it has been having issues.

The VisualCron job is trigged by putting a zip file in a specified directory. The first task in the job unzips the file to a unc network folder after the extract completes other things should happen.

The extract task does extracts all the files to the correct location but it exits with an error so the rest of the tasks don't run. The error suggests that one of the files that it has extracted is being used by another process.

We are using Version 7.1.6 on MS Server 2003

Error Log:
Exception in Task: System.IO.IOException: The process cannot access the file '\\xxxservernamexxx\TEMP\xxxfilenamexxx.xml' because it is being used by another process.
at SevenZip.SevenZipBase.ThrowException(CallbackBase handler, Exception[] e)
at SevenZip.SevenZipBase.CheckedExecute(Int32 hresult, String message, CallbackBase handler)
at SevenZip.SevenZipExtractor.ExtractArchive(String directory)
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.IJDAGFJMLJFNHKOCGKCOJOBFEPMLKABILLJK.CDJMFGBLNJDPDEJFDKHPAHBBBBMJAIAOLEGJ() in C:\sourcefiles\code\VisualCronService\Jobs\TaskProcesses\File\Archive\clsProcessTaskArchiveDecompress.vb:line 166
Sponsor
Forum information
Support
2014-08-26T19:14:12Z
It sounds like there is a temporary but short lock after file has been triggered until it has been fully released. Try to add a Wait Task and wait 5 seconds after Trigger before you run the zip Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Nathan
2014-08-26T20:57:31Z
That looks to have sorted the issue. Thanks 🤬
Support
2014-08-27T17:03:18Z
Great!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
al355
2014-09-02T18:57:15Z
This sounds similar to a problem we are having. Shouldn't the zip task only complete once the file is ready for the next task? Not sure how easy it is for VC to know about this but having an arbitrary delay doesn't seem ideal.
Scroll to Top