Hi,
Program installs fine but when running, I can see exe appear in task manager then disappear a second later.
Event logs show this:
.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - Failed to compile C:\Program Files (x86)\Devolutions\Remote Desktop Manager Free\Interop.IWshRuntimeLibrary.dll because this image is a 32bit assembly; try using 32bit ngen instead.
Any help would be appreciated :)
Exactly same problem for me! downgrading now.
downgrading to?
Hi,
What version were you using?
Could you try to install the binaries directly:
http://download.devolutions.net/Devolutions.RemoteDesktopManagerFree.Bin.1.0.5.0.zip
David Hervieux
Hi David,
Free Edition 1.0
Hi David, same issue happening with binaries
[15/10/2014 12:26:38 - 1.0.5.0]ERROR System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)
at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)
at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)
at System.Reflection.RuntimeAssembly.GetCustomAttributesData()
at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target)
at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
at System.Resources.ResourceManager..ctor(String baseName, Assembly assembly)
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ResourceManager()
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ApplicationJump48x48()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen.c49f0ccb73296dc8b9a91a4b256a04664()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Devolutions.RemoteDesktopManager.Managers.UIManager.CreateSplashScreenForm()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseTwo(String[] args)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)
[15/10/2014 12:26:40]ERROR SILENT System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)
at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)
at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)
at System.Reflection.RuntimeAssembly.GetCustomAttributesData()
at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target)
at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
at System.Resources.ResourceManager..ctor(String baseName, Assembly assembly)
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ResourceManager()
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ApplicationJump48x48()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen.c49f0ccb73296dc8b9a91a4b256a04664()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Devolutions.RemoteDesktopManager.Managers.UIManager.CreateSplashScreenForm()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseTwo(String[] args)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)
[15/10/2014 12:27:49 - 1.0.5.0]ERROR System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)
at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)
at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)
at System.Reflection.RuntimeAssembly.GetCustomAttributesData()
at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target)
at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
at System.Resources.ResourceManager..ctor(String baseName, Assembly assembly)
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ResourceManager()
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ApplicationJump48x48()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen.c49f0ccb73296dc8b9a91a4b256a04664()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Devolutions.RemoteDesktopManager.Managers.UIManager.CreateSplashScreenForm()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseTwo(String[] args)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)
[15/10/2014 12:27:50]ERROR SILENT System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)
at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)
at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)
at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)
at System.Reflection.RuntimeAssembly.GetCustomAttributesData()
at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target)
at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
at System.Resources.ResourceManager..ctor(String baseName, Assembly assembly)
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ResourceManager()
at Devolutions.RemoteDesktopManager.Properties.Resources.get_ApplicationJump48x48()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen.c49f0ccb73296dc8b9a91a4b256a04664()
at Devolutions.RemoteDesktopManager.Forms.FrmSplashScreen..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Devolutions.RemoteDesktopManager.Managers.UIManager.CreateSplashScreenForm()
at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseTwo(String[] args)
at Devolutions.RemoteDesktopManager.Program.Main(String[] args)
Hi,
Do you have .NET 4.0 installed? What version were you using before?
David Hervieux
I have downgraded the web site to 1.0.4.0. Could you give it a try?
David Hervieux
.NET 4 installed and didn't work.
Installed 3.5 as well after to test and still didnt work :(
Hi,
I've seen a strange thing here:
http://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as
Our application is written in .NET 4.0 but they seems to talk about an issue when .NET 4.5 is not installed.
David Hervieux
1.0.4.0 works perfectly David
Were you using it before?
David Hervieux
will install and test this
yeah 1.0.4.0 worked on Monday
1.0.5.0 works once .NET 4.5 was installed, thanks for your help David.
Is Free version 15 sessions added to data source or 15 concurrent open sessions limitation?
Great to know. I will verify if there is something we can do to avoid the installation of .NET 4.5.
The version 1.0.5.0 has many start-up optimization. The Free edition has no limitation. Any number of data sources, any concurrent connections (as long as your memory can handle) and any unlimited connections per data source.
So why use the enterprise edition? For the logs, for the shared database (multi-user), for the security (access right per user), for the credential management (LastPass, Secret Server, KeePass and many more) and for many other features like templates:
http://remotedesktopmanager.com/Home/FeaturesGrid
David Hervieux