
SolidCP Update Script (PowerShell)
24 - 05 - 2021
Web App Gallery Setup
01 - 06 - 2021This guide describes the historical manual update procedure for SolidCP Enterprise Server, its database, Portal and each SolidCP Server. Use the update package and instructions for your installed and target versions; check version-specific changes before applying them.
Back up first: Take a complete backup of all SolidCP files and the database before updating. Check the update path and package instructions for your installed and target versions before replacing files or running SQL.
Before you begin
The original guide points to the stable Manual-Update.zip. Confirm the package matches your intended version and update path before using it.
Update the Enterprise Server
Extract the update package. Its EnterpriseServer folder has no space in its name; copy its contents, not the directory itself, to the Enterprise Server installation. The original default path is C:\SolidCP\Enterprise Server. Replace the existing files.
Update the Enterprise database
Confirm that you have a full database backup. In SQL Server Management Studio, identify the SolidCP database; if necessary, check the connection information in the Enterprise Server Web.config. Select the intended database and open update_db.sql from the update package.
The original guide instructs you to remove these first two lines before executing the query:
USE [${install.database}]
GOBefore execution, verify that the query is targeting the correct database. Execute it and check for successful completion. Open Services and confirm that SolidCP Scheduler is running; if it is stopped, start it and check again after a few minutes.
Update the Portal
Copy all contents of manual-update\Portal into the Portal installation, originally C:\SolidCP\Portal, and replace existing files.
Historical Portal web.config changes
The original guide describes changes for older Portals. These are configuration fragments, not complete files. Review them against your version and existing configuration before making changes.
Original provider fragment:
<providers>
<add name="SolidCPSiteMapProvider" type="SolidCP.WebPortal.SolidCPSiteMapProvider, SolidCP.WebPortal" securityTrimmingEnabled="true" />
</providers>Original Helicon Ape type fragment:
<add type="SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.7.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081" />Replacement provider fragment:
<providers>
<remove name="MySqlSiteMapProvider" />
<add name="SolidCPSiteMapProvider" type="SolidCP.WebPortal.SolidCPSiteMapProvider, SolidCP.WebPortal" securityTrimmingEnabled="true" />
</providers>Historical replacement Helicon Ape type fragment: The assembly version changes from 1.4.7.0 to 1.4.8.0. Verify the version required by your installation before changing it.
<add type="SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.8.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081" />Update each SolidCP Server
Repeat this section for every server listed under Configuration → Servers in the Portal. Copy the contents of manual-update\Server into the Server installation, originally C:\SolidCP\Server, and replace the existing files.
The original guide also says to add the following fragment near the bottom of the Server Web.config. Check the existing configuration and version before changing it:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin/Crm2011;bin/Crm2013;bin/Exchange2013;bin/Exchange2016;bin/Sharepoint2013;bin/Sharepoint2016;bin/Lync2013;bin/SfB2015;bin/Lync2013HP;bin/Dns2012;bin/IceWarp;bin/IIs80;bin/IIs100;bin/HyperV2012R2;bin/HyperVvmm;bin/Crm2015" />
</assemblyBinding>
</runtime>