Powershell task getting crashed - VisualCron - Forum

Community forum

rayudu
2018-09-06T19:51:36Z
Hello guys,

While executing following type of powershell task, got error with exit code 255.
get-childitem "xxx\fileNamexxx" | select-object "Name","LastWriteTime"| export-csv "xxx\some .txt filexxx" -NoTypeInformation

Then upgraded Visualcron to latest 8.3.6 version and enabled "Execute in x86 mode" option, then also, we got following error after running for very long time..
Following error is there in output path
12:27:03: Server->Execute path: xxxx\TaskPowerShellx86.exe
12:27:03: Server->Executing Task process
20:21:04: Server->Executing Task process exited with exit code: -532462766


and this is error when double clicked on error.. in task log.

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'VisualCron, Version=1.0.1.17177, Culture=neutral, PublicKeyToken=xxxx' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at cHJfmnyPpKZ0iJ4tnN.WH0WifmctoBfvWrb07.xvlEa5rgK(String[] )
Exception in Task: Non zero exit code
Exception in Task: Non zero exit code


The task powershell error showing following
Problem event name : APPCRASH
Fault module Name : KERNELBASE.dll
Exception code : e0434352
Exception offset : 0000c54f

My Windows experts checked and nothing is problem from server side.

Provide me with a solution if any.!


Support
2018-09-14T14:53:24Z
Which version are you using? Are you able to test the same with the latest 8.3.6?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rayudu
2018-09-17T14:59:41Z
Hi Henrik/ Support team,

I am using latest version 8.3.6 and the problem exists when tested with this version.
rayudu
2018-10-08T18:14:33Z
Can Some one respond on this pls
Support
2018-10-09T07:22:24Z
It could be that you are lacking the Feature pack which includes .net 3.5/2.0. Please install that from Windows features.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rayudu
2018-10-11T18:24:59Z
We are having .net Framework 3.5.1 Features(Installed) from Windows feature.

Is this related to WCF Activation under that.
Support
2018-10-12T08:00:17Z
Scroll to Top