ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-11T14:35:54Z
Hi Henrik,

I still have the Impersonation error in version 4.9.35. I will post a log of the server in this post.

The job is a queued job with a file trigger on a unc path on created file names. I checked the subdirs and trigger when the file is released.
The job has one task and that is to append text to a local file. The credentials I use have rights for both places.
If this task failes I set it up to wait 1 sec and try it again (max 50 times).
The file write task uses variables from the trigger:

{STRING(Replace,{TRIGGER(Active,LastTrigger,File.Result.TriggerFolder)},{TRIGGER(Active,LastTrigger,File.Folder)},)}
and
{TRIGGER(Active,LastTrigger,File.Result.FullPath)}

Strange thing is that when the server restarts the error is gone for a while, but after x copies it is back. And if it's back, i't is never going away till I stop/start the VC service (services window of microsoft).

One other strange thing is that the task is doing his task. He appends data to the file with the corrent variable content. So everything looks fine, but now I have for every trigger the same entry 50 times in the file if the error has occured. So there are single lines when there's no error and 50 if the error occured.

Any idea?

Regards,
Erik


11/11/2008 9:46:54 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:46:54 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:46:54 AM	Info	Task started: Nieuwe file
11/11/2008 9:46:54 AM	Info	Task completed: Nieuwe file
11/11/2008 9:46:54 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:46:54 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:46:54 AM	Info	Task started: Nieuwe file
11/11/2008 9:46:54 AM	Info	Task completed: Nieuwe file
11/11/2008 9:46:54 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:47:03 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:47:03 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:03 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:03 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:47:03 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:47:03 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:03 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:03 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:47:03 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:47:03 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:03 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:04 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:47:04 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:47:04 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:04 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:04 AM	Info	Job completed: _Elektronische Postbus - File create
11/11/2008 9:47:04 AM	Info	Job started: _Elektronische Postbus - File create
11/11/2008 9:47:04 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:04 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:04 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:04 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:04 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:04 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:05 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:05 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:05 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:05 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:05 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:05 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:05 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:05 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:06 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:06 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:06 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:06 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:06 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:06 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:06 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:07 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:07 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:07 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:07 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:07 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:07 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:07 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:07 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:08 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:08 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:08 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:08 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:09 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:09 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:09 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:10 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:10 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:10 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:11 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:11 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:11 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:12 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:12 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:12 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:13 AM	Err	Impersonation failed in FileEvent
11/11/2008 9:47:13 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:13 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:13 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:14 AM	Err	Impersonation failed in FileEvent
****
****
11/11/2008 9:47:51 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:51 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:51 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:52 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:52 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:52 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:53 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:53 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:53 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:54 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:54 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:54 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:55 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:55 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:55 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:56 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:56 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:56 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:57 AM	Info	Task started: Nieuwe file
11/11/2008 9:47:57 AM	Err	Impersonation failed in task: Nieuwe file
11/11/2008 9:47:57 AM	Info	Task completed: Nieuwe file
11/11/2008 9:47:58 AM	Err	TaskRetry failed after 50 times. Aborting Job

Uses Visualcron since 2006.
Support
2008-11-11T16:29:07Z
We will use a new approach for the next version. Hopefully released later today.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2008-11-12T09:57:58Z
ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-12T10:11:31Z
This one i'm gonna try tomorrow. I'm not in the office today.

Regards
Erik
Uses Visualcron since 2006.
ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-13T09:46:27Z
I'm sorry to tell you that it is still not fixed.

11/13/2008 9:34:11 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:11 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:11 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:11 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:11 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:11 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:11 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:11 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:11 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:11 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:11 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:12 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:12 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Err	Impersonation failed in FileEvent
11/13/2008 9:34:12 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:12 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Err	Impersonation failed in FileEvent
11/13/2008 9:34:12 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:12 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Err	Impersonation failed in FileEvent
11/13/2008 9:34:12 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:12 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Err	Impersonation failed in FileEvent
11/13/2008 9:34:12 AM	Info	Job started: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Info	Task started: Nieuwe file
11/13/2008 9:34:12 AM	Info	Task completed: Nieuwe file
11/13/2008 9:34:12 AM	Info	Job completed: _Elektronische Postbus - File create
11/13/2008 9:34:12 AM	Err	Impersonation failed in FileEvent


It works fine for a while, but than out of the blue it's there again. This morning I had a hudge issue with this failure and had to do manual FTP transfers... darn..

I hope you can fix this one.

Regards,
Erik
Uses Visualcron since 2006.
Support
2008-11-13T09:53:53Z
But the Task works even though you get that error right?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-13T10:03:35Z
Yes, so it looks, but....

yesterday with version 4.9.35 I had an issue that the errors keep comming up.

11/12/2008 9:17:47 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:47 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:48 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:48 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:48 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:48 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:48 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:49 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:49 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:49 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:49 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:49 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:50 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:50 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:50 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:50 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:51 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:51 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:51 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:51 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:51 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:52 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:52 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:52 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:52 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:53 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:53 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:53 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:53 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:53 AM	Err	Impersonation failed in FileEvent
11/12/2008 9:17:54 AM	Err	Impersonation failed in FileEvent
etc... for over 22 hours


This went on to today, so the whole day yesterday, overnight, till this morning when I stopped the service to stop this process.
In the morning the files where the trigger should trigger on did not work (the error was still comming up that time) and there was not file created (or append to).

This kind of failure (continue errors in the log for 22 hours) is the 1st.

Regards
Erik
Uses Visualcron since 2006.
Support
2008-11-13T10:07:31Z
Hmm.. I wonder if it is anything special with that user you use? Can you try using another user? When did all this start?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-13T10:11:12Z
This error came up when the queued job was introduced. Before that I did not have this kind of job. I could not use the file trigger for bulk copies becouse I could miss a file.
I have an other user to test with, so I will set this up to check.

Regards
Erik.
Uses Visualcron since 2006.
Support
2008-11-13T10:21:03Z
First we will remove this logging, because it seems incorrect. We will get back with a new version for tomorrow.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-13T13:41:11Z
ok, here's one out of the blue:

11/13/2008 12:59:04 PM	Info	Task started: Delete tijdelijk bestand: server103mod_toBeProcessed.txt
11/13/2008 12:59:04 PM	Info	Task completed: Delete tijdelijk bestand: server103mod_toBeProcessed.txt
11/13/2008 12:59:04 PM	Debug	Running File Notification: 'Schrijf task uitvoer naar log  f:\jobs\log\[jobnaam].txt'
11/13/2008 12:59:04 PM	Info	Task started: run FTP script
11/13/2008 12:59:07 PM	Debug	Process status - About to raise TaskCompleted (1504)
11/13/2008 12:59:07 PM	Info	Task completed: run FTP script
11/13/2008 12:59:07 PM	Debug	Running File Notification: 'Schrijf task uitvoer naar log  f:\jobs\log\[jobnaam].txt'
11/13/2008 12:59:07 PM	Info	Task started: Delete tijdelijk bestand: server103mod_Processing.ftp
11/13/2008 12:59:07 PM	Info	Task completed: Delete tijdelijk bestand: server103mod_Processing.ftp
11/13/2008 12:59:07 PM	Debug	Running File Notification: 'Schrijf task uitvoer naar log  f:\jobs\log\[jobnaam].txt'
11/13/2008 12:59:08 PM	Info	Job completed: _Elektronische Postbus - Verwerk modificaties
11/13/2008 12:59:28 PM	Debug	Saving Jobs
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:17 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:18 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:18 PM	Err	Impersonation failed in FileEvent
11/13/2008 1:00:18 PM	Err	Impersonation failed in FileEvent


and running until I stopped the service again.
Uses Visualcron since 2006.
Support
ErikC
  •  ErikC
  • Paid support Topic Starter
2008-11-14T07:45:44Z
Thanks, I'll try this one.

This morning I did not have the error (4.9.37). I had used a different user for the file trigger and file write task.... hmmm So it it the user than....

I'll try this version also.

regards
Erik
Uses Visualcron since 2006.