Error in SolidCP Web Sites Section after Installing Windows Update

Error in SolidCP Web Sites Section after Installing Windows Update
 
1. Symptoms
 
After running a 14-07-2020 (dd-mm-yyyy) of Windows Update, an error occurs while trying to access the website's section for any customer, reseller as below:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There is an error in the XML document. ---> System.InvalidOperationException: Type 'SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.6.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' is not allowed here. See https://go.microsoft.com/fwlink/?linkid=2132227 for more information.
This error is caused by compatibility problem between SolidCP and the latest Windows Update: https://support.microsoft.com/en-us/help/4566516/kb4566516-cumulative-update-for-net-framework
 
2. Solutions
 
Solution 1: Uninstall updates with specified KB number and reboot – Temporary solution
 
Operating System
KB Number
SolidCP
Website Panel
Windows Server 2019 Standard Edition
KB4566516
/
Windows Server 2016 Standard Edition
KB4565628
KB4565511
Windows Server 2012 R2 Standard Edition
KB4565635
KB4565613
KB4569753
 
About Windows 2012R2 system, please turn off the server and start it on the Host server manually if uninstall not successfully.
Solutions 2: Modify the web.config file of SolidCP Portal - permanent solution
Step1: Log in to your server and take a backup of the SolidCP Portal web.config
Step2: Load up the SolidCP Portal web.config
  1. Open the file "web.config"  and look for the section as below:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <sectionGroup name="bundleTransformer">
      <section name="core" type="BundleTransformer.Core.Configuration.CoreSettings, BundleTransformer.Core" />
      <section name="less" type="BundleTransformer.Less.Configuration.LessSettings, BundleTransformer.Less" />
    </sectionGroup>
  1. Add the following code after </sectionGroup>:
<sectionGroup name="system.data.dataset.serialization" type="System.Data.SerializationSettingsSectionGroup, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="allowedTypes" type="System.Data.AllowedTypesSectionHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
     3. Add the following code after </configSections>:
<system.data.dataset.serialization>
<allowedTypes>
<add type="SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.6.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081" />
</allowedTypes>
</system.data.dataset.serialization> 
NOTE: Solution 2 works on SolidCP version 1.4.6 only. If your SolidCP runs on an earlier version, please upgrade it to version 1.4.6 first.
 
Referred link:
https://solidcp.com/forum/question/error-when-loading-hosting-space-websites/
https://solidcp.com/kb/configuration/websites-listing-xml-error/

Add Feedback