
Stable version 1.4.9 has been released!
01 - 02 - 2023
Stable version 1.5.1 has been released!
17 - 12 - 2024This historical guide describes a manual update from SolidCP 1.4.8 to 1.4.9. Manual updates have not been required since SolidCP 1.1.0; see the PowerShell update script and check the instructions for your installed version before proceeding.
Back up all SolidCP files and the database before updating. The steps and configuration examples below are specific to this historical version transition; do not apply them unchanged to another version.
Download the manual update
Download and extract the manual update archive. The original guide used the stable archive; verify that its contents match the version you intend to install.
Update the Enterprise Server
Copy the contents of manual-update\EnterpriseServer into the Enterprise Server installation directory, normally C:\SolidCP\Enterprise Server, replacing the existing files. The archive directory has no space in its name; copy its contents rather than the directory itself.
The original Enterprise Server instructions also mention changing the SolidCP Portal web.config compilation target from:
<compilation targetFramework="4.5" debug="false" />To:
<compilation targetFramework="4.8" debug="false" />Update the Enterprise database
Confirm that you have a full database backup before running the update script. In SQL Server Management Studio, identify the SolidCP database; if necessary, check the connection information in the Enterprise Server web.config.
- Open
update_db.sqlfrom the manual update archive in SQL Server Management Studio. - Select the correct SolidCP database and remove these first two lines from the query:
USE [${install.database}]
GOExecute the query and confirm that it completed successfully. In Services, check that SolidCP Scheduler is running; if stopped, start it and confirm that it remains running after a few minutes.
Update the SolidCP Portal
Copy the contents of manual-update\Portal into the Portal installation directory, normally C:\SolidCP\Portal, replacing the existing files. In the Portal web.config, the original guide shows these changes.
Allowed type and framework
From:
<add type="SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.8.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081" /><compilation debug="false" targetFramework="4.5"/>To:
<add type="SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.9.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081" /><compilation debug="false" targetFramework="4.8" />Assembly binding redirects
The original 1.4.8 runtime section was:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="JavaScriptEngineSwitcher.Core" publicKeyToken="C608B2A8CC9E4472" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.4.10.0" newVersion="2.4.10.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MsieJavaScriptEngine" publicKeyToken="A3A2846A37AC0D3E" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-2.2.4.0" newVersion="2.2.4.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="BundleTransformer.Core" publicKeyToken="973C344C93AAC60D" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.9.171.0" newVersion="1.9.171.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
</dependentAssembly>
</assemblyBinding>
</runtime>The guide replaces it with this 1.4.9 runtime section:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="JavaScriptEngineSwitcher.Core" publicKeyToken="C608B2A8CC9E4472" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.19.0.0" newVersion="3.19.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MsieJavaScriptEngine" publicKeyToken="A3A2846A37AC0D3E" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.4.0" newVersion="2.2.4.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="BundleTransformer.Core" publicKeyToken="973C344C93AAC60D" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.9.171.0" newVersion="1.9.171.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Web.Infrastructure" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>Update each SolidCP Server
Repeat this step for every server listed under Configuration → Servers in the Portal. Copy the contents of manual-update\Server into each Server installation directory, normally C:\SolidCP\Server, replacing the existing files.
In the SolidCP Server web.config, change the compilation target from:
<compilation debug="true" targetFramework="4.0" />To:
<compilation debug="true" targetFramework="4.8" />
3 Comments
Missing first step for v1.4.9: Make sure .NET Framework 4.8 is installed on all servers.
Y
Do not use the manual-update.zip file from the link above. It does not contain all files. Rather go to your enterprise server installation, start solidCP installation, and choose upgrade to download the update package and then cancel the installation. Do this also on a clean computer without any prior installations of Enterprise server, Portal and Server asp.net packages to get the full installation packages.
Take the update_sql.db from the downloaded zip file SolidCP-EnterpriseServer-Update.zip. Do the SQL update from there, otherwise you will be missing tables and stored procedures.
Also if you use the manual-update.zip file from above, you don’t get all the correct binaries. Take full installations of 1.4.9 of all, enterprise server, portal and aps.net server and paste those binaries over your old files and replace the settings in the web.config files as specified. Make sure, to save the old SiteSettings.config from SolidCP\Portal\App_data folder in the Portal installation.