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


osirisja
2012-05-14T10:18:18Z
Hi Support

I have had another issue this morning running this job (with the email trigger). I have to run it manually as the trigger isn't working however it is failing on a different step with an error that doesn't make sense.

When I try to edit the task, Client Crashes with:

ystem.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.Serialization.XmlSerializationPrimitiveReader.Read_string()
at System.Xml.Serialization.XmlSerializer.DeserializePrimitive(XmlReader xmlReader, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.OLDBBAHMBPBAIBLDHMIAPKPIOLBIJBKLKJHD.HOJMMAIEMGIHFJDPBILPDGDDIAKLLLFFJFKA(String , Type )
at UCTaskSetVariable.DisplayTask()
at UCTaskSetVariable.PreLoad()
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.LADALDFPFLGCECIEIGFGOAAGDBJAEJBJHCJK.PreLoad()
at ODNKNCFDHHPJPCMOFFIIHIOEPAPDAKPENFKF.LADALDFPFLGCECIEIGFGOAAGDBJAEJBJHCJK.NMMGJLJKNJOAICPJEGHKIGHHNGNJGHKMBGKM(Object , EventArgs )
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(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)


The task itself is one that has run without problem in the past and it has never changed. It is simply setting a variable from an external file but it is reporting an error as follows:

unhandled error in removevariable: There is an error in XML Document (1,1).

The external file has the following in it:

@filecnt:22

So it isn't XML......

I am setting the variable in a FOR/NEXT loop using the ':' as a delimiter.

As I said, this has always worked fine in the past but this morning has just started failing.

Everytime I try to edit the task VC Crashes. I can edit other tasks in the Job. I have also restarted the server but that hasn't made any difference.

Any ideas?

Cheers

Andy



Sponsor
Forum information
Support
2012-05-14T10:20:07Z
Please export your settings (send to support@visualcron.com) and tell us Job and Task name.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2012-05-14T13:15:30Z
Thanks for the report - we have a workaround for this in next version.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
osirisja
2012-05-17T07:51:35Z
Hi Henrik

Any idea when this workaround will be available as it is causing issue with my VC job. What was the cause of the problem and why did it suddenly start happening?

Cheers

Andy
Support
2012-05-17T08:02:11Z
Right now we are in the middle of a bigger change (permissions on Job level). We are not sure when that will be ready as it involves a lot of changes.

What we could do is to build a beta for you. Still the same as 6.1.1 but with some unused functionality regarding permissions. Same old permissions will work.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
osirisja
2012-05-17T08:17:12Z
Hi Henrik

Quite happy to beta test for you. I don't have any issues with permissions anyway (so far!). But what is the issue with the task?

Cheers

Andy
Support
2012-05-17T08:42:43Z
osirisja
2012-05-24T06:47:35Z
Hi Henrik

Sorry I didn't reply sooner - seems as if this version solved the problem (whatever the problem was :-))

Cheers

Andy
Support
2012-05-24T09:00:17Z
Thanks for feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top