Our web application which uses Ajax Uploader runs fine in ASP.NET 4.0 environments. However, when installing in a 4.5 environment, we get the following exception:
- Exception info.:
- 1: Error Description: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
- 1: Error Help Link:
- 1: Source: CuteWebUI.AjaxUploader
- 1: Target Site: Void a(System.Web.HttpContext)
- 1: Stack Trace: at CuteWebUI.UploadModule.a(HttpContext A_0)
- at CuteWebUI.UploadModule.a(Object A_0, EventArgs A_1, AsyncCallback A_2, Object A_3)
- at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
- at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
What do we need to do to make it work on .Net 4.5 ?
Regards, Marja