+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Installation with Helm: Security Exception

Installation with Helm: Security Exception

2 posts, 0 answered
  1. George Kinsman
    George Kinsman avatar
    1 posts
    Registered:
    24 Dec 2009
    26 Dec 2009
    Link to this post
    I've uploaded the community edition to my shared hosting account, however Helm doesn't have the ability to attach database files (app_data\sitefinity.mdf) to databases. This means, as far as I know, that I can't complete the installation.

    I'm not sure the security exception is related to this, but any ideas?

    Here is the full contents of the error:

    Server Error in '/' Application. 
    Security Exception 
    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 failed. 
     
    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: 
     
    [SecurityException: Request failed.] 
       System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0 
       System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64 
       System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58 
       System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65 
       System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +342 
       System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +52 
     
     
    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082  

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 Dec 2009
    Link to this post
    Hi George Kinsman,

    You need to configure the website for Medium Trust support - take a look at this forum post, You also have to install the project locally and then migrate it using FTP to your production server( host). The error you are gettiing is thrown, because there are Security restrictions from your host that does not allow to run/ install Sitefinity directly or some features are not supported. The error is related to the host security policy for Medium Trust level.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered