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.


Support
2008-10-22T22:01:36Z
This update is concerning found bugs in the mail Trigger:

[BUGFIX] Server: Fixed mail trigger thread exit problem
[BUGFIX] Server: Fixed custom save location problem (mail trigger)
[BUGFIX] Server: Fixed a triggering problem with AnyMatch (mail trigger)
[BUGFIX] Server: Fixed a triggering problem with counter (mail trigger)
[BUGFIX] Server: Fixed attachment folder Variable
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Sponsor
Forum information
ErikC
2008-10-23T08:23:30Z
Hi,

Still have the variable error.

System.NullReferenceException: Object reference not set to an instance of an object.
   at UCTaskCalculateVariable.CheckValues()
   at PigIAnK8m9D76HO76JR.lpJA61K7D4kTxlb2idE.CheckValues()
   at PigIAnK8m9D76HO76JR.lpJA61K7D4kTxlb2idE.6Ox1C021H(Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at Infragistics.Win.UltraControlBase.OnClick(EventArgs e)
   at Infragistics.Win.Misc.UltraButtonBase.OnClick(EventArgs e)
   at Infragistics.Win.Misc.UltraButton.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


How to regenerate this error:
- create a variable (int32)
- create a job with a calculate variable task and use the created variable and add 1 to it's value
- close the job
- open the variable window and delete the variable
- create an other variable (int32)
- open the calculate variable task again
- select the newly created variable
- click on OK and there is the error.
Uses Visualcron since 2006.
Support
2008-10-23T09:09:33Z
We will try to reproduce that and get back to you. Thank you for the steps.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
BrianB
2008-10-23T17:49:50Z
The path is now working, and I can even embed variables for folder names, and they get created on the fly. Cool.

Still having issues with the -ERR diabling the trigger I know I can't get you into my server, but I did just pull a Wireshark trace and saved it if it will help.
ErikC
2008-10-27T11:08:53Z
I have in this version also a file trigger problem, but I don't know if it's version related, or that is was always there...

I have a script running deleting files older than a specific date. This is done with the external program 'forfiles.exe'
Example:
forfiles /p "g:\mypath\" /s /d -8 -c "cmd /c del @Path"


Than an other job is monitorig file delete at this path and runs a file write task with the path output of the trigger.

The result of the path are 'short' names for the files being deleted. Thant means, there is a ~1 in the filename of the trigger result. (8.3 size)
That's not what I want. I want the full name.


[edit]If I delete files within windows explorer, I do got long file names. So it looks like when there is a DOS delete, the filepath is shortened.[/edit]

Regards,
Erik
Uses Visualcron since 2006.
Support
2008-10-27T11:22:25Z
But this error is probably not related to VisualCron? Perhaps it is better to do this in VBscript instead?

ErikC wrote:

I have in this version also a file trigger problem, but I don't know if it's version related, or that is was always there...

I have a script running deleting files older than a specific date. This is done with the external program 'forfiles.exe'
Example:

forfiles /p "g:\mypath\" /s /d -8 -c "cmd /c del @Path"


Than an other job is monitorig file delete at this path and runs a file write task with the path output of the trigger.

The result of the path are 'short' names for the files being deleted. Thant means, there is a ~1 in the filename of the trigger result. (8.3 size)
That's not what I want. I want the full name.


[edit]If I delete files within windows explorer, I do got long file names. So it looks like when there is a DOS delete, the filepath is shortened.[/edit]

Regards,
Erik


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-27T11:23:44Z
I will try.
Uses Visualcron since 2006.
Support
2008-10-27T13:13:53Z
Please send use the trace to support@visualcron.com

We will add some further log debugging for the next version.


BrianB wrote:

The path is now working, and I can even embed variables for folder names, and they get created on the fly. Cool.

Still having issues with the -ERR diabling the trigger I know I can't get you into my server, but I did just pull a Wireshark trace and saved it if it will help.


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-27T14:46:03Z
I also have some issues that when I have a huge amount of file triggers at once and queued, after they all are processed, the job is still having the status running, but no tasks are running.
In the active processes you can see the job in the matrix, but there are no tasks running.

I'n not able to stop the jobs. They are staying in the list, even when I click on the 'Stop' button.

[edit]btw, new triggers wil run, but job still has running status after completing all tasks[/edit]

Regards
Erik
Uses Visualcron since 2006.
Support
2008-10-28T21:32:06Z
What is confusing for is that you say "they are staying in the list". If you are using the queue option only one will be in the list at a time. Are you using the queue option?

ErikC wrote:

I also have some issues that when I have a huge amount of file triggers at once and queued, after they all are processed, the job is still having the status running, but no tasks are running.
In the active processes you can see the job in the matrix, but there are no tasks running.

I'n not able to stop the jobs. They are staying in the list, even when I click on the 'Stop' button.

[edit]btw, new triggers wil run, but job still has running status after completing all tasks[/edit]

Regards
Erik


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-29T09:59:54Z
Yes I am sure. The funny thing is, it is not happening all the time.

I have also some issues with the client. Sometimes I have to end it (with thask managers End Task) and start it again.
If I'm able to reproduce it, I will let you know how. I'm doing a lot with queued jobs at the moment.

Also, I have the 'Impersonation failed' sometimes in a write to file task.
This is in a qeued job which looks for file additions in a network share.
It is not happening all the time, but when I copy/move a lot of files into the watched folder I sometimes get this error.
I'm using a credential on the watched folder and one for the file write (adding to it) task.
The file write task uses the path variable of the file trigger.

Regards
Erik

Uses Visualcron since 2006.
Support
2008-10-29T10:18:54Z
OK, we will wait a little as we cannot reproduce this ourselves.

About impersonation error. In the log there is often one error before this error - telling us the reason why impersonation failed.

Thanks for the steps to reproduce the Calculate Variable bug. That is fixed now.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-29T10:29:40Z
Support wrote:

Thanks for the steps to reproduce the Calculate Variable bug. That is fixed now.


Thanks.

Support wrote:

About impersonation error. In the log there is often one error before this error - telling us the reason why impersonation failed.


I will check the logs again and hope to see why it is failing. (I'm not in the office today, will check this tomorow)

Regards,
Erik
Uses Visualcron since 2006.
Support
2008-10-30T06:54:15Z
Brian, please test version 4.9.32 which has added debugging. Make sure that you have extended debugging on in the Server settings. Once it has failed then please send the latest log_server.txt to support@visualcron.com

BrianB wrote:

The path is now working, and I can even embed variables for folder names, and they get created on the fly. Cool.

Still having issues with the -ERR diabling the trigger I know I can't get you into my server, but I did just pull a Wireshark trace and saved it if it will help.


Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-30T10:59:06Z
The impersonation error.

First lets tel you what kind of jobs I have:
I have three jobs monitoring the same network directory inc subdirs, 1 monitors file additions, 1 for file deletions and 1 for directory deletions.
Every job has a file write task to the same local file, writing some text and the path variable of the trigger.

There is a fourth job and this job is triggerd by the file created by the three jobs above.
This job is renaming that file and is processing it.

The four jobs have all the queue checkbox enabled.

I only have in the monotir file create job the impersonation error, but the task is doing its work, the file is modified by the file write task with the path of the trigger.
So everything works fine, but I still have an error. CLoning the task, or you different credentials don't matter. Same error happens.

If I stop and start the VC service in the services of the PC, the error is gone (after a new file add trigger). I have to do some new huge file modifications in the monitorred directory to get the error back and if it's there, it's always there.

--

In the logs I saw the following error before the impersonation error:
Err Unhandled exception in Task: The process cannot access the file 'F:\Jobs\filename.txt' because it is being used by another process.

This was seven minutes before the impersonation error. All four jobs are using the same local file, so what I did was using the onerror tab and telling the task to wait an try again in 1 second (50 times) if an error occured.

The funny thing is that the task is running as it should be but giving me an error....:-s

Regards
Erik
Uses Visualcron since 2006.
Support
2008-10-30T11:11:30Z
1. Which is the full Impersonation failed error message?
2. Are you sure it is in the file Trigger and not in the File write Task as you wrote before?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2008-10-30T11:12:51Z
3. there must also be a third error in the log: Impersonation error:
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-30T11:17:01Z
1. 10/27/2008 12:30:48 PM Err Impersonation failed in FileEvent
2. The error is at the task level.
3. Don't have this message in my serverlog.

Regards
Erik

Uses Visualcron since 2006.
Support
2008-10-30T12:25:59Z
What is the Task error then? Because error 1. is from the Trigger. You mean the access problem? Not sure if it is related. We have moved around some code and we'll what happens in the next version.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-30T13:09:34Z
hmm,

At the moment I don't have the error anymore. I restarted the VC service.
If I have it again, I will let you know.

Other issue
It looks that the created by and modified by isn't keeping its values.
I now have some jobs with the value: "User name not found" for both the names.

Regards,
Erik
Uses Visualcron since 2006.
Support
2008-10-30T13:15:16Z
You didn't import from other computer? Or delete account?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-10-30T13:16:14Z
nope. Still working with my id.
Could the settings be lost when I stop/start the service?
Uses Visualcron since 2006.
Similar Topics
Users browsing this topic
Scroll to Top