Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i am using shared hosting on hostgator.
Any idea what permission need to be added? as they have given full permission on all folder for the user account.
I am using Umbraco 4.7.1 (SQL server)
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=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.Source Error: Source File: App_Web_insertmacro.aspx.43b758d9.ciot57it.0.cs Line: 0
This isn't a permissions error, but a trust error. Your host is most likely running your site in a Medium Trust environment. You can try to set the <trust level="Full" /> in the system.web section of your web.config. Your host may have it set though so you cannot over-ride this but it is worth a shot. If you cannot set it you will definitley have to ask your host if they will grant your application full trust. Remember, this is not permissions, this is the trust level of the site so setting permissions has not effect on this issue.Also, if your host doesn't know what an application trust level issue is and tries to address it with permissions I would look for a new host since this is one of the most common .Net hosting issues out there. Hostgator is great with Unix/Linux environments, but may not be so good with Windows hosted accounts.
Thanks Mark!! 2 1/2 year old answer and still totally relevant!
<trust level="Full" /> does work on GoDaddy.
<trust level="Full" />
Thanks Roger, it really helps for goDaddy !!!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted