Copied to clipboard

Flag this post as spam?

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


  • Nikola Spasojevic 4 posts 34 karma points
    Mar 28, 2013 @ 11:16
    Nikola Spasojevic
    0

    Problem with Medium trust level in local

    Hi,

    i am new to Umbraco and i have problem with starting project in Visual Studio 2012. My Umbraco project worked just fine until i installed workflow module which does not support Medium trust level. Ever since i can't run project on local machine. Any ideas how to solve this problem? Thank you.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 28, 2013 @ 11:38
    Jan Skovgaard
    0

    Hi Nikola and welcome to our :)

    Do you get any kind of error message? I suspect that the package may not neccesarily be support on v6 since it says on the package page that it has support up to 4.11 here http://our.umbraco.org/projects/backoffice-extensions/workflow

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 28, 2013 @ 11:44
    Jan Skovgaard
    0

    btw I took the liberty to move it to the proper forum.

    /Jan

  • Nikola Spasojevic 4 posts 34 karma points
    Mar 28, 2013 @ 11:54
    Nikola Spasojevic
    0

    Hi Jan,

    this is error message...

    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 for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 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 for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
       System.StubHelpers.StubHelpers.DemandPermission(IntPtr pNMD) +0
       Microsoft.VisualStudio.Debugger.Runtime.Main.LoadLibraryW(String libname) +0
       Microsoft.VisualStudio.Debugger.Runtime.Main.LoadRuntimeImplFromPath(String strRuntimeDll, IntPtr pFuncEvalIPCInfo, Boolean fInitCOMFEQA) +73
       Microsoft.VisualStudio.Debugger.Runtime.Main.Initialize(String strRuntimeDll, IntPtr pFuncEvalIPCInfo, Boolean fInitCOMFEQA) +42

    Thank you for quick response.

  • Nikola Spasojevic 4 posts 34 karma points
    Mar 28, 2013 @ 11:59
    Nikola Spasojevic
    0

    ...i forget to add

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 29, 2013 @ 11:51
    Jan Skovgaard
    100

    Hi Nikola

    Have you activated medium trust in your web.config file?

    Look for this setting <add key="umbracoUseMediumTrust" value="false" /> - if it's set to false change it to "true".

    Does this help?

    /Jan

  • Nikola Spasojevic 4 posts 34 karma points
    Mar 29, 2013 @ 14:48
    Nikola Spasojevic
    0

    Hi Jan,

    it looks like this is solution to my problem.

    Thank you for your help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 29, 2013 @ 15:08
    Jan Skovgaard
    0

    Hi Nikola

    That's good to hear - if it's the solution please mark the correct answer as the solution so others can easily see what to do if they encounter the same problem.

    Cheers,
    Jan 

Please Sign in or register to post replies

Write your reply to:

Draft