5.1.2.0 critical error cannot access file

  • Автор темы Автор темы kumquat
  • Дата начала Дата начала

kumquat

Client
Регистрация
09.06.2012
Сообщения
10
Реакции
0
Баллы
1
Using template 1 to write/create 2.txt with "Good End"
with task manager -> start template 2 if file 2.txt exist + delete file

This occasionally crashes zenno:

2014-08-16 17:29:15.4940|ERROR|CurrentDomain UnhandledException
System.IO.IOException: The process cannot access the file 'C:\zenno\1\2.txt' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at ZennoLab.TaskCore.TaskManager.S6G4Laqria4athRaBGYO(Object )
at ZennoLab.TaskCore.TaskManager.EventTimerTick()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


Any help?
Should I just delete file with the 2nd template instead of using delete file option in task manager?
Thanks
 
You shouldnt interact with files if they are used within templates manually
 
What does that mean?

Zenno task manager is the only thing interacting with the file once it is created. it tries to 'remove' the file as selected in task setup

Am I using this incorrectly?
 
How do you use this file before delete it? Do you bind it to list/table, did you use it in multithreads? why you delete it?
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)