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.
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
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.
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.
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
btw I took the liberty to move it to the proper forum.
/Jan
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:
Thank you for quick response.
...i forget to add
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
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
Hi Jan,
it looks like this is solution to my problem.
Thank you for your help.
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
is working on a reply...