0

Hi,

We are currently testing SolidCP.  Most of our servers are Windows 2012R2 which appear to install and work ok but when trying to install on Windows 2003 (Server ASP.NET v2 component) the install fails with the following showing in the installation log:-

[09/07/2019 12:10:47] INFO: Tmp directory created
[09/07/2019 12:10:47] START: Downloading file
[09/07/2019 12:10:47] INFO: Downloading file “~/Files/1.4.3/SolidCP-Server-asp-v2.zip” to “C:\Program Files\SolidCP Installer\Tmp\SolidCP-Server-asp-v2.zip”
[09/07/2019 12:10:56] END: Downloaded 16801404 bytes
[09/07/2019 12:10:56] START: Unzipping file
[09/07/2019 12:10:56] INFO: Unzipping file “C:\Program Files\SolidCP Installer\Data\SolidCP-Server-asp-v2.zip” to the folder “C:\Program Files\SolidCP Installer\Tmp”
[09/07/2019 12:10:58] END: Unzipped file
[09/07/2019 12:10:59] START: Running installer SolidCP.Setup.Serveraspv2143.Install from C:\Program Files\SolidCP Installer\Tmp\setup\setup.dll
[09/07/2019 12:11:04] ERROR: Installer 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 SolidCP.Setup.Properties.Resources.get_ResourceManager()
at SolidCP.Setup.Properties.Resources.get_BannerImage()
at SolidCP.Setup.InstallerForm.InitializeComponent()
at SolidCP.Setup.InstallerForm..ctor()
at SolidCP.Setup.Server.InstallBase(Object obj, String minimalInstallerVersion)
at SolidCP.Setup.Serveraspv2143.Install(Object obj)
— End of inner exception stack trace —
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at SolidCP.Installer.Common.AssemblyLoader.RemoteRun(String fileName, String typeName, String methodName, Object[] parameters)
at SolidCP.Installer.Common.AssemblyLoader.RemoteRun(String fileName, String typeName, String methodName, Object[] parameters)
at SolidCP.Installer.Common.AssemblyLoader.Execute(String fileName, String typeName, String methodName, Object[] parameters)
at SolidCP.Installer.Controls.ComponentsControl.StartInstaller(DataRowView row)
[09/07/2019 12:11:06] START: Loading list of available components
[09/07/2019 12:11:06] END: Available components loaded

Does anyone have an idea why the install fails?

Thanks

Pete

Answered question