• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Cannot change .net version

GökhanÃ

New Pleskian
when we try to change .net version from 2.0 to 4.0, so we are getting error below.

Error: Unable to reconfigure Web server: websrvmng failed: Filename: Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'PageHandlerFactory-Integrated' In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostElementCollection.AddElement(IAppHostElement pElement, Int32 cPosition) at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Add(T element) at HandlerCollection.AddRange(List`1 ) at IIS7Handlers.enable(IIS7Handlers* , set<enum IHandlers::HandlerType\,std::less<enum IHandlers::HandlerType>\,std::allocator<enum IHandlers::HandlerType> >* types, Boolean disableOther)


how can we fix this problem to change .net settings properly.

Thank you
 
The problem is caused by the presence of Handler 'PageHandlerFactory-Integrated' on the top level of IIS. It somehow conflicts with handlers that were added by Plesk when it configured site in IIS.
You can try to remove this handler at least IIS Manager->Serverhostname->Handler mappings
 
Back
Top