Hi,
We're trying to run the application on a production server, but we're facing an error message:
[SecurityException: Fehler bei der Anforderung des Berechtigungstyps System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Web.HttpContext.System.IServiceProvider.GetService(Type service) +54
GleamTech.Web.FileTransfer.UploadHttpModule.a(HttpContext A_0) +42
GleamTech.Web.FileTransfer.UploadHttpModule.c(Object A_0, EventArgs A_1) +98
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
We already checked the trust level following a previous post in this forum.
Martin Schaible
10/28/2007 6:26 PM
We solved this problem already.
If somebody else runs in this problem, this is the solution:
Open the file <WindowsDir>\Microsoft.NET\framework\v2.0.50727\config\web.config
with an editor.
locate the setting
<trust level="Medium" originUrl="" />
change "Medium" to "Full"
save the file.
That's it
Martin Schaible
10/29/2007 9:38 AM
Hi Martin
Thank you very much indeed for this fine solution. As a asp.net newbie I have been googling for hours before I've come across you post. That solved the issue.
Cheers
Ely
Ely
11/28/2010 4:48 AM