I have extended Umbraco by adding a custom section. This all worked fine on the develop machine but on the production server i am confronted with the exception below. First i thought that this was due to the fact that the account under which the application pool is running does not have the appropiate rights. But in frustration and as a quick test i gave the specified user full control over the complete website. No cigar.
When i force a recompile, by making a change to the web.config, it works. But when i log in after some time i am confronted with the same error message.
Can anyone help me, any help is gratly appreciated.
Security Exception
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.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Security Exception when logging into Umbraco
Hi there,
I have extended Umbraco by adding a custom section. This all worked fine on the develop machine but on the production server i am confronted with the exception below.
First i thought that this was due to the fact that the account under which the application pool is running does not have the appropiate rights. But in frustration and as a quick test i gave the specified user full control over the complete website. No cigar.
When i force a recompile, by making a change to the web.config, it works. But when i log in after some time i am confronted with the same error message.
Can anyone help me, any help is gratly appreciated.
Security Exception
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.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
Source File: App_Web_umbraco.aspx.5f2dec3.ze6qq8jt.0.cs Line: 0
Stack Trace:
is working on a reply...