Link to home
Start Free TrialLog in
Avatar of Lorna70
Lorna70

asked on

Problems with the latest version of the AJAX Toolkit and the HTMLEditorExtender

Hi I'm really struggling with this installation being a mere developer!  Everything looks ok until I try to run the file with it in.  Searching around I'm told I need the sanitizer so I add the code for it to the web.config and then I get:

Could not load type 'AjaxControlToolkit.Sanitizer.
              AntiXssSanitizerProvider'.

When I google the error, I'm told I need the HtmlAgilityPack, so I installed that using NuGet and now I get:

InnerException: System.Web.HttpException
       Message=Could not load type 'AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider'.

I have even commented out all the HTMLEditorExtender code so why am I getting this error?  I have added all the appropriate code to the web.config (as attached) and there is a folder in my bin called 'SanitizerProviders' which holds the HTMLAgilityPack.dll and SanitizerProviders.dll file.  Do I have to add any references anywhere else for this not to throw an error??  I haven't had much experience with .dlls so please, please advise what is wrong.

I'm using Web Developer Express 2010.
webconfig.txt
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Avatar of Lorna70
Lorna70

ASKER

Not for AJAX - will nuget install the agility pack etc with AJAX?  Will that solve my problem do you think?
Avatar of Lorna70

ASKER

That didn't solve my problem so posted question in nuget forum - no response though and that was on the 16th.  So I've abandoned using the HTMLEditorExtender for now :-(
ASKER CERTIFIED SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial