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.


PapoNL
2022-06-07T12:21:48Z
i get some errors since this morning
and we changed nothing.

It looks like its with the variables.

Errors are:

Unknown Argument in:..
Argument is not valid
Illegal characters in path
But when we follow the job/task and look at the locations with output we can access and also visualcron gives the variable back when you hold your mouse on it..

But we need the variables with some jobs/tasks

2 different jobs_ (edit: 07062022 15:05 all jobs)

Exception in Task: System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at VisualCronService.ProcessTaskJobReportClass.StopParam() in C:\git\code\VisualCronService\Jobs\TaskProcesses\Internal\clsProcessTaskJobReport.vb:line 63


Exception in Task: Error 123 copying file '\\BOUW-FTP\f$\FTP_Root\lfe\lfe2bouw\Bouw 08-06-2022.csv' to '\\?\UNC\redhat\greenmes\inkomend\transport_bouw_lfe[Argument is not valid AF DJ IR OM MX CO CR HK IN UG DZ BH BD EG IQ IL JO KW LY MV MR PS QA SA SD SY AE YE BN DATEFORMA DATE DATETIMEΣ DATENOWADD DATEADD JO TASK LastWorkday$ LastWorkdayOfMonth& FirstWorkdayOfMonth
Years Months
Week Days Workdaysⷤ HoursΥ Minutes Seconds LastRun LastExited Variable StdOut㮑 StdErrΫ Quarterά Weekέ WeekOfMonthή Month.Name IsWorkday WeekDayNumber
de-AT QuarterOfMonth WeekByDay monday tuesday wednesday thursday friday saturday sunday@ Could not find Time exception id( GetNextTimeException WorkdaysBetween DaysBetween" totalmilliseconds totalseconds totalminutes totalhours totaldays Subtract Multiply Divide Abs
Round Ceiling
Floor Po Sqrt Max Min PI E Exp CounterProcessId UniqueProcessI Desc CreatedDate ModifiedDate NextRun NoExecutes㮏 ExitCode ExecutionTime Status CreatedBy.Name ModifiedBy.Name ExecutedBy.Name IsActive
Group StartReason4 Only available at runtime.6 Could not resolve user name& Executed by TriggerJ Job does not exist or is not selected Job Variable ' ' not found.4 Incorrect argument length.κ TaskProcess->Task name: η (4 TaskProcess->Task is null!ε TaskProcess is null!ζ Task name: Type
Order ExitCodeDesc [No name]ι TaskPId Folder0 Result.CreatedFolderPath0 Result.CreatedFolderName< Only available in runtime mode ArchiveType CompressionLevel㮔 Credential.String ArchivePath㮒 SourceFolder㮓 FileMask< [Could not find parameter in: L [Index error (out of bounds error) in: ExtractPath㮘 Result.FileFilter.㮙 [Unknown argument in: " DestinationFolderλ Result.NoCopiedFiles0 Result.CopiedFilesSourceμ Result.CopiedFilesNames: Result.CopiedFilesDestination㮕 Result.NoRenamedFiles㮖 Result.RenamedFilesSource㮗 Result.RenamedFilesDestination Command Parameters WorkDir LogonType R
Sponsor
Forum information
PapoNL
2022-06-07T12:46:47Z
import backup from yesterday but that didnt fixed it sadly.

Any Idea's?
because the processes are stuck for now...
thomas
2022-06-07T12:47:09Z
It seems to be complaining about an argument to a DATEADD or DATEFORMAT function. I assume you are extracting the date from the filename '\\BOUW-FTP\f$\FTP_Root\lfe\lfe2bouw\Bouw 08-06-2022.csv' and passing it to a date function. I would check if the filename format has changed since the last time it worked. Maybe the extra space before the the date is messing with your logic. We would need som screen captures to provide more help I think
PapoNL
2022-06-07T13:05:19Z
Originally Posted by: thomas 

It seems to be complaining about an argument to a DATEADD or DATEFORMAT function. I assume you are extracting the date from the filename '\\BOUW-FTP\f$\FTP_Root\lfe\lfe2bouw\Bouw 08-06-2022.csv' and passing it to a date function. I would check if the filename format has changed since the last time it worked. Maybe the extra space before the the date is messing with your logic. We would need som screen captures to provide more help I think



image.png
No the date is from system.
When file is created/edited via VC.

sadly more jobs are giving errors now..
PapoNL
2022-06-07T13:08:50Z
Most jobs are giving this error atm:

Exit code: Error in argument
Error: Error in argument
Job Status: Error in argument
Omschrijving: [Unknown argument in: "
thomas
2022-06-07T13:21:19Z
That sucks. In desperation I would try to hardcode the date in one of the jobs, just to see if that is where the problem lies. Apart from that the question mark is a bit funky, but it could be something that exists in the error message only

image.png

If several jobs are failing, it hints that the vc xml files may have been corrupted, but you have already tried installing the backup versions it seems. Sometimes restarting the service can help. Sorry, I have nothing else 😑

PapoNL
2022-06-07T13:33:12Z
Solved via turnoff server --> import settings --> Restart service --> start server

I think we forgot to restart the services after importing the backup settings.
Gary_W
2022-06-07T15:07:29Z
Thanks for your update, that is valuable information.
Michael Fjellström
2022-06-09T12:57:00Z
Thanks for the update. Yes that is interesting for us to know.
Scroll to Top