Just created a new home page for your Power Pages site and it’s all failing? Don’t panic yet, try this instead

By | July 9, 2024

It took me a few hours to figure this out, and, hopefully, this post will save me, and, possibly, you, a few more hours the next time this happens.

I started to see see this error when trying to sign in to the power pages site:

Turned out what seems to have led to it is that I had created a new home page for the site, and something went wrong somehow. My original home page got stuck at various places, and it’s “Home” site marker that was causing the error above.

Updating “Home” site marker so that it got correct home page specified for the correct site did fix the error:

And, just in case someone is looking by the callstack / error message, here they go:

We’re sorry, but something went wrong. Please try again, and if this persists, contact the website administrator.
Error ID # [05167cee-76e6-432f-8409-6f125d7306b2]
We’ve been notified about this issue and we’ll take a look at it shortly. Thank you for your patience.

Exception Message
Can’t get an attribute value from a reference node. Stack Trace
at Adxstudio.Xrm.Cms.EntityNode.GetValue[T](String attributeLogicalName) in C:__w\1\s\Framework\Adxstudio.Xrm\Cms\EntityNode.cs:line 64
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.GetNode(ContentMap map, WebPageNode page, HttpStatusCode statusCode, IContentMapEntityUrlProvider provider, Boolean includeReturnUrl) in C:__w\1\s\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 550
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.GetNode(ContentMap map, WebPageNode page, IContentMapEntityUrlProvider provider) in C:__w\1\s\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 545
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass13_0.b__1(ContentMap map) in C:__w\1\s\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 415
at Adxstudio.Xrm.Cms.ContentMap.<>c__DisplayClass20_0`1.b__0() in C:__w\1\s\Framework\Adxstudio.Xrm\Cms\ContentMap.cs:line 148

Leave a Reply

Your email address will not be published. Required fields are marked *