System.Security.SecurityException. Can resolve for a long time the issue.
I am trying to use the control with godaddy and I get this error:
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +58 System.Web.HttpContext.System.IServiceProvider.GetService(Type service) +54 Brettle.Web.NeatUpload.UploadHttpModule.GetCurrentWorkerRequest() +92 Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +87 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
I was told that the trust environment for shared hosting is medium. Is the problem that It doesn't have a full trust? If so what can be done? I am stuck for a while with this.
Re: System.Security.SecurityException. Can resolve for a long time the issue.
Per the documentation, your porvider either needs to provide full trust or they need to install the Brettle.Web.NeatUpload.dll in the GAC.
GoDaddy is unlikey to do either. SoftSys seems to allow Full-Trust hosting if you request it and seems to be getting good reviews. I have no personal experience with them though