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