Shared Hosting Error

Errors and Error Messages
Q:
When I try to run EP on my shared host, I receive an error:

Server Error in '/inetpub/wwwroot/EasyProjects' 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.

 

Also an error may look like this: "That assembly does not allow partially trusted callers".

 

A:

In order to run EP a server must have Full Trust permissions for ASP.NET, and shared hosting providers may or may not offer Full Trust permissions.


Also EP Web site should be put to a separate application pool in IIS.

There are several options available to you:

 
  •   Get a dedicated server from your hosting provider, where you'll be able to run any application with any trust level
 
  •   Install Easy Projects on a shared / virtual hosting that supports Full Trust permissions, for example: http://www.webhost4life.com or http://www.softsyshosting.com/
             Note: at the time of writing 12/2008 these shared hosting providers were capable of running EP, but since this time they may have changed security settings, too there are likely others who offer Full  Trust permissions, as well.
 
  •   Host your account on our server, and if you want to add sub-domain forwarding to your DNS, so that when a user goes to http://ep.XXXXX.com he will be forwarded to http://XXXXX.go.easyprojects.net, you may do so via your DNS settings - you can specify the option to hide the forwarded address, so the user will only see http://ep.XXXXX.com