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

Forums / Set-up & Installation / Previously working SiteFinity Project Manager now throws errors.

Previously working SiteFinity Project Manager now throws errors.

6 posts, 0 answered
  1. Jason Beck
    Jason Beck avatar
    9 posts
    Registered:
    12 Jan 2010
    15 Jun 2010
    Link to this post
    This installation was working, but I went back to it to try to create a new site, and I'm getting error messages this time around.

    Server Error in '/telerik/Sitefinity3.7' 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: That assembly does not allow partially trusted callers.

    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: That assembly does not allow partially trusted callers.]
       Telerik.Cms.ProjectManager.Manager..cctor() in Manager.cs:27
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082
  2. Jason Beck
    Jason Beck avatar
    9 posts
    Registered:
    12 Jan 2010
    15 Jun 2010
    Link to this post
    Additional trace information:
    Unhandled Execution Error
    The type initializer for 'Telerik.Cms.ProjectManager.Manager' threw an exception.
      at Telerik.Cms.ProjectManager.Manager.get_IsSampleSiteCreated()
      at _DefaultPage.OnInit(EventArgs e) in c:\Program Files (x86)\telerik\Sitefinity3.7\ProjectManager\Default.aspx.cs:line 22
      at System.Web.UI.Control.InitRecursive(Control namingContainer)
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    16 Jun 2010
    Link to this post
    Hi Jason Beck,

    Thank you for using our services.

    Could you please make sure that the Project Manager is running in Full Trust in IIS?

    Regards,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  4. Jason Beck
    Jason Beck avatar
    9 posts
    Registered:
    12 Jan 2010
    16 Jun 2010
    Link to this post
    Radoslav,

    I found posts related to changing .NET Trust levels in IIS7, but I am running Windows Server 2003 and IIS6, and cannot find any settings related to this. Can you point me in the right direction? Thank you!

    Any ideas how this would have changed? The site was running without errors a few months ago, and I was able to successfully create a site which is now running fine in production.

    Jason
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    16 Jun 2010
    Link to this post
    Hi Jason Beck,

    Try setting this in the project manager file's web.config in system.Web configuration section:
    <trust level="Full" originUrl=""/>

    Also check if the IIS Machine.config file contains trust level settings.

    Best wishes,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. Jason Beck
    Jason Beck avatar
    9 posts
    Registered:
    12 Jan 2010
    16 Jun 2010
    Link to this post
    Worked perfectly! Thank you!
Register for webinar
6 posts, 0 answered