permissions - What application trust level is need for ASP.NET MVC framework? -
I am trying to share the common ASP.NET mvc frameworkdaddy application and I like this error Receives:
Security exception details: No action is permitted by security policy. Please contact your system administrator for necessary permission for this application or change the trust level of the application in the configuration file.
Exception Description: System.Security.SecurityException: Request failed to allow type 'System.Security.Permissions.ReflectionPermission, mscorlib, version = 2.0.0.0, culture = neutral, publicKeyToken = b77a5c561934e089'.
Source error:
An unrestricted exception occurred during the execution of the existing web request. Exceptions about the origin and location of the exception can be identified using the exception stack trace.
In my control panel I am setting the "asp.net 2.0 full trust". Why do I need to ask the server administrator to change?
You should be able to deploy in the bin. The MVC framework in the medium trust is a possibility that the hosting company Some other permission has been taken but should it work? Are you testing with the default MVC project? If you are using other components (for example a map of the structure, for example), which could be the cause of the error.
See about Deployment from Phil Hack and from the required confidence level
Comments
Post a Comment