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

Commented Issue: Throw Security Exception in Medium Trust Hosting [26970]

$
0
0
AjaxControlToolkit for ASP.NET 4 throws security Exception in Medium Trust Hosting such as Godaddy
Comments: Using AjaxControlToolkit version 7.0725, I encounter this issue also. Currently the only way I'm able to get around it is by setting the trust level to High or Full in the web.config. ``` <configuration> <system.web> <trust level="High"/> </system.web> </configuration> ``` If you have access to the machine.config, then you can add requirePermission="false" to the definition for the httpHandlers section. This is unfortunately not an option for many individuals though. ``` <configuration> <configSections> <sectionGroup name="system.web" type="System.Web.Configuration.SystemWebSectionGroup, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" requirePermission="false" /> </sectionGroup> </configSections> </configuration> ```

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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