Hi,
I've security exception when I try to run igUpload in medium trust environment. The stack is below:
[SecurityException: Falha na solicitação da permissão de tipo 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +34 System.Security.CodeAccessPermission.Demand() +46 System.Web.HttpContext.System.IServiceProvider.GetService(Type service) +54 Infragistics.Web.Mvc.UploadModule.GetWorkerRequest(HttpContext context) +46 Infragistics.Web.Mvc.UploadModule.OnBeginRequest(Object sender, EventArgs e) +102 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Is there a way to solve this?
If I remove the IGUploadModule from web.config the exception is gone, but progress bar and igupload client side events don't work properly (The fileUploaded event is essencial for me).
Thanks in advanced.
Hello Pilatos,
Thank you for contacting Infragistics!
I have done some looking into this matter and this seems to be a permissions issue. Please see the following link:
http://forums.asp.net/t/1422162.aspx
I would recommend trying giving full permissions and seeing if you get the same error or not.
Hello Mike,
My host does not allow to change the permission to full trust level. Only medium trust is available.
In this way, how can I solve this?
Thanks