Crash in Offline mode

avatar

Hi
I lost connection first to a shared drive where RDM is located and short after I lost connection to the SQL datasource.
I think the error started when I agreed to go into Offline mode offered by RDM.

If I tried to start an embedded IE or RDP session, this would happen(RDM v8.2.19.0):

InvalidOperationException - There was an error generating the XML document.

at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o, XmlSerializerNamespaces namespaces)
at Devolutions.RemoteDesktopManager.Managers.SerializationManager.SaveObjectToString(Object value)
at Devolutions.RemoteDesktopManager.Managers.SecurityManager.SaveObjectToEncryptedFile(String fileName, Object value, String salt, Boolean ntfsEncrypt)
at Devolutions.RemoteDesktopManager.Managers.OfflineManager.SaveOfflineData(OfflineData offlineData)
at Devolutions.RemoteDesktopManager.Managers.OfflineManager.LogConnectionInformation(Connection connection, String dataSourceID, String message)
at Devolutions.RemoteDesktopManager.Managers.LogManager.LogConnectionInformation(Connection connection, String message)
at Devolutions.RemoteDesktopManager.Managers.DataEntryConnectionTypeManager.TouchCredentialUsed(Connection credential, Connection connection, CredentialRepositoryDestination destination)
at Devolutions.RemoteDesktopManager.Managers.CredentialTypeManager.GetCredentialResolved(Connection connection, String credentialConnectionID, CredentialRepositoryDestination destination)
at Devolutions.RemoteDesktopManager.Managers.CredentialTypeManager.PrepareCredentials(Connection connection, String credentialConnectionID, CredentialRepositoryDestination destination)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.Prepare(Connection connection, Boolean applyCredentials, Boolean applyAlternate, Boolean applyVPN)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnection(Connection connection, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnections(Connection[] connectionList, OpenConnectionMode openConnectionMode)
at Devolutions.RemoteDesktopManager.Managers.ActionManager.DoOpenConnection(Connection[] currentConnections, OpenConnectionMode openConnectionMode, IConnectionSource source)
at Devolutions.RemoteDesktopManager.Managers.ActionManager.OpenConnections(OpenConnectionMode openConnectionMode, IConnectionSource source)
at Devolutions.RemoteDesktopManager.Managers.SessionMenuManager.MnuOpenConnection_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.PerformClick()
at Devolutions.RemoteDesktopManager.Business.ActionLinkLoaderHelper.LinkLabel_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at Devolutions.RemoteDesktopManager.Controls.ActionLinkLabel.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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)

------------------------------------------

SEHException - External component has thrown an exception.

at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write111_OfflineData(String n, String ns, OfflineData o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write576_OfflineData(Object o)

I seldom have to go into offline mode, but I can see that it is really important that this feature can be trusted when I am relying on it.
Hope it helps you track down the bug.

(I would have sent an e-mail error report from RDM, but when all this happened. Our internet was down)

//Brandur

All Comments (6)

avatar

Hi,
Thank you for the bug report. Stefane has completely rewritten the offline mode in the v9.0. It is even more reliable than before since now it's stored in a SQLite database. It's now faster, it's used to quickly reload your connection even when your are not in offline mode (used as cache) and it also allow us to offer a writable/synchronizable offline mode.

David Hervieux

avatar

Ok, that sounds great David. Looking forward to it.
Thank you.

//Brandur

avatar

Looking forward for any beta on that as well!

avatar

bump!!!
want to be 9-betatester too

for now offmode has many issues & restrictions

Kind Regards
Markus

======================

avatar

We were supposed to release the beta this week but Stefane is doing still testing the writable offline mode. This is a gone be really nice.

David Hervieux

avatar

Stéfane Lavergne