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.


OMSSK
  •  OMSSK
  • No customer Topic Starter
2009-11-18T21:24:07Z
My visualcron client is not connecting to the server anymore.
Here is a part of the serverlog:
18/11/2552 14:09:09 Info User "VisualCron Tray Client User" - Logged in succesfully through IPC (96bb3e91-6d02-46f9-93b8-f407d055223c)
18/11/2552 14:09:09 Debug Updating login status for: 96bb3e91-6d02-46f9-93b8-f407d055223c
18/11/2552 14:09:09 Comm IN: SERVERSETTINGSREQ
18/11/2552 14:09:09 Comm IN: LICENSEREQ
18/11/2552 14:09:12 Err Select case ex: System.InvalidOperationException: There was an error generating the XML document. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32 value)
at System.IO.MemoryStream.EnsureCapacity(Int32 value)
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
at System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 count)
at System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, Int32 count)
at System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
at System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
at System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
at System.Xml.Serialization.XmlCustomFormatter.WriteArrayBase64(XmlWriter writer, Byte[] inData, Int32 start, Int32 count)
at System.Xml.Serialization.XmlSerializationWriter.WriteElementStringRaw(String localName, String ns, Byte[] value, XmlQualifiedName xsiType)
at System.Xml.Serialization.XmlSerializationWriter.WriteElementStringRaw(String localName, String ns, Byte[] value)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterMessageClass.Write119_TaskStatsClass(String n, String ns, TaskStatsClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterMessageClass.Write260_TaskClass(String n, String ns, TaskClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterMessageClass.Write263_JobClass(String n, String ns, JobClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterMessageClass.Write348_MessageClass(String n, String ns, MessageClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterMessageClass.Write349_MessageClass(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces)
at vLgW657N1M4hIB8pJGW.UxRyyS7HSekVKEnBtZo.iraeKu7uPfYLFjI6MyN.vRvVW27PBjOnawCCq54.Aj3dd7hZB(Object )
at jiPrEUIBIViyejVE5j.qxMZgHf8yVufrFRZMf.v5vEuvgsc(MessageClass , String )
at 6u42HZJ32vVVjGTPCDJ.lxk6vZJYR7WHZ4btor6.KwaFtZg5s(String )
at UOdN0IJeI7ciChjdYMa.wPiMqIJcO0FiBr8nv81.UwL2X1mgc(String , MessageClass )
at UOdN0IJeI7ciChjdYMa.wPiMqIJcO0FiBr8nv81.VlUdjhIah(String , MessageClass , Byte[] )

The tray log has the following:
11/18/2009 2:13:39 PM Ping failed, ex: System.NullReferenceException: Object reference not set to an instance of an object.
at 2z6av1dL7veDNT.ZwIdpfEbmbLQd.ZwIdpfEbmbLQd() in C:\sourcefiles\code\VCTray\Connection\ConnectionAPI.vb:line 73
11/18/2009 2:13:39 PM Error in PingCheck, err: System.NullReferenceException: Object reference not set to an instance of an object.
at 2z6av1dL7veDNT.ZwIdpfEbmbLQd.Zy14IY7fDT(Object ) in C:\sourcefiles\code\VCTray\Connection\ConnectionAPI.vb:line 120


Any help is appreciated. I have reinstalled visual cron and again imported my saved settings but still I get the same error.
Sponsor
Forum information
Support
2009-11-18T23:29:39Z
Which version are you running?

Please test this version:

http://www.visualcron.co...m.aspx?g=posts&t=959 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
OMSSK
  •  OMSSK
  • No customer Topic Starter
2009-11-18T23:47:54Z
We are using the version 4.1.0.

However I managed to get it back up.
I used my old setting files(older version) to replace the current one's in the setting folder.
Then I started visual cron, and the client and it worked.
After that I imported my latest setting from may latestsettings.zip file and I was able to restore my current settings back.
According to one of my colleague the xml files may have gone bad and the import may have corrected those files. Is that really the case? What does the import exactly do?
Support
2009-11-19T13:44:41Z
You should upgrade to at least 4.9.40.

The import takes the file from the backup, unzips it, and reads the content (all settings). Depending on import settings VisualCron may or may not clear existing settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top