Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


DgzVlaanderen
2017-06-16T09:53:00Z
I am trying to create a new task (8.2.7) that deletes alle messages in the journal of a local msmq. But when I run the task I get the following exception:
Exception in Task: System.Exception: Cannot deserialize the message passed as an argument. Cannot recognize the serialization format.

Are there specific restrictions on the messages?
Sponsor
Forum information
Support
2017-06-19T16:27:34Z
Thanks for your message - we will investigate this.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2017-06-20T11:19:13Z
We cannot reproduce this problem. Please add screenshot of settings. Also check "Extended debugging" in Server settings and run again. Check error output if it contains more details.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
DgzVlaanderen
2017-06-21T12:52:59Z
Hi Henrik,

I tried with the advanced debugging and I have more information in the log (see below). I did try with different accounts but I just get extra info on impersonation. I also tried with different queues but I always get the same exceptions IF there are messages in the queue. If there are no messages in the queue, the job returns success and "Deleted 0 message(s)".

21/06/2017 14:39:51 Info Job started: Verwijder journal berichten
21/06/2017 14:39:51 Debug SendJobStats->Ended (21/06/2017 14:39:51)
21/06/2017 14:39:51 Debug Next action: ActionContinue
21/06/2017 14:39:51 Debug Calling GetNextTaskProcess()
21/06/2017 14:39:51 Debug Next Task is: MSMQ - verwijder alle journal messages van recodocs
21/06/2017 14:39:51 Debug Next action: ActionContinue
21/06/2017 14:39:51 Debug Calling StartTaskProcess() with Task: MSMQ - verwijder alle journal messages van recodocs (293353)
21/06/2017 14:39:51 Info Task started(MSMQ - Delete message(s)): MSMQ - verwijder alle journal messages van recodocs (293353)
21/06/2017 14:39:51 Info User 'VisualCron Default Admin' - Ran Job: Verwijder journal berichten
21/06/2017 14:39:51 Info Task completed (Failure)->'MSMQ - verwijder alle journal messages van recodocs' (293353)
21/06/2017 14:39:52 Debug PrevTaskProcess(MSMQ - verwijder alle journal messages van recodocs)->ExitCodeResult: Failure (ECCId: 746c95ce-d394-491c-925c-8bd50e4daa8ePId: 293353, Exit code: 77777)
21/06/2017 14:39:52 Debug Found 1 matching flows. (293353)
21/06/2017 14:39:52 Debug Next execution (2) for Job 'Verwijder journal berichten' is: 0:00:00
21/06/2017 14:39:52 Debug SendJobStats->Ended (21/06/2017 14:39:51)
21/06/2017 14:39:52 Err Job completed (Failure)->'Verwijder journal berichten'

And find the screenshot of the settings here: Capture.PNG
Support
2017-06-28T14:13:04Z
I think it might have something to do with the type of message you have in the queue. Try create a new private queue and send to it through VisualCron. Then try to delete from that queue with the same settings. Success?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top