After upgrade to 10.2.1 , i'm getting the following error when submitting a DNNSharp Action form
Could not load type 'Ganss.XSS.HtmlSanitizer' from assembly 'HtmlSanitizer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=61c49a1a9e79cc28
Is this an DNNSharp problem or a DNN problem
In order to support the two versions of htmlsanitizer (DNN has started to use) and the older version ActionForm uses, web-config needs to be changed dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1" assemblyIdentity name="HtmlSanitizer" publicKeyToken="61c49a1a9e79cc28" bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" bindingRedirect oldVersion="6.1.0.0-32767.32767.32767.32767" newVersion="9.0.0.0" codeBase version="6.0.0.0" href="bin\PlantAnApp\HtmlSanitizer.dll" codeBase version="9.0.0.0" href="bin\HtmlSanitizer.dll" dependentAssembly This assumes that the Actionform version is in bin\PlantanApp folder and its version is 6.0
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.