locked
error update organizations after installing sp1 for CRM 2013 RRS feed

  • Question

  • Hello,

    I installed SP1 on CRM 2013 server. SP1 complete successfully, but when try update organization (before version 6.0.2.51) I receive error:
    System.ArgumentException: An item with the same key has already been added.
    After unsuccessful update organization, when i try connect to this organization (crm.mycompany.com/Company) i got 404 error. Other organizations I not updated, they work correct.

    14:39:29|   Info| Updating Organization with Id=(d2132500-069d-e111-aa0b-5e36c719cc59)
    14:39:29|   Info| Update Organization and Users in ConfigDB...
    14:39:29|   Info| Update Organization in OrgDB...
    14:39:33|  Error| Update Organization with Id=d2132500-069d-e111-aa0b-5e36c719cc59 failed with Exception:
    System.ArgumentException: An item with the same key has already been added.
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.AddEntityRelationshipsToCollections(IPreloadedMetadataInitializationContext context)
       at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)
       at Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, LoadMasks masks, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, CounterList counter)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)
       at Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)
       at Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
       at Microsoft.Crm.Query.EntityExpression.Init(String entityPlatformName)
       at Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.UpdateOrganizationInOrgDB(Guid organizationId, String friendlyName)
       at Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.Update(Guid organizationId, String friendlyName, String sqlServerName, Uri reportingUrl)
    14:39:33|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
    14:39:33|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 6.1.0000.0581.

    Please help to solve the problem?
    Thanks.

    Monday, June 23, 2014 10:27 AM

All replies

  • Try this:

    http://support.microsoft.com/kb/2808349


    Please vote if you find my post helpful - Thanks

    • Proposed as answer by TZ00KI Monday, June 23, 2014 1:12 PM
    Monday, June 23, 2014 1:11 PM
  • Hello,

    http://support.microsoft.com/kb/2808349

    But it does not resolve error.

    Thanks.

    Tuesday, June 24, 2014 11:44 AM