Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

BUG? Pagedata.Property[index] throws AccessDeniedException

Vote:
 

Hi.

I get an AccessDeniedException thrown from this line of code:

if (CurrentPage.Property[propertyName] != null)

propertyName is a string that refers to a string property.

The AccessDeniedException  does not refer to the current page, but from another page referenced in a property on CurrentPage.

 

EpiServer version is  5.1.422.267

#28895
Mar 26, 2009 9:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.