Try our conversational search powered by Generative AI!

Getting dynamic properties in masterpage



I try in the masterpage get dynamic properties. This works fine most of the time, but we can see in the error logs that once or twice per day we se that the dynamic property is not returned. Has anybody been experiencing this before? The traffic to the site is quite large, so I would gues that this happens around once in 1000 or more times.

Below you'll find the code from MasterPage.Master.cs that we use

protected void Page_Load(object sender, EventArgs e) {    PageBase page = (PageBase)Page;    PageData startPage = DataFactory.Instance.GetPage(page.CurrentPage["StartPage"] as PageReference);
... etc.
Jun 04, 2008 12:53


Why dynamic property? If the property is the same for all pages I would put the property in the startpage or at the site root as described in this article,


Jun 04, 2008 13:16
True, that solution is better. My problem however is that it fails to read the property on some occasions.
Jun 04, 2008 13:32

ok, does it fail to read just Dynamic properties or the regular once too?

Maybe start EPiServers logging at debug level could help to find the root cause, (faq:


Jun 04, 2008 13:38

Could it be that someone is looking at the page from inside the waste basket? :-)

Jun 04, 2008 16:43
* 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.