
Unwanted codes found in our source.
23 - 05 - 2017
SolidCP Error Codes
14 - 06 - 2017This historical guide describes a manual update from SolidCP 1.2.0 to 1.2.1. Use the update package and instructions for your installed and target versions; do not apply the 1.2.1-specific file removals or configuration changes to a different release without checking them.
Back up first: Take a complete backup of all SolidCP files and the database before updating. This guide includes historical configuration that disables certificate checks; do not copy it without a security review.
Before you begin
The original guide notes that manual updates are no longer required from SolidCP 1.1.0 stable and links to the SolidCP PowerShell update script. For this historical manual example, it uses the 1.2.1 Manual-Update.zip.
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. For the 1.2.1 update, the original guide then lists these folders for removal:
DesktopModules\SolidCP\ExchangeServer\UserControls\LocationsDesktopModules\SolidCP\ExchangeServer\UserControls\MSO365
It also lists these Portal files for removal:
DesktopModules\SolidCP\SettingsLetsEncryptRenewalAdminNotificationLetter.ascxDesktopModules\SolidCP\SettingsLetsEncryptRenewalNotificationLetter.ascxDesktopModules\SolidCP\ProviderControls\SpamExperts_Settings.ascxDesktopModules\SolidCP\ProviderControls\App_LocalResources\SpamExperts_Settings.ascx.resxDesktopModules\SolidCP\ScheduleTaskControls\LetsEncryptRenewalView.ascxDesktopModules\SolidCP\App_LocalResources\SettingsLetsEncryptRenewalAdminNotificationLetter.ascx.resxDesktopModules\SolidCP\App_LocalResources\SettingsLetsEncryptRenewalNotificationLetter.ascx.resx
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 static-content fragment:
<staticContent>
<remove fileExtension=".woff"/>
<remove fileExtension=".woff2"/>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/>
</staticContent>
</system.webServer>Replacement provider fragment:
<providers>
<remove name="MySqlSiteMapProvider" />
<add name="SolidCPSiteMapProvider" type="SolidCP.WebPortal.SolidCPSiteMapProvider, SolidCP.WebPortal" securityTrimmingEnabled="true" />
</providers>Historical replacement static-content fragment: The appended system.net settings disable certificate name and revocation-list checks. This weakens TLS verification; do not apply them without a security review.
<staticContent>
<remove fileExtension=".woff"/>
<remove fileExtension=".woff2"/>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/>
</staticContent>
</system.webServer>
<!-- Bellowed settings added for MailCleaner SSL Ignore Check-->
<system.net>
<settings>
<servicePointManager checkCertificateName="false" checkCertificateRevocationList="false"/>
</settings>
</system.net>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 1.2.1 guide lists these files for removal:
EmailSecurity.asmxsrvLetsEncrypt.asmxbin\Filters\SolidCP.Providers.EmailSecurity.SpamExperts.dll
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;bin/Filters" />
</assemblyBinding>
</runtime>
