Hi,
I have disabled org for which I want to change SQL Server instance, then I went to edit organization wizard. I putted up the new Server report services URL, and mentioned new SQL Server in the wizard. System check wizard passed successfully. But in the progress of update organization it gives an error keeping the wizard unsuccessful. Below is the error log:
18:17:03| Info| Check SysAdminValidator: Success
18:17:03| Info| Check SqlCollationValidator: Success
18:17:03| Info| Check WordBreakerValidator: Success
18:17:03| Info| Check FullTextInstalledValidator: Success
18:17:03| Info| Check FullTextRunningValidator: Success
18:17:03| Info| Check OrganizationDatabaseExistsValidator: Success
18:17:03| Info| Group Microsoft SQL Server Reporting Services
18:17:03| Info| Check ReportingUrlValidator: Success
18:17:04| Info| Check ExistingRSValidator: Success
18:17:04| Info| Check SrsExtensionsValidator: Success
18:17:04|Verbose| Validation ran.
18:17:04|Verbose| Validation completed.
18:17:04|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Run
18:17:04|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.RunAll
18:17:04|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
18:17:04|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
18:17:15| Info| Updating Organization with Id=(06339f03-eb07-4b4e-9ac6-4d2f869b6dbb)
18:17:15| Info| Update Organization and Users in ConfigDB...
18:17:24| Error| Update Organization with Id=06339f03-eb07-4b4e-9ac6-4d2f869b6dbb failed with Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Metadata.OrganizationBaseLanguageLoader.GetBaseLanguage(Guid key, SqlExecutionContext context)
at Microsoft.Crm.Metadata.OrganizationBaseLanguageLoader.LoadCacheData(Guid key, IOrganizationContext context)
at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Metadata.LabelCacheLabelCollection.HasLabels(IOrganizationContext context)
at Microsoft.Crm.Metadata.PreloadedOptionSetMetadataDataProvider.CreateEntityNameReferenceOptions(SortedList`2& optionsSorted, IOrganizationContext organizationContext)
at Microsoft.Crm.Metadata.PreloadedOptionSetMetadataDataProvider.LoadEntityNameReferenceOptionsIfNecessary(IOrganizationContext context, LoadMasks masks)
at Microsoft.Crm.Metadata.PreloadedOptionSetMetadataDataProvider.InitializeOptions(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)
at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.InitializeOptionSets(IPreloadedMetadataInitializationContext context, LoadMasks masks, IOrganizationContext organizationContext)
at Microsoft.Crm.Metadata.PreloadedMetadataCacheDataProvider.Initialize(IOrganizationContext organizationContext, MetadataContainer container, LoadMasks masks)
at Microsoft.Crm.Metadata.MultiOrgSharableMetadataCacheLoader.CreateMetadataCacheDataProvider(MetadataContainer container, IOrganizationContext context, LoadMasks masks, CounterList counter)
at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.BuildMetadataCacheFromMetadataContainer(MetadataContainer container, LoadMasks masks, IOrganizationContext context, CounterList counter)
at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)
at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, 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.GetAllUsersFromOrgDB(Guid organizationId)
at Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.UpdateUsersInConfigDB(Guid organizationId)
at Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.UpdateOrganizationAndUsersInConfigDB(Guid organizationId, OrganizationData organizationData, String friendlyName, String sqlServerName, Uri reportingUrl)
at Microsoft.Crm.Tools.Admin.UpdateOrganizationInstaller.Update(Guid organizationId, String friendlyName, String sqlServerName, Uri reportingUrl)
18:17:24| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 2730.
Please guide on this.