views:

338

answers:

2

I am installing Umbraco 4.0.2.1 on a client's Godaddy hosting account. I have set permissions to write on the bin, config, css, data, media, umbraco, usercontrols & xslt folders yet I am getting the following error.

Server Error in '/subfolder' Application.
Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[FileLoadException: Could not load file or assembly 'ImageManipulation, Version=1.0.2105.41209, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]

Please advise.

A: 

Godaddy only allows 'Medium Trust' on its shared hosting accounts. Umbraco requires 'High Trust' to run.

GoDaddy will work, but only with dedicated or virtual dedicated plans, which cost a lot more.

S.Kiers
A: 

As answered before, the default installation of Umbraco requires full trust, but...

A nice fellow has put together a build of Umbraco that runs under medium trust, right in the Umbraco wiki: http://our.umbraco.org/wiki/install-and-setup/medium-trust-with-umbraco

The download link is at the bottom and the post has the info in all modifications done.

andyhammar