Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: HTMLEditorExtender HtmlAgilityPackSanitizerProvide web.config [27236]

$
0
0
I am having trouble with adding the required text to the web.config file for the HtmlAgilityPackSanitizerProvider. Even when I open the sample site from the toolkit in Visual Web Developer I get an error.
The element 'system.web' has an invalid child element 'sanitizer'.
Not sure how to get this to work.

This is the section of the toolkit sample site:
<configuration>
<configSections>
<sectionGroup name="system.web">
<section name="sanitizer" requirePermission="false"
type="AjaxControlToolkit.Sanitizer.ProviderSanitizerSection, AjaxControlToolkit" />
</sectionGroup>
</configSections>
<appSettings/>
<connectionStrings/>
<system.web>
<trust level="Full" />
<sanitizer defaultProvider="HtmlAgilityPackSanitizerProvider">
<providers>
<add name="HtmlAgilityPackSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider"></add>
</providers>
</sanitizer>
Comments: I'm getting similar errors in VS 2013.1 Warning 2 C:\...\wb172N.aspx: ASP.NET runtime error: Unrecognized element 'sanitizer'. (C:\...\web.config line 10) C:\...\wb172N.aspx 1 1 WeightBalanceJS Warning 3 C:\...\WeightAndBalanceSFS.aspx: ASP.NET runtime error: Unrecognized element 'sanitizer'. (C:\...\web.config line 10) C:\...\WeightAndBalanceSFS.aspx 1 1 WeightBalanceJS Warning 4 The element 'compilation' has invalid child element 'sanitizer'. List of possible elements expected: 'assemblies, buildProviders, codeSubDirectories, expressionBuilders, folderLevelBuildProviders'. C:\...\Web.config 10 8 WeightBalanceJS Error 5 Unrecognized element 'sanitizer'. C:\...\Web.config 10

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>