Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

ADX Portal 7.0 - Sequence contains more than one element

$
0
0

Hi

having an issue all of a sudden with my portals. I have no ADFS, IFD, Claims, Azure integrated yet so unsure why this happened after a reset.

Any help greatly appreciated.

Sequence contains more than one element Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Sequence contains more than one element

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[InvalidOperationException: Sequence contains more than one element]
   Microsoft.Xrm.Sdk.Linq.QueryProvider.ThrowException(Exception exception) +13
   Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups, String& pagingCookie, Boolean& moreRecords) +1119
   Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups) +135
   Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(Expression expression) +275
   Microsoft.Xrm.Sdk.Linq.QueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +72
   System.Linq.Queryable.SingleOrDefault(IQueryable`1 source, Expression`1 predicate) +446
   Adxstudio.Xrm.Web.Security.CrmRoleProvider.GetRolesForUser(String username) +183
   Adxstudio.Xrm.Web.Security.CrmContactAccountRoleProvider.GetRolesForUser(String username) +13475
   System.Web.Security.RolePrincipal.GetRoles() +273
   System.Web.Security.Roles.GetRolesForUser(String username) +506
   Adxstudio.Xrm.Cms.Security.ContentMapWebPageAccessControlSecurityProvider.TryAssert(WebPageNode page, CrmEntityRight right) +902
   Adxstudio.Xrm.Cms.Security.<>c__DisplayClass2_0.<TryAssert>b__0(ContentMap map) +637
   Adxstudio.Xrm.Cms.<>c__DisplayClass21_0`1.<Using>b__0() +75
   Adxstudio.Xrm.Cms.<>c__DisplayClass10_0`1.<Using>b__0() +80
   Adxstudio.Xrm.Cms.ContentMap.Using(ContentMapLockType lockType, Action action) +848
   Adxstudio.Xrm.Cms.ContentMap.Using(ContentMapLockType lockType, Func`1 action) +182
   Adxstudio.Xrm.Cms.ContentMapProvider.Using(ContentMapLockType lockType, Func`2 action) +232
   Adxstudio.Xrm.Cms.ContentMapProvider.Using(Func`2 action) +109
   Adxstudio.Xrm.Cms.Security.ContentMapWebPageAccessControlSecurityProvider.TryAssert(OrganizationServiceContext context, Entity webPage, CrmEntityRight right, CrmEntityCacheDependencyTrace dependencies) +360
   Adxstudio.Xrm.Cms.Security.UncachedProvider.TestWebPage(OrganizationServiceContext context, Entity entity, CrmEntityRight right, CrmEntityCacheDependencyTrace dependencies) +128
   Adxstudio.Xrm.Cms.Security.UncachedProvider.InnerTryAssert(OrganizationServiceContext context, Entity entity, CrmEntityRight right, CrmEntityCacheDependencyTrace dependencies) +607
   Adxstudio.Xrm.Cms.Security.UncachedProvider.TryAssert(OrganizationServiceContext context, Entity entity, CrmEntityRight right, CrmEntityCacheDependencyTrace dependencies) +916
   Adxstudio.Xrm.Security.<>c__DisplayClass1_0.<TryAssert>b__0(ObjectCache cache) +133
   Microsoft.Xrm.Client.Caching.<>c__DisplayClass6`1.<Get>b__5(String key) +24
   Microsoft.Xrm.Client.Threading.<>c__DisplayClass5`1.<Get>b__3() +62
   Adxstudio.Xrm.Threading.MonitorLockProvider.Lock(String key, Int32 millisecondsTimeout, Action action) +132
   Microsoft.Xrm.Client.Threading.LockProvider.Get(String key, Int32 millisecondsTimeout, Func`2 loadFromCache, Func`2 loadFromService) +182
   Microsoft.Xrm.Client.Threading.LockProvider.Get(String key, Func`2 loadFromCache, Func`2 loadFromService) +86
   Microsoft.Xrm.Client.Caching.ObjectCacheManager.Get(ObjectCache cache, String cacheKey, Func`2 load, Action`2 insert, String regionName) +105
   Microsoft.Xrm.Client.Caching.ObjectCacheManager.Get(String cacheKey, Func`2 load, Action`2 insert, String regionName) +77
   Adxstudio.Xrm.Security.ApplicationCachingCrmEntitySecurityProvider.TryAssert(OrganizationServiceContext context, Entity entity, CrmEntityRight right, CrmEntityCacheDependencyTrace dependencies) +562
   Adxstudio.Xrm.Security.RequestCachingCrmEntitySecurityProvider.TryAssert(OrganizationServiceContext context, Entity entity, CrmEntityRight right, CrmEntityCacheDependencyTrace dependencies) +518
   Adxstudio.Xrm.Security.CacheSupportingCrmEntitySecurityProvider.TryAssert(OrganizationServiceContext context, Entity entity, CrmEntityRight right) +135
   Adxstudio.Xrm.Cms.Security.CmsCrmEntitySecurityProvider.TryAssert(OrganizationServiceContext context, Entity entity, CrmEntityRight right) +90
   Microsoft.Xrm.Portal.Web.CrmSiteMapProviderBase.ReturnNodeIfAccessible(CrmSiteMapNode node, Func`1 getFallbackNode) +60
   Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.GetAccessibleNodeOrAccessDeniedNode(ContentMap map, WebPageNode page, IContentMapEntityUrlProvider provider) +168
   Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.FindSiteMapNode(String rawUrl, ContentMap map) +902
   Adxstudio.Xrm.Web.<>c__DisplayClass0_0.<FindSiteMapNode>b__1(ContentMap map) +69
   Adxstudio.Xrm.Cms.<>c__DisplayClass21_0`1.<Using>b__0() +79
   Adxstudio.Xrm.Cms.<>c__DisplayClass10_0`1.<Using>b__0() +91
   Adxstudio.Xrm.Cms.ContentMap.Using(ContentMapLockType lockType, Action action) +848
   Adxstudio.Xrm.Cms.ContentMap.Using(ContentMapLockType lockType, Func`1 action) +235
   Adxstudio.Xrm.Cms.ContentMapProvider.Using(ContentMapLockType lockType, Func`2 action) +384
   Adxstudio.Xrm.Cms.ContentMapProvider.Using(Func`2 action) +159
   Adxstudio.Xrm.Web.<>c__DisplayClass0_0.<FindSiteMapNode>b__0() +239
   Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.CachePerRequest(String method, String key, Func`1 get) +689
   Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.FindSiteMapNode(String rawUrl) +229
   Adxstudio.Xrm.AspNet.Cms.PortalContext`3.GetNode(RequestContext request) +378
   Adxstudio.Xrm.AspNet.Cms.PortalContext`3.<.ctor>b__30_0() +136
   System.Lazy`1.CreateValue() +741
   System.Lazy`1.LazyInitValue() +430
   Adxstudio.Xrm.AspNet.Cms.PortalContext`3.<.ctor>b__30_1() +87
   System.Lazy`1.CreateValue() +741
   System.Lazy`1.LazyInitValue() +430
   Adxstudio.Xrm.AspNet.Cms.PortalContext`3.get_Entity() +60
   Adxstudio.Xrm.Web.Routing.PortalRouteHandler.OnPortalLoaded(RequestContext requestContext, IPortalContext portal) +236
   Adxstudio.Xrm.Web.Routing.PortalRouteHandler.GetHttpHandler(RequestContext requestContext) +157
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +216
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +229
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +98

Thank you in advance


Viewing all articles
Browse latest Browse all 55831

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>