Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #218 (assigned question)

Opened 7 years ago

Last modified 7 years ago

Security Exception in EPiCode.Extensions

Reported by: azakzuk@… Owned by: frederik@…
Priority: major Component: Extensions
Keywords: exception Cc:

Description

There is an exception ocurring when calling the HtmlLink() extension method. The exception is realted to "That assembly does not allow partially trusted callers."
Here is the full stack
FeaturedNewsPage.HtmlLink()' threw an exception of type 'System.Security.SecurityException'

base {System.SystemException}: {"That assembly does not allow partially trusted callers."}
Action: LinkDemand
Demanded: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).Demanded' threw an exception of type 'System.Security.SecurityException'
DenySetInstance: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).DenySetInstance' threw an exception of type 'System.Security.SecurityException'
FailedAssemblyInfo: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).FailedAssemblyInfo' threw an exception of type 'System.Security.SecurityException'
FirstPermissionThatFailed: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).FirstPermissionThatFailed' threw an exception of type 'System.Security.SecurityException'
GrantedSet: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).GrantedSet' threw an exception of type 'System.Security.SecurityException'
Method: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).Method' threw an exception of type 'System.Security.SecurityException'
PermissionState: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).PermissionState' threw an exception of type 'System.Security.SecurityException'
PermissionType: null
PermitOnlySetInstance: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).PermitOnlySetInstance' threw an exception of type 'System.Security.SecurityException'
RefusedSet: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).RefusedSet' threw an exception of type 'System.Security.SecurityException'
Url: '((System.Security.SecurityException)(FeaturedNewsPage.HtmlLink())).Url' threw an exception of type 'System.Security.SecurityException'
Zone: Internet

Change History

comment:1 Changed 7 years ago by frederik@…

  • Owner changed from frederik.vig@… to frederik@…
  • Status changed from new to assigned

comment:2 Changed 7 years ago by frederik@…

Are you running this site in medium trusted or full trusted mode? Which version of EPiServer CMS are you using?

Note: See HelpUser/Tickets for help on using tickets.