Tags: creating, crm, following, indexoutofrangeexception, installation, installing, navigating, note, organization, row, software, unit

Installation Problem: [IndexOutOfRangeException: There is no row at

On Software » Crm

7,242 words with 1 Comments; publish: Mon, 19 May 2008 17:36:00 GMT; (40046.88, « »)

Hi,

we've got the following problem after installing MS CRM 4.0 and

creating a new Organization Unit (note that we're navigating to

http://servername/defaultorganization/):

[IndexOutOfRangeException: There is no row at position 0.]

System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1879898

System.Data.DataRowCollection.get_Item(Int32 index) +14

Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.BuildContainerFromDataSet(DataSet

data, LoadMasks masks, Guid organizationId) +575

Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromDataSet(DataSet

data, LoadMasks masks, Guid organizationId) +42

Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks

masks, CrmDbConnection connection, CrmTransaction transaction, Guid

organizationId) +87

Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks

masks, IOrganizationContext context) +168

Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod

method, CacheType type, IOrganizationContext context) +355

Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext

context) +312

Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext

context) +286

Microsoft.Crm.BusinessEntities.BusinessEntityMoniker..ctor(Guid id,

String entityName, Guid organizationId) +115

Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid

key, ExecutionContext context) +261

Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey

key, IOrganizationContext context) +388

Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key,

IOrganizationContext context) +82

Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key,

IOrganizationContext context) +108

Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrganization(WindowsIdentity

identity, IOrganizationContext context) +66

Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity

identity, IOrganizationContext context) +66

Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity

identity, Guid organizationId) +215

Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity

innerIdentity, Boolean publishCrmUser, Guid organizationId) +251

Microsoft.Crm.Authentication.WindowsAuthenticationProvider.Authenticate(HttpApplication

application) +574

Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication

application) +125

Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication

application) +66

Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object

sender, EventArgs e) +475

System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

+92

System.Web.HttpApplication.ExecuteStep(IExecutionStep step,

Boolean& completedSynchronously) +64

Any ideas what we can do?!

Thanks in advance ...

Christian

All Comments

Leave a comment...

  • 1 Comments
    • On 5 Feb., 16:19, gseagull <christian.wagnson....crm.todaysummary.com.gmail.com> wrote:

      > Hi,

      > we've got the following problem after installing MS CRM 4.0 and

      > creating a new Organization Unit (note that we're navigating tohttp://serv=

      ername/defaultorganization/):

      > [IndexOutOfRangeException: There is no row at position 0.]

      > =A0 =A0System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1879898

      > =A0 =A0System.Data.DataRowCollection.get_Item(Int32 index) +14

      > Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.BuildContainerF=r=ADomDataSet(DataSet

      > data, LoadMasks masks, Guid organizationId) +575

      > Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromDa=t=ADaSet(DataSet

      > data, LoadMasks masks, Guid organizationId) +42

      > Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInt=e=ADrnal(LoadMasks

      > masks, CrmDbConnection connection, CrmTransaction transaction, Guid

      > organizationId) +87

      > Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(Lo=a=ADdMasks

      > masks, IOrganizationContext context) +168

      > Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadM=e=ADthod

      > method, CacheType type, IOrganizationContext context) +355

      > =A0 =A0Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext=

      > context) +312

      > Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext

      > context) +286

      > =A0 =A0Microsoft.Crm.BusinessEntities.BusinessEntityMoniker..ctor(Guid id,=

      > String entityName, Guid organizationId) +115

      > Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid

      > key, ExecutionContext context) +261

      > =A0 =A0Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey

      > key, IOrganizationContext context) +388

      > =A0 =A0Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key,

      > IOrganizationContext context) +82

      > =A0 =A0Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key,

      > IOrganizationContext context) +108

      > Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrgan=i=ADzation(WindowsIdentity

      > identity, IOrganizationContext context) +66

      > Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndB=u=ADsinessGuidsFromThread(WindowsIdentity

      > identity, IOrganizationContext context) +66

      > Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFr=o=ADmThread(WindowsIdentity

      > identity, Guid organizationId) +215

      > Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity

      > innerIdentity, Boolean publishCrmUser, Guid organizationId) +251

      > Microsoft.Crm.Authentication.WindowsAuthenticationProvider.Authenticate(Ht=t=ADpApplication

      > application) +574

      > Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplicati=o=ADn

      > application) +125

      > Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpAppli=c=ADation

      > application) +66

      > =A0 =A0Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object

      > sender, EventArgs e) +475

      > System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionSte=p=AD.Execute()

      > +92

      > =A0 =A0System.Web.HttpApplication.ExecuteStep(IExecutionStep step,

      > Boolean& completedSynchronously) +64

      > Any ideas what we can do?!

      > Thanks in advance ...

      > Christian

      I don't know if this is of any interest, but when navigating to

      http://servername/ we got the following message.

      We thought this is cause of the old url...

      No Microsoft Dynamics CRM user exists with the specified domain name

      and user ID

      Please help.

      Thx

      Christian

      #1; Mon, 19 May 2008 17:37:00 GMT