Hi, I've run into some issues with installing a clean version of Umbraco 4.7 on Winhost. I tried to follow Ben Powell's blog post http://blog.benpowell.co.uk/2010/05/umbraco-on-Winhostcom-installation.html but had issues seeing as the links don't work, and he was using an older version. Basically, the changes to web.config I needed to make to get my installation to work were:- - Add requirePermission="false" to each of the sections in 'configSections' - Change httpRuntime node under system.web to be <httpRuntime executionTimeout="9000" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" /> This finally got me through the installation process, however when I went to preview my site I get the following error:- Parser Error Message: Inheritance security rules violated by type: 'umbraco.presentation.templateControls.ItemDesigner'. Derived types must either match the security accessibility of the base type or be less accessible. Am I missing some more permission settings that I need to change? If anyone could help me with this it would be greatly appreciated.
I just realised as well that when I go to mydomain.com/umbraco/ I get the Umbraco admin....however there are no content items under the Content Node. Same too with the Media section, Settings section, etc.... This installation works fine on my local machine, with the website working, and the admin showing all content nodes. I would really appreciate any help anyone could give.
Make sure you set your trust level to Full. By default it is set to Medium. If you have not manually set it to True try doing that and let us know if you get the same error message.
OK, thanks. I wasn't sure how to do that. Googling it I think I just have to add:- <securityPolicy> <trustLevel name="Full" policyFile="internal"/> </securityPolicy> to the <system.web> node in the web.config file. Is that right, or is there more to it?
Nope, still no good. Maybe there is something else I need to do other than the web.config change I listed above? I even tried re-installing umbraco with the security level change in my web.config, but I still get the security exception message as before. Any ideas? Ben Powell's article mentions a 'suggested web.config' file (which no longer exists at the link. He then mentions some other sections you need to edit, which I cannot find in my web.config. Do I need any more changes to be made to the web.config file?
Ahhhh....got it. The problem was the trust level, but I was setting it incorrectly. Here's what to do if anyone else runs into this problem:- http://support.Winhost.com/KB/a657/changing-the-default-aspnet-trust-level.aspx Ray, thanks for your help. Sorry if I wasted your time.