Our AdxStudi Portal goes offline from time to time, without anyone even accessing it. We have no idea why.
When the problem occurs, we need to recycle the application pool on which the portal runs. Then the portal runs fune for a few hours or so.
I've encountered similar posts, but no answer so far.
Here is the log:
System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Web.SiteMapNode..ctor(SiteMapProvider provider, String key, String url, String title, String description, IList roles, NameValueCollection attributes, NameValueCollection explicitResourceKeys, String implicitResourceKey)
at Microsoft.Xrm.Portal.Web.CrmSiteMapProviderBase.GetWebPageNode(OrganizationServiceContext context, Entity page, HttpStatusCode statusCode, Func`2 getRewriteUrl)
at Microsoft.Xrm.Portal.Web.CrmSiteMapProviderBase.GetWebPageNode(OrganizationServiceContext context, Entity page, HttpStatusCode statusCode)
at Microsoft.Xrm.Portal.Web.CrmSiteMapProviderBase.GetAccessibleNodeOrAccessDeniedNode(OrganizationServiceContext context, Entity entity)
at Adxstudio.Xrm.Web.CrmSiteMapProvider.FindSiteMapNode(String rawUrl)
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.FindSiteMapNode(String rawUrl, ContentMap map)
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass0_0.<FindSiteMapNode>b__1(ContentMap map)
at Adxstudio.Xrm.Cms.ContentMapProvider.<>c__DisplayClass21_0`1.<Using>b__0()
at Adxstudio.Xrm.Cms.ContentMap.<>c__DisplayClass10_0`1.<Using>b__0()
at Adxstudio.Xrm.Cms.ContentMap.Using(ContentMapLockType lockType, Action action)
at Adxstudio.Xrm.Cms.ContentMap.Using[T](ContentMapLockType lockType, Func`1 action)
at Adxstudio.Xrm.Cms.ContentMapProvider.Using[T](ContentMapLockType lockType, Func`2 action)
at Adxstudio.Xrm.Cms.ContentMapProvider.Using[T](Func`2 action)
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass0_0.<FindSiteMapNode>b__0()
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.CachePerRequest[T](String method, String key, Func`1 get)
at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.FindSiteMapNode(String rawUrl)
at Adxstudio.Xrm.AspNet.Cms.PortalContext`3.GetNode(RequestContext request)
at Adxstudio.Xrm.AspNet.Cms.PortalContext`3.<.ctor>b__30_0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Adxstudio.Xrm.AspNet.Cms.PortalContext`3.<.ctor>b__30_1()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Adxstudio.Xrm.AspNet.Cms.PortalContext`3.get_Entity()
at Adxstudio.Xrm.Web.Routing.PortalRouteHandler.OnPortalLoaded(RequestContext requestContext, IPortalContext portal)
at Adxstudio.Xrm.Web.Routing.PortalRouteHandler.GetHttpHandler(RequestContext requestContext)
at System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
*This post is locked for comments
I have the same question (0)Turns out we had a couple of web pages without a parent page. That seemed to resolve the issue.
Community Member
2
Christoph Pock
1