I updated today to the latest version of Contour, version 3.0.11, running on Umbraco version 6.0.5 and I got some SecurityExceptions thrown in my face.
When I insert a Contour form in the Content section using the editor, insert a Macro, select Insert form from Umbraco Contour (UserControl or Razor) and select a form, the following exception is thrown:
System.Security.SecurityException:
Request for the permission of type
'System.Security.Permissions.SecurityPermission, mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
When I export a Contour form using the Contour section, export a selected form, the following exception is thrown:
I got this reproduced in my development and production sites, both running in medium trust. Is this a trust issue? I expected Contour to run in medium trust as well? Any solution to this?
SecurityException on Contour 3.0.11
I updated today to the latest version of Contour, version 3.0.11, running on Umbraco version 6.0.5 and I got some SecurityExceptions thrown in my face.
When I insert a Contour form in the Content section using the editor, insert a Macro, select Insert form from Umbraco Contour (UserControl or Razor) and select a form, the following exception is thrown:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
When I export a Contour form using the Contour section, export a selected form, the following exception is thrown:
System.Security.SecurityException: Request failed.
I got this reproduced in my development and production sites, both running in medium trust. Is this a trust issue? I expected Contour to run in medium trust as well? Any solution to this?
Nobody on shared hosting and running Contour 3.0.11?
Comment author was deleted
Hey Marcel,
And does it work if you enter the form on your template, can you get the form to render? Yes it should work in med trust but might be a bug...
Comment author was deleted
Ok can reproduce the issue it's indeed a trust issue, looking into a fix
Comment author was deleted
The insert macro into rte seems to be a core Umbraco bug so that will need to be handled in the Umbraco core, looking into the export bug now
is working on a reply...