BadImageFormatException

avatar
dbohl
Disabled

I installed Windows 7 SP1 and now I'm seeing this error when attempting to run the lastest RDM 6.x

Standard Edition 6.1.0.0

BadImageFormatException - Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The module was expected to contain an assembly manifest.

at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreConnectionDetails.LoadConnectionInControls(Connection connection)
at Devolutions.RemoteDesktopManager.Frames.FreConnectionFooter.LoadConnectionDetails(Connection connection)
at Devolutions.RemoteDesktopManager.Forms.FreEmbeddedDashboard.LoadConnectionDetails(Connection connection)
at Devolutions.RemoteDesktopManager.Forms.FreEmbeddedDashboard.LoadGroupInControls(String group, Connection groupConnection, Connection[] connections)
at Devolutions.RemoteDesktopManager.Forms.FrmMainDockable.LoadConnectionDetailsInControl(Connection connection)
at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreBaseConnectionView.LoadEmptyConnectionDetails()
at Devolutions.RemoteDesktopManager.Frames.ConnectionViews.FreConnectionTreeView.LoadConnectionList(Connection[] connections)
at Devolutions.RemoteDesktopManager.Forms.FrmMainBase.LoadAllConnectionView(Boolean saveState)
at Devolutions.RemoteDesktopManager.Forms.FrmMainBase.RefreshAllConnectionView(Boolean saveState, Boolean checkOnline)
at Devolutions.RemoteDesktopManager.Forms.FrmMainDockable.DoFirstLoad()
at Devolutions.RemoteDesktopManager.Forms.FrmMainDockable.tmFirstLoad_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Has anyone seen this one?

Thanks

All Comments (10)

avatar

Hi,
I you try an older version, do you get the error? This seams to be an error with the .NET framework.

David Hervieux

avatar

Which previous version do you recommend?

avatar

Anyone, I just want to know if it's .NET the problem:

http://remotedesktopmanager.com/remotedesktopmanager/Home.aspx/PreviousVersion

You an unzip it in another folder and see if it's start.

David Hervieux

avatar

I am having the same issue was there a fix found?

avatar

Could you post the full message?

David Hervieux

avatar

This is the error I get. I have tried Version 7.0.3.0 and 5.6.3.3 also.

Data source type:
Culture: en-US
OS: Windows 7 64-bit
Running since:
Memory usage: 39 MB

BadImageFormatException - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

at Microsoft.Win32.Win32Native.SHGetFolderPath(IntPtr hwndOwner, Int32 nFolder, IntPtr hToken, Int32 dwFlags, StringBuilder lpszPath)
at System.Environment.GetFolderPath(SpecialFolder folder)
at Devolutions.RemoteDesktopManager.Managers.FileManager.get_LocalApplicationDirectory()
at Devolutions.RemoteDesktopManager.Managers.AddOnManager.get_ToAddAdminAddOnPath()
at Devolutions.RemoteDesktopManager.Managers.AddOnManager.get_IsAdminFiles()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseOne(String[] args, ApplicationDescriptor applicationDescriptor)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)

avatar

Would you mind to try the latest version which is 8.2? Where the application is installed?

David Hervieux

avatar

The error message is from 8.2.

avatar

Have you tried to unzip the application in a clean folder like C:\RDM?

David Hervieux

avatar

Just tried that and still having the same issue

Data source type:
Culture: en-US
OS: Windows 7 64-bit
Running since:
Memory usage: 39 MB

BadImageFormatException - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

at Microsoft.Win32.Win32Native.SHGetFolderPath(IntPtr hwndOwner, Int32 nFolder, IntPtr hToken, Int32 dwFlags, StringBuilder lpszPath)
at System.Environment.GetFolderPath(SpecialFolder folder)
at Devolutions.RemoteDesktopManager.Managers.FileManager.get_LocalApplicationDirectory()
at Devolutions.RemoteDesktopManager.Managers.AddOnManager.get_ToAddAdminAddOnPath()
at Devolutions.RemoteDesktopManager.Managers.AddOnManager.get_IsAdminFiles()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseOne(String[] args, ApplicationDescriptor applicationDescriptor)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)