Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Dynamics CRM error loading

Posted on by 1,670

Hi,

i changed the database of CRM 2013, MSCRM_CONFIG and organisation_CRM (always the same name exist in the sql server and registry, just the data changed), after restart sql server and IIS, i show this windows :

Sans-titre2.png

Any solution !

*This post is locked for comments

  • Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: Dynamics CRM error loading

    yes sure, db names "organization_MSCRM"

    log file when updating organisation:

    Error| La mise à jour de l’organisation (ID=4ac008b5-4d38-4ddc-a5f5-d672e705fe12) a échoué avec l’exception :

    System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.

      à Microsoft.Crm.Metadata.OrganizationBaseLanguageLoader.GetBaseLanguage(Guid key, SqlExecutionContext context)

      à Microsoft.Crm.Metadata.OrganizationBaseLanguageLoader.LoadCacheData(Guid key, IOrganizationContext context)

      à Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)

      à Microsoft.Crm.Metadata.LabelCacheLabelCollection.HasLabels(IOrganizationContext context)

      à Microsoft.Crm.Metadata.PreloadedOptionSetMetadataDataProvider.CreateEntityNameReferenceOptions(SortedList`2& optionsSorted, IOrganizationContext organizationContext)

      à Microsoft.Crm.Metadata.PreloadedOptionSetMetadataDataProvider.LoadEntityNameReferenceOptionsIfNecessary(IOrganizationContext context, LoadMasks masks)

      à Microsoft.Crm.Metadata.PreloadedOptionSetMetadataDataProvider.InitializeOptions(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)

      à Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.InitializeOptionSets(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)

      à Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)

      à Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, LoadMasks masks, CounterList counter)

      à Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, CounterList counter)

      à Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter)

      à Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, CounterList counter)

      à Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)

      à Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)

      à Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)

      à Microsoft.Crm.Query.EntityExpression.Init(String entityPlatformName)

      à Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.UpdateOrganizationInOrgDB(Guid organizationId, String friendlyName)

      à Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.Update(Guid organizationId, String friendlyName, String sqlServerName, Uri reportingUrl)

  • Royal King Profile Picture
    Royal King 27,686 on at
    RE: Dynamics CRM error loading

    Are you sure your organization database named like organization_MSCRM in the database server? IF not then system will not show, you have to rename it to organization_MSCRM

  • Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: Dynamics CRM error loading

    when i selected the database server to import the organization database, the error message contains "verify the server name and if contains the organization database", when i selected the server i can't show the database in the combobox !

  • Verified answer
    Royal King Profile Picture
    Royal King 27,686 on at
    RE: Dynamics CRM error loading

    Try to import the organization again using deployment manager. You can do this by disabling the organization and deleting it. Once organization is deleted from the deployment manager try to import that may resolve this issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans