Error in SolidCP Web Sites Section after Installing Windows Update

Symptoms: 

an error occurs while trying to access the website's section for any customer after running a 14-07-2020 (dd-mm-yyyy) of Windows Update, 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.

The error caused by a compatibility problem between SolidCP and the latest Windows Update: https://support.microsoft.com/en-us/help/4566516/kb4566516-cumulative-update-for-net-framework
 
Solutions
 
Solution 1: Please Uninstall updates with specified KB number and reboot – Temporary solution
> 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 - a permanent solution
 
> Please Login to your server and take a backup of the SolidCP Portal web.config
> Please Load up the SolidCP Portal web.config
    - 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>

    - 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>
 
> 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> 
 


Please NOTE: Solution 2 works on SolidCP version 1.4.6 only. If your SolidCP runs on an earlier version, please upgrade the solidcp to version 1.4.6 first.

 

Please refer to this articles:

https://solidcp.com/forum/question/error-when-loading-hosting-space-websites/

https://solidcp.com/kb/configuration/websites-listing-xml-error/

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create FTP account in SolidCP?

> Please Login to Control Panel  > Please Click "My Server" in Hosting Spaces >...

How to Enable Dedicated Application Pool and Write Permission for Website in SolidCP?

Issue If a website uses a shared application pool, and if other websites also use it in the...

How to Add Domain in SolidCP?

> Please Login to SolidCP and click "Domains" under the Hosting Spaces tab > Please...

How to Create Website in SolidCP?

> Please log in to the SolidCP Control Panel and click "Web Sites" under the Hosting Spaces...

How to Enable PHP for Websites in SolidCP?

Issue: We need to enable PHP for web site and the web application needs PHP support. > Please...

Powered by WHMCompleteSolution