Error When Closing

avatar

OS: Vista Business SP1

- Opened RDM and then clicked Upper Right X (Close)
- Click Yes to confirm
- Error below occurs and prevents me from closing. When you click ok it goes back to RDM.

This error also occurs when attempting to addany Connection.

InvalidOperationException - Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\thctaqiu.0.cs' could not be found
error CS2008: No inputs specified


at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at Devolutions.Utils.SerializationUtils.SaveObjectToString(Object aValue)
at Devolutions.Utils.SerializationUtils.SaveObjectToFile(String aFileName, Object aValue)
at Devolutions.RemoteDesktopManager.Forms.FrmMain.FrmMain_FormClosed(Object sender, FormClosedEventArgs e)
at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Devolutions.RemoteDesktopManager.Forms.FrmNoBorder.WndProc(Message& m)
at Devolutions.RemoteDesktopManager.Forms.FrmMain.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)

All Comments (4)

avatar

Hi,
Can you try to run Remote Desktop Manager with the Administrator right ?

Context Menu - > Run as Administrator

Let me know the result.

David

David Hervieux

avatar

Running it under the Admin seems to fix the problem. Is that by design?

avatar

Not really, I know the problem and it's on my todo list. I want to make RDM more Vista friendly but with the new security system, it's not a simple task.

I can't promess anything, but It should be fixed in the next major release.

Thank you

David Hervieux
Devolutions inc.

David Hervieux

avatar

Looking forward to it.

Thanks

Sysadminotaur pondering a question Special Q&A

Our CTO is answering your AI questions

A rare opportunity — ask our CTO directly.

10 questions already asked Ends in 7 days
Ask your question →