After upgrading from 4.5.7.607 to version 7.0725, I receive the following Security Exception:
My application runs in medium trust, therefore access to section system.web/httpHandlers is disallowed.
I don't think I can provide access to this section by setting 'requirePermission' to 'false' for this section.
```
[Exception: Request for ConfigurationPermission failed while attempting to access configuration section 'system.web/httpHandlers'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared.]
System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(configKey As String, requirePermission As Boolean, isTrustedWithoutAptca As Boolean) +815409
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(configKey As String, getLkg As Boole an, checkPermission As Boolean, getRuntimeObject As Boolean, requestIsHere As Boolean, result As Object&, resultRuntimeObject As Object&) +1709
System.Configuration.BaseConfigurationRecord.GetSection(configKey As String) +69
System.Configuration.ConfigurationManager.GetSection(sectionName As String) +140
AjaxControlToolkit.ToolkitScriptManager.OnInit(e As EventArgs) +36
System.Web.UI.Control.InitRecursive(namingContainer As Control) +186
System.Web.UI.Control.InitRecu rsive(namingContainer As Control) +421
System.Web.UI.Control.InitRecursive(namingContainer As Control) +421
System.Web.UI.Control.InitRecursive(namingContainer As Control) +421
System.Web.UI.Page.ProcessRequestMain(includeStages BeforeAsyncPoint As Boolean, includeStagesAfterAsyncPoint As Boolean) +12572367
System.Web.UI.Page.ProcessRequest(includeStagesBeforeAsyncPoint As Boolean, includeStagesAfterAsyncPoint As Boolean) +12571877
System.Web.UI.Page.ProcessRequest() +1 19
System.Web.UI.Page.ProcessRequest(context As HttpContext) +99
ASP.[MYPAGE].ProcessRequest(context As HttpContext) in w:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demarrage2011\73c449a6\eb1cd7fd\App_Web_vwnoc23d.1 .cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
System.Web.HttpApplication.ExecuteStep(step As IExecutionStep, completedSynchronously As Boolean&) +165
```
Comments: Unfortunately my production environment is on shared hosting, which runs in medium trust.
My application runs in medium trust, therefore access to section system.web/httpHandlers is disallowed.
I don't think I can provide access to this section by setting 'requirePermission' to 'false' for this section.
```
[Exception: Request for ConfigurationPermission failed while attempting to access configuration section 'system.web/httpHandlers'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared.]
System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(configKey As String, requirePermission As Boolean, isTrustedWithoutAptca As Boolean) +815409
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(configKey As String, getLkg As Boole an, checkPermission As Boolean, getRuntimeObject As Boolean, requestIsHere As Boolean, result As Object&, resultRuntimeObject As Object&) +1709
System.Configuration.BaseConfigurationRecord.GetSection(configKey As String) +69
System.Configuration.ConfigurationManager.GetSection(sectionName As String) +140
AjaxControlToolkit.ToolkitScriptManager.OnInit(e As EventArgs) +36
System.Web.UI.Control.InitRecursive(namingContainer As Control) +186
System.Web.UI.Control.InitRecu rsive(namingContainer As Control) +421
System.Web.UI.Control.InitRecursive(namingContainer As Control) +421
System.Web.UI.Control.InitRecursive(namingContainer As Control) +421
System.Web.UI.Page.ProcessRequestMain(includeStages BeforeAsyncPoint As Boolean, includeStagesAfterAsyncPoint As Boolean) +12572367
System.Web.UI.Page.ProcessRequest(includeStagesBeforeAsyncPoint As Boolean, includeStagesAfterAsyncPoint As Boolean) +12571877
System.Web.UI.Page.ProcessRequest() +1 19
System.Web.UI.Page.ProcessRequest(context As HttpContext) +99
ASP.[MYPAGE].ProcessRequest(context As HttpContext) in w:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\demarrage2011\73c449a6\eb1cd7fd\App_Web_vwnoc23d.1 .cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
System.Web.HttpApplication.ExecuteStep(step As IExecutionStep, completedSynchronously As Boolean&) +165
```
Comments: Unfortunately my production environment is on shared hosting, which runs in medium trust.