I'm currently facing an error with CSS files not being loaded (through the dependancy handler). Investigating further I noticed that when I try and click on a CSS link I get the following error message:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I've tried setting the 'umbracoUseMediumTrust' app setting to true with no luck.
I've just moved a couple of sites to shared hosting on eHosting. Using their online file system browser, I had to set the iWAM user permissions to full on web.config and the directories listed here: http://our.umbraco.org/wiki/reference/files-and-folders/permissions as well as select the correct .NET version, upload the database and set the DB connection string in web.config. You'll note that the CSS folder is one of the directories in the permissions list.
Installing Umbraco on a shared host
Hi all,
I'm setting up a clean install of umbraco on a shared host (1and1) which states they use 'partial trust' security settings (http://faq.1and1.com/scripting_languages_supported/asp_net/2.html). As such I'm getting no CSS in the config wizard pages.
I'm currently facing an error with CSS files not being loaded (through the dependancy handler). Investigating further I noticed that when I try and click on a CSS link I get the following error message:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I've tried setting the 'umbracoUseMediumTrust' app setting to true with no luck.
I wonder if anybody can help me with this?
Thank you
I've just moved a couple of sites to shared hosting on eHosting. Using their online file system browser, I had to set the iWAM user permissions to full on web.config and the directories listed here: http://our.umbraco.org/wiki/reference/files-and-folders/permissions as well as select the correct .NET version, upload the database and set the DB connection string in web.config. You'll note that the CSS folder is one of the directories in the permissions list.
Hope this helps.
Craig
Thanks for your reply Craig.
I've actually decided to start looking for hosting that can offer full permission as there are Umbraco packages I wish to use that require this.
is working on a reply...