Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Organisation upgrade 8.0.1.79 failure - SQL Cannot insert

Posted on by Microsoft Employee

Our on prem development version of dynamics 2016 recently got the windows update for dynamics 365 which has upgraded the version to 8.2.0749 but the database version is still 8.0.1.79. This has now stopped any users being able to publish updates for solutions. When I try to run the update from deployment manager it fails with the following error :System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.SolutionBase' with unique index 'ndx_UniqueName'. The duplicate key value is (SnapshotSolution80).

Any help would be appreciated as this has caused development to stop.

full log pasted below

14:13:04| Info| Deployment Manager Start
14:13:04|Verbose| Retrieving config database version Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=MSCRM_CONFIG;Integrated Security=True;Connect Timeout=60 ...
14:13:04| Info| Config database version: 8.2.0.749.
14:13:05| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:13:05| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:13:05|Verbose| Getting number of organizations Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=MSCRM_CONFIG;Integrated Security=True;Connect Timeout=60 ...
14:13:05|Verbose| Getting number of Servers Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=MSCRM_CONFIG;Integrated Security=True;Connect Timeout=60 ...
14:13:05|Verbose| Getting number of organizations Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=MSCRM_CONFIG;Integrated Security=True;Connect Timeout=60 ...
14:13:05|Verbose| Getting number of Servers Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=MSCRM_CONFIG;Integrated Security=True;Connect Timeout=60 ...
14:13:05| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:13:05| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:13:09| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:13:09| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:18:00| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:18:00| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:18:03| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:18:03| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:18:08| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:18:08| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:18:10| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:18:10| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.
14:18:12|Verbose| Retrieving database base language code Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=CRMTESTDEV_MSCRM;Integrated Security=True;Connect Timeout=60 ...
14:18:12| Info| Database base language code: 1033.
14:18:12| Info| EdwModeProperty: DMSnapIn.Organization.ApplyDatabaseHotFix
14:18:12| Info| InstallInfo.InstallType: None
14:18:12| Info| OrganizationInfo.BaseCurrencyCode: GBP
14:18:12| Info| OrganizationInfo.BaseCurrencyName: Pound Sterling
14:18:12| Info| OrganizationInfo.BaseCurrencyPrecision: 2
14:18:12| Info| OrganizationInfo.BaseCurrencySymbol: £
14:18:12| Info| OrganizationInfo.BaseLanguageCode: 1033
14:18:12| Info| OrganizationInfo.ConnectionString: Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=CRMTESTDEV_MSCRM;Integrated Security=True;Connect Timeout=60
14:18:12| Info| OrganizationInfo.DatabaseName: CRMTESTDEV_MSCRM
14:18:12| Info| OrganizationInfo.ExistingDatabaseVersion: 8.0.1.79
14:18:12| Info| OrganizationInfo.FullTextSearchLocaleId: 1033
14:18:12| Info| OrganizationInfo.OperationTypeProperty: DatabaseHotFix
14:18:12| Info| OrganizationInfo.OrganizationCollation: Latin1_General_CI_AI
14:18:12| Info| OrganizationInfo.OrganizationFriendlyName: CRM_TESTDEV
14:18:12| Info| OrganizationInfo.OrganizationId: a1e8795e-3f01-4cd9-be60-286b79edb0be
14:18:12| Info| OrganizationInfo.OrganizationUniqueName: CRMTESTDEV
14:18:12| Info| OrganizationInfo.ReportingUrl: wkip-sosq-06/ReportServer_CRM_TESTDEV
14:18:12| Info| OrganizationInfo.SqlServerInstanceName: CRM_TESTDEV
14:18:12| Info| OrganizationInfo.SqlServerMachineName: WKIP-SOSQ-06
14:18:12| Info| OrganizationInfo.SqlServerName: WKIP-SOSQ-06\CRM_TESTDEV
14:18:12| Info| OrganizationInfo.SqlServerNameObject: Microsoft.Crm.Setup.Server.Utility.SqlServerNames
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNG.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.GathererCollection.Constructor()
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.GathererCollection.Constructor()
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNG.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Constructor
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Constructor
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Clear
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Clear
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Clear
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.ClearConfig
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.ClearConfig
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Clear
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.PropagateContext
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.PropagateContext
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.BuildFromConfigData
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildFromConfigData
14:18:12|Verbose| Found 10 config items
14:18:12|Verbose| Processing item 0
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Create
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Create
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Create
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Create
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 1
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Import
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Import
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Import
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Import
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 2
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Update
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Update
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Update
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Update
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 3
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 4
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.ApplyDatabaseHotFix
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.ApplyDatabaseHotFix
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.ApplyDatabaseHotFix
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.ApplyDatabaseHotFix
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 5
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Create
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Create
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Create
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Create
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 6
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Import
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Import
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Import
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Import
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 7
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Update;DMSnapIn.Organization.ProvisionSharepoint
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Update;DMSnapIn.Organization.ProvisionSharepoint
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Update;DMSnapIn.Organization.ProvisionSharepoint
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Update;DMSnapIn.Organization.ProvisionSharepoint
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 8
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing item 9
14:18:12|Verbose| Processing Sniffer
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Processing arg RunModes=DMSnapIn.Organization.Create;DMSnapIn.Organization.Import;DMSnapIn.Organization.Update;DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Found key = RunModes, value = DMSnapIn.Organization.Create;DMSnapIn.Organization.Import;DMSnapIn.Organization.Update;DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions RunModes
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env var substitutions DMSnapIn.Organization.Create;DMSnapIn.Organization.Import;DMSnapIn.Organization.Update;DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessEnvSubstitutions
14:18:12|Verbose| After env substitutions key = RunModes, value = DMSnapIn.Organization.Create;DMSnapIn.Organization.Import;DMSnapIn.Organization.Update;DMSnapIn.Organization.Upgrade
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildDictionaryFromArgs
14:18:12|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.BuildFromConfigData
14:18:12|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.PropagateContext
14:18:12| Info| OrgUniqueNameValidator linking to help topic: html/a399aac4-9b6b-41fe-9089-1a01f1fefeae.htm
14:18:12| Info| OrgFriendlyNameValidator linking to help topic: html/7f2aee1d-f5d6-4aa5-bb8f-0291bfea992c.htm
14:18:12| Info| BaseCurrencyValidator linking to help topic: html/163b1324-32c4-4b8c-88db-844f661cdb34.htm
14:18:12| Info| ActiveDirectoryRightsValidator linking to help topic: html/8d967f0d-bba9-40b2-96dd-cdb7c01279bc.htm
14:18:12| Info| SqlEncryptionActivationValidator linking to help topic: html/8ffd2e56-4961-4aa9-ac22-e52455fbfdbf.htm
14:18:12| Info| OrgUniqueNameValidator linking to help topic: html/a399aac4-9b6b-41fe-9089-1a01f1fefeae.htm
14:18:12| Info| OrgFriendlyNameValidator linking to help topic: html/7f2aee1d-f5d6-4aa5-bb8f-0291bfea992c.htm
14:18:12| Info| ImportCurrentUserMappingValidator linking to help topic: html/959afe9c-a7e1-4c80-bed2-0c2c49119ddd.htm
14:18:12| Info| ImportUserMappingValidator linking to help topic: html/97eace4e-604d-4267-926a-8011a7ca2b99.htm
14:18:12| Info| ActiveDirectoryRightsValidator linking to help topic: html/8d967f0d-bba9-40b2-96dd-cdb7c01279bc.htm
14:18:12| Info| OrganizationBaseLanguageValidator linking to help topic: html/68fef610-81ac-452b-b74c-5797cb9d0711.htm
14:18:12| Info| OrganizationIdValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
14:18:12| Info| SqlEncryptionExistingEncryptedDataValidator linking to help topic: html/05315101-e80a-4bf7-bb1e-92e1c01fb4e9.htm
14:18:12| Info| LanguageProvisioningRequiredValidator linking to help topic: html/4935cc4a-6b26-42d2-8771-33181fb98789.htm
14:18:12| Info| OrgFriendlyNameValidator linking to help topic: html/7f2aee1d-f5d6-4aa5-bb8f-0291bfea992c.htm
14:18:12| Info| ActiveDirectoryRightsValidator linking to help topic: html/8d967f0d-bba9-40b2-96dd-cdb7c01279bc.htm
14:18:12| Info| OrganizationIsInUpgradeableStateValidator linking to help topic: html/e633cad0-3cfd-4327-85dd-25859c47b802.htm
14:18:12| Info| OrganizationVersionIsUpgradeableValidator linking to help topic: html/1831153e-8110-4a68-8d46-3ba5a206231a.htm
14:18:12| Info| SqlCollationValidator linking to help topic: html/63057338-b2a1-4acb-9413-11975281472b.htm
14:18:12| Info| SqlColumnValidator linking to help topic: html/fcd867bd-2687-4be0-8f4e-fc0ade94bd36.htm
14:18:12| Info| SqlConnectionValidator linking to help topic: html/4414aa97-a4da-4699-9113-5e36e56abcc0.htm
14:18:12| Info| SqlPrimaryKeyConstraintValidator linking to help topic: html/470bc02b-ea44-49af-a6f7-2e08337f6a5f.htm
14:18:12| Info| SqlForeignKeyConstraintValidator linking to help topic: html/29424c71-4e80-4ec4-a440-6fb734ec6c34.htm
14:18:12| Info| SqlDefaultValueConstraintValidator linking to help topic: html/694ae64b-4da2-4e59-9c47-0a9f41dadf28.htm
14:18:12| Info| SqlFullTextIndexValidator linking to help topic: html/a8c46a63-ef00-4ccf-8893-ee362598f230.htm
14:18:12| Info| SqlIndexValidator linking to help topic: html/9a96d3c7-7d16-4c39-907f-5b6a23777049.htm
14:18:12| Info| SqlTableValidator linking to help topic: html/35f89b36-0622-49f4-822f-86d3ab78269f.htm
14:18:12| Info| SqlViewValidator linking to help topic: html/0f7e232b-c808-4cc4-a667-d4cc3df9c615.htm
14:18:12| Info| SqlStoredProcedureValidator linking to help topic: html/166f0873-37db-4026-a848-8277560b9b26.htm
14:18:12| Info| SqlStatisticValidator linking to help topic: html/bfa3e891-7563-4144-b5f5-50b66dc1a7ad.htm
14:18:13| Info| SqlTriggerValidator linking to help topic: html/890850e8-bee3-437a-9b2e-5037dd6ac57a.htm
14:18:13| Info| FragmentedIndexesValidator linking to help topic: html/3c5ae9ab-a17b-4600-9c53-21f069853d67.htm
14:18:13| Info| SqlMergeReplicationValidator linking to help topic: html/f207aaf9-354b-433f-bc05-162242f5306f.htm (default)
14:18:13| Info| SqlSnapshotAndTransactionReplicationValidator linking to help topic: html/f207aaf9-354b-433f-bc05-162242f5306f.htm (default)
14:18:13| Info| SqlPlanGuideValidator linking to help topic: html/c78144ef-8463-46b9-96c1-b3f6e96b3ea1.htm
14:18:13| Info| SqlTimestampCustomAttributeValidator linking to help topic: html/6b3e8c03-d5d2-4277-a7a8-d8d02d0af60a.htm
14:18:13| Info| LanguageProvisioningRequiredValidator linking to help topic: html/4935cc4a-6b26-42d2-8771-33181fb98789.htm
14:18:13| Info| WorkflowDotNetAssembliesValidator linking to help topic: html/eda097af-a345-4127-9a28-741e3b464446.htm
14:18:13| Info| PendingBulkOperationsValidator linking to help topic: html/7756c9aa-9088-4897-85af-f638524e1558.htm
14:18:13| Info| OrganizationBaseLanguageUpgradableValidator linking to help topic: html/68fef610-81ac-452b-b74c-5797cb9d0711.htm
14:18:13| Info| OrganizationLegacyFeatureWarningValidator linking to help topic: html/36e9d26a-2dd7-4815-9510-748812eefa6f.htm
14:18:13| Info| OrganizationLegacyFeatureValidator linking to help topic: html/36e9d26a-2dd7-4815-9510-748812eefa6f.htm
14:18:13| Info| SqlEncryptionActivationValidator linking to help topic: html/8ffd2e56-4961-4aa9-ac22-e52455fbfdbf.htm
14:18:13| Info| CrmSqlDomainValidator linking to help topic: html/2b0bbb6b-753d-41c7-b958-b9c5042e05b4.htm
14:18:13| Info| SqlServerAgentValidator linking to help topic: html/84cc701b-1157-4139-9813-d575401665b7.htm
14:18:13| Info| SqlInstanceNameValidator linking to help topic: html/6d200486-7216-491f-bb84-bedda2ee5aa9.htm
14:18:13| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:13| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:13| Info| SqlCollationValidator linking to help topic: html/63057338-b2a1-4acb-9413-11975281472b.htm
14:18:13| Info| WordBreakerValidator linking to help topic: html/0ff70af7-ac3e-4dd9-a870-feaae03199c0.htm
14:18:13| Info| FullTextInstalledValidator linking to help topic: html/765e9c0e-3045-4d28-bc73-a3b9e58db3d4.htm
14:18:13| Info| FullTextRunningValidator linking to help topic: html/dcd7bf41-86d8-4055-88d8-7e1cdebf3547.htm
14:18:13| Info| OrganizationDatabaseExistsValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
14:18:13| Info| CrmSqlDomainValidator linking to help topic: html/2b0bbb6b-753d-41c7-b958-b9c5042e05b4.htm
14:18:13| Info| SqlServerAgentValidator linking to help topic: html/84cc701b-1157-4139-9813-d575401665b7.htm
14:18:13| Info| SqlInstanceNameValidator linking to help topic: html/6d200486-7216-491f-bb84-bedda2ee5aa9.htm
14:18:13| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:13| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:13| Info| SqlCollationValidator linking to help topic: html/63057338-b2a1-4acb-9413-11975281472b.htm
14:18:13| Info| WordBreakerValidator linking to help topic: html/0ff70af7-ac3e-4dd9-a870-feaae03199c0.htm
14:18:13| Info| FullTextInstalledValidator linking to help topic: html/765e9c0e-3045-4d28-bc73-a3b9e58db3d4.htm
14:18:13| Info| FullTextRunningValidator linking to help topic: html/dcd7bf41-86d8-4055-88d8-7e1cdebf3547.htm
14:18:13| Info| CrmDatabaseFilesValidator linking to help topic: html/f993580a-ef2f-4bb1-8da4-d9414ac2ec29.htm
14:18:13| Info| CrmSqlDomainValidator linking to help topic: html/2b0bbb6b-753d-41c7-b958-b9c5042e05b4.htm
14:18:13| Info| SqlServerAgentValidator linking to help topic: html/84cc701b-1157-4139-9813-d575401665b7.htm
14:18:13| Info| SqlInstanceNameValidator linking to help topic: html/6d200486-7216-491f-bb84-bedda2ee5aa9.htm
14:18:13| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:13| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:13| Info| SqlCollationValidator linking to help topic: html/63057338-b2a1-4acb-9413-11975281472b.htm
14:18:13| Info| WordBreakerValidator linking to help topic: html/0ff70af7-ac3e-4dd9-a870-feaae03199c0.htm
14:18:14| Info| FullTextInstalledValidator linking to help topic: html/765e9c0e-3045-4d28-bc73-a3b9e58db3d4.htm
14:18:14| Info| FullTextRunningValidator linking to help topic: html/dcd7bf41-86d8-4055-88d8-7e1cdebf3547.htm
14:18:14| Info| OrganizationDatabaseExistsValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
14:18:14| Info| OrganizationDatabaseNotDeployedValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
14:18:14| Info| OrganizationDatabaseVersionValidator linking to help topic: html/4c7e07f9-4b8e-4113-99dd-88b1d8920427.htm
14:18:14| Info| CrmSqlDomainValidator linking to help topic: html/2b0bbb6b-753d-41c7-b958-b9c5042e05b4.htm
14:18:14| Info| SqlServerAgentValidator linking to help topic: html/84cc701b-1157-4139-9813-d575401665b7.htm
14:18:14| Info| SqlInstanceNameValidator linking to help topic: html/6d200486-7216-491f-bb84-bedda2ee5aa9.htm
14:18:14| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:14| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:14| Info| SqlCollationValidator linking to help topic: html/63057338-b2a1-4acb-9413-11975281472b.htm
14:18:14| Info| WordBreakerValidator linking to help topic: html/0ff70af7-ac3e-4dd9-a870-feaae03199c0.htm
14:18:14| Info| FullTextInstalledValidator linking to help topic: html/765e9c0e-3045-4d28-bc73-a3b9e58db3d4.htm
14:18:14| Info| FullTextRunningValidator linking to help topic: html/dcd7bf41-86d8-4055-88d8-7e1cdebf3547.htm
14:18:14| Info| OrganizationDatabaseExistsValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
14:18:14| Info| CrmSqlDomainValidator linking to help topic: html/2b0bbb6b-753d-41c7-b958-b9c5042e05b4.htm
14:18:14| Info| SqlServerAgentValidator linking to help topic: html/84cc701b-1157-4139-9813-d575401665b7.htm
14:18:14| Info| SqlInstanceNameValidator linking to help topic: html/6d200486-7216-491f-bb84-bedda2ee5aa9.htm
14:18:14| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:14| Info| SysAdminValidator linking to help topic: html/ca284e3a-99d6-4cf6-b2e2-a8b176a17e53.htm
14:18:14| Info| SqlCollationValidator linking to help topic: html/63057338-b2a1-4acb-9413-11975281472b.htm
14:18:14| Info| WordBreakerValidator linking to help topic: html/0ff70af7-ac3e-4dd9-a870-feaae03199c0.htm
14:18:14| Info| FullTextInstalledValidator linking to help topic: html/765e9c0e-3045-4d28-bc73-a3b9e58db3d4.htm
14:18:14| Info| FullTextRunningValidator linking to help topic: html/dcd7bf41-86d8-4055-88d8-7e1cdebf3547.htm
14:18:14| Info| OrganizationDatabaseExistsValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
14:18:14| Info| OrganizationIsInUpgradeableStateValidator linking to help topic: html/e633cad0-3cfd-4327-85dd-25859c47b802.htm
14:18:14| Info| OrganizationVersionIsUpgradeableValidator linking to help topic: html/1831153e-8110-4a68-8d46-3ba5a206231a.htm
14:18:14| Info| ReportingUrlValidator linking to help topic: html/45c877d0-2255-4fd6-b0d5-95c1a558f071.htm
14:18:14| Info| ExistingRSValidator linking to help topic: html/d0ceba1f-b25a-40e7-b0fd-2e439b65bade.htm
14:18:14| Info| SrsExtensionsValidator linking to help topic: html/fc7325d6-deef-47b2-bcdd-2dae1338bc3f.htm
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.PropagateContext
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.BuildFromConfigData
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Clear
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Clear
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.RunAll(False)
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Clear
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolResults.Clear
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Run(False, (null))
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.PropagateContext
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.PropagateContext
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.GroupCollection.Constructor()
14:18:14|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.GathererCollection.Constructor()
14:18:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.GathererCollection.Constructor()
14:18:14|Verbose| Built gatherer and sniffer collections.
14:18:14|Verbose| Cleanup completed.
14:18:14|Verbose| Calling sniffer collect.
14:18:14|Verbose| Collection ran.
14:18:14|Verbose| Collection completed.
14:18:14|Verbose| Gatherers ran.
14:18:14|Verbose| Gathering completed.
14:18:14|Verbose| Calling sniffer process.
14:18:14|Verbose| Processing ran.
14:18:14|Verbose| Processing completed.
14:18:14| Info| Group Microsoft SQL Server™
14:18:14| Info| Check CrmSqlDomainValidator: Success
14:18:35| Info| Check SqlServerAgentValidator: Success
14:18:36| Info| Check SqlInstanceNameValidator: Success
14:18:36| Info| Check SysAdminValidator: Success
14:18:36| Info| Check SysAdminValidator: Success
14:18:36| Info| Check SqlCollationValidator: Success
14:18:36| Info| Check WordBreakerValidator: Success
14:18:36| Info| Check FullTextInstalledValidator: Success
14:18:36| Info| Check FullTextRunningValidator: Success
14:18:36| Info| Check OrganizationDatabaseExistsValidator: Success
14:18:36|Verbose| Validation ran.
14:18:36|Verbose| Validation completed.
14:18:36|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Run
14:18:36|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.RunAll
14:18:36|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
14:18:36|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
14:18:41|Verbose| Retrieving database base language code Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=CRMTESTDEV_MSCRM;Integrated Security=True;Connect Timeout=60 ...
14:18:41| Info| Database base language code: 1033.
14:18:41| Info| Installer Start: OrganizationDatabaseHotFixer.Install: operation DatabaseHotFix
14:18:41| Info| Executing Install action: Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
14:18:41|Verbose| Retrieving database base language code Data Source=WKIP-SOSQ-06\CRM_TESTDEV;Initial Catalog=CRMTESTDEV_MSCRM;Integrated Security=True;Connect Timeout=60 ...
14:18:41| Info| Database base language code: 1033.
14:18:41| Info| Applying latest dbUpdates to organization. Id=a1e8795e-3f01-4cd9-be60-286b79edb0be, UniqueName=CRMTESTDEV.
14:19:43| Info| CrmAction execution time; InstallDatabaseUpdatesAction; 00:01:01.5170893
14:19:43| Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
14:19:43| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
InnerException:
System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.SolutionBase' with unique index 'ndx_UniqueName'. The duplicate key value is (SnapshotSolution80).
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSqlCommands(String sql, IDbCommand cmd)
at Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSql(InstallDatabase database, String sql, Int32 timeout, Boolean disablePool)
at Microsoft.Crm.Setup.Database.SqlScriptAction.Execute(DatabaseUtility dbUtility)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
ClientConnectionId:92079bcc-da02-4e64-be85-231a17273aae
Error Number:2601,State:1,Class:14

14:19:43| Info| Setting organization state. New state = Failed
14:19:43| Error| Update Organization with Id=a1e8795e-3f01-4cd9-be60-286b79edb0be failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.SolutionBase' with unique index 'ndx_UniqueName'. The duplicate key value is (SnapshotSolution80).
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSqlCommands(String sql, IDbCommand cmd)
at Microsoft.Crm.Setup.Database.DatabaseUtility.ExecuteSql(InstallDatabase database, String sql, Int32 timeout, Boolean disablePool)
at Microsoft.Crm.Setup.Database.SqlScriptAction.Execute(DatabaseUtility dbUtility)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
at Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer.Execute()
at Microsoft.Crm.Tools.Admin.ApplyDatabaseHotFixInstaller.ApplyDatabaseHotFix(IApplyDatabaseHotFixInfo applyDatabaseHotFixInfo)
14:19:43| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
14:19:43| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0000.0749.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Organisation upgrade 8.0.1.79 failure - SQL Cannot insert

    [quote user="TwitchCRM"]'dbo.SolutionBase' with unique index 'ndx_UniqueName'. The duplicate key value is (SnapshotSolution80)[/quote]

    I had this exact error.  It looks like it is a problem caused by someone trying to re-use a solution snapshot unique name at Microsoft. 

    Here's a rundown of what i had to do to fix the problem:

    1.  Restore Org DB to a CRM server running CRM V8.1.0.359
    2.  Delete Stored Procedure [dbo].[p_RetrieveMultipleDirectAncestors] from the Org DB.
    3.  Apply Update 8.1.0.359 to Org DB
    4.  Backup DB and move it back to CRM server with CRM V8.2.0.749

    Further info: http://kyledoestech.com/updating-crm-2016-to-dynamics-365-fails-with-duplicate-key-error/ 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans