Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Folkert 82 posts 212 karma points
    Jul 31, 2010 @ 10:10
    Folkert
    0

    Permission issue: System.Security.SecurityException

    Trying to save an xslt file on a shared hosting, receiving this error:

    System.Security.SecurityException: Request for the permission of type 
    'System.Security.Permissions.EnvironmentPermission, mscorlib, 
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 
    failed.
    
    umbraco.presentation.webservices.codeEditorSave.SaveXslt(String 
    fileName, String oldName, String fileContents, Boolean ignoreDebugging)
    
    The action that failed was:
    Demand
    The type of the first permission that failed was:
    System.Security.Permissions.EnvironmentPermission
    The Zone of the assembly that failed was:
    MyComputer

    I've replaced the Lucene assembly (http://umbraco.codeplex.com/workitem/28080) but still receiving this error. Application is running in medium trust perfectly, except parsing xslt files, file is saved correctly.

    Umbraco v 4.5.1 + MySql

Please Sign in or register to post replies

Write your reply to:

Draft