Install Server on W...
 
Notifications
Clear all

Install Server on Windows 2003

3 Posts
2 Users
0 Reactions
818 Views
Posts: 12
Topic starter
(@petem)
Active Member
Joined: 5 years ago

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 FilesSolidCP InstallerTmpSolidCP-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 FilesSolidCP InstallerDataSolidCP-Server-asp-v2.zip" to the folder "C:Program FilesSolidCP InstallerTmp"
[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 FilesSolidCP InstallerTmpsetupsetup.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

2 Replies
Posts: 1967
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

Do you have asp.net v4 installed?

Even though the module is made for asp.net v3.5 it will install under asp.net v4.0 to start with (which you can switch via IIS afterwards).

Regards,

Marco

Reply
Posts: 12
Topic starter
(@petem)
Active Member
Joined: 5 years ago

The installer needs asp.net v4 and this runs ok, as we have v4 installed.  The error happens when the try to install the Server ASP.NET v2 component in the list.

In the end I got this working by installing manually.

Thanks

Pete

Reply
Share: