Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics CRM ??DB?????????

Posted on by Microsoft Employee

Dynamcis CRM 2016(8.2.0.749)の組織DBを、Dynamics CRM 2016(8.2.2.1510)にインポートした。

組織DBの更新を実行したとき、下記のエラーが発生し組織DBの更新に失敗します。

回避方法について情報提供いただけないでしょうか。

10:56:40|Verbose| Validation ran.
10:56:40|Verbose| Validation completed.
10:56:40|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Run
10:56:40|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.RunAll
10:56:40|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
10:56:40|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWToolCallbacks.Clear
10:56:49|Verbose| Retrieving database base language code Provider=SQLOLEDB;Data Source=T10022231DMZ04;Initial Catalog=IKOTLT_MSCRM;Integrated Security=SSPI ...
10:56:49|   Info| Database base language code: 1041.
10:56:49|   Info| Installer Start: OrganizationDatabaseHotFixer.Install: operation DatabaseHotFix
10:56:49|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
10:56:49|Verbose| Retrieving database base language code Provider=SQLOLEDB;Data Source=T10022231DMZ04;Initial Catalog=IKOTLT_MSCRM;Integrated Security=SSPI ...
10:56:49|   Info| Database base language code: 1041.
10:56:49|   Info| Applying latest dbUpdates to organization.  Id=22c4f01f-353e-e811-80e0-0050560d0395, UniqueName=IKOTLT.
10:58:52|   Info| CrmAction execution time; InstallDatabaseUpdatesAction; 00:02:03.8023701
10:58:52|  Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
10:58:52|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
InnerException:
System.Reflection.TargetInvocationException: 呼び出しのターゲットが例外をスローしました。 ---> Microsoft.Crm.CrmException: Exception while executing the query:select  COUNT(*)  from LocalizedLabelView x where (x.LabelTypeCode <> 2 or x.ObjectId in (select AttributePicklistValueId from AttributePicklistValueView)) ---> System.Data.SqlClient.SqlException: 実行タイムアウトの期限が切れました。操作完了前にタイムアウト期間が過ぎたか、サーバーが応答していません。 ---> System.ComponentModel.Win32Exception: 待ち操作がタイムアウトになりました。
   --- 内部例外スタック トレースの終わり ---
   場所 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   場所 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   場所 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   場所 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   場所 System.Data.SqlClient.SqlDataReader.get_MetaData()
   場所 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   場所 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Boolean capturePerfTrace, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.ExecuteReader(IDbCommand command)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
   --- 内部例外スタック トレースの終わり ---
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteQuery(IDbCommand command, IDbTransaction transaction, Guid organizationId)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.IdentifyCollectionsCount(CrmDbConnection connection, IDbTransaction transaction, List`1 fillProperties, CounterList counter)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.BuildMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, IDbTransaction transaction, CounterList counter, BuildTableFillPropertiesTemplate buildTableFillProperties)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.BuildMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, IDbTransaction transaction, CounterList counter)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.<>c__DisplayClass1.<LoadMetadataContainerFromDatabase>b__0(CrmDbConnection sqlConn, IDbTransaction sqlTrans)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, BuildMetadataContainerFromDatabaseTemplate buildMetadataContainerFromDatabase, Nullable`1 optionalVersionNumberToFilterResults)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, Nullable`1 optionalVersionNumberToFilterResults)
   場所 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.PerThreadMetadataCacheManager.GetMetadataCache(IOrganizationContext context, Boolean& isPerThreadCachingRequired)
   場所 Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
   場所 Microsoft.Crm.BusinessEntities.BusinessEntity.get_Metadata()
   場所 Microsoft.Crm.BusinessEntities.BusinessEntity.ValidateForRead(String attributeName)
   場所 Microsoft.Crm.BusinessEntities.BusinessEntityCollection.Contains(Guid primaryKeyGuid)
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportComplexControlHandler.ImportItem()
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.Import()
   場所 Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessNonMetadataHandlers(CounterList listCounters)
   場所 Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport()
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(Boolean withSolutionManifest)
   場所 Microsoft.Crm.SE.DllMethodActions.ImportSystemSolution.Execute(String targetVersion)
   --- 内部例外スタック トレースの終わり ---
   場所 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   場所 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   場所 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   場所 System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   場所 Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
   場所 Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
   場所 Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
   場所 Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
   場所 Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
   場所 Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
   場所 Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
   場所 Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
   場所 Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
Microsoft.Crm.CrmException: Exception while executing the query:select  COUNT(*)  from LocalizedLabelView x where (x.LabelTypeCode <> 2 or x.ObjectId in (select AttributePicklistValueId from AttributePicklistValueView)) ---> System.Data.SqlClient.SqlException: 実行タイムアウトの期限が切れました。操作完了前にタイムアウト期間が過ぎたか、サーバーが応答していません。 ---> System.ComponentModel.Win32Exception: 待ち操作がタイムアウトになりました。
   --- 内部例外スタック トレースの終わり ---
   場所 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   場所 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   場所 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   場所 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   場所 System.Data.SqlClient.SqlDataReader.get_MetaData()
   場所 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   場所 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Boolean capturePerfTrace, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.ExecuteReader(IDbCommand command)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
   --- 内部例外スタック トレースの終わり ---
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteQuery(IDbCommand command, IDbTransaction transaction, Guid organizationId)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.IdentifyCollectionsCount(CrmDbConnection connection, IDbTransaction transaction, List`1 fillProperties, CounterList counter)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.BuildMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, IDbTransaction transaction, CounterList counter, BuildTableFillPropertiesTemplate buildTableFillProperties)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.BuildMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, IDbTransaction transaction, CounterList counter)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.<>c__DisplayClass1.<LoadMetadataContainerFromDatabase>b__0(CrmDbConnection sqlConn, IDbTransaction sqlTrans)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, BuildMetadataContainerFromDatabaseTemplate buildMetadataContainerFromDatabase, Nullable`1 optionalVersionNumberToFilterResults)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, Nullable`1 optionalVersionNumberToFilterResults)
   場所 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.PerThreadMetadataCacheManager.GetMetadataCache(IOrganizationContext context, Boolean& isPerThreadCachingRequired)
   場所 Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
   場所 Microsoft.Crm.BusinessEntities.BusinessEntity.get_Metadata()
   場所 Microsoft.Crm.BusinessEntities.BusinessEntity.ValidateForRead(String attributeName)
   場所 Microsoft.Crm.BusinessEntities.BusinessEntityCollection.Contains(Guid primaryKeyGuid)
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportComplexControlHandler.ImportItem()
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.Import()
   場所 Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessNonMetadataHandlers(CounterList listCounters)
   場所 Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport()
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(Boolean withSolutionManifest)
   場所 Microsoft.Crm.SE.DllMethodActions.ImportSystemSolution.Execute(String targetVersion)
InnerException:
System.Data.SqlClient.SqlException (0x80131904): 実行タイムアウトの期限が切れました。操作完了前にタイムアウト期間が過ぎたか、サーバーが応答していません。 ---> System.ComponentModel.Win32Exception (0x80004005): 待ち操作がタイムアウトになりました。
   場所 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   場所 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   場所 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   場所 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   場所 System.Data.SqlClient.SqlDataReader.get_MetaData()
   場所 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   場所 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Boolean capturePerfTrace, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.ExecuteReader(IDbCommand command)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
ClientConnectionId:60bd9194-890d-4064-99b7-b8b493f5cfef
Error Number: -2、State: 0、Class: 11
InnerException:
System.ComponentModel.Win32Exception (0x80004005): 待ち操作がタイムアウトになりました。

10:58:52|   Info| Setting organization state.  New state = Failed
10:58:53|  Error| ID=22c4f01f-353e-e811-80e0-0050560d0395 の組織の更新が次の例外で失敗しました:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> System.Reflection.TargetInvocationException: 呼び出しのターゲットが例外をスローしました。 ---> Microsoft.Crm.CrmException: Exception while executing the query:select  COUNT(*)  from LocalizedLabelView x where (x.LabelTypeCode <> 2 or x.ObjectId in (select AttributePicklistValueId from AttributePicklistValueView)) ---> System.Data.SqlClient.SqlException: 実行タイムアウトの期限が切れました。操作完了前にタイムアウト期間が過ぎたか、サーバーが応答していません。 ---> System.ComponentModel.Win32Exception: 待ち操作がタイムアウトになりました。
   --- 内部例外スタック トレースの終わり ---
   場所 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   場所 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   場所 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   場所 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   場所 System.Data.SqlClient.SqlDataReader.get_MetaData()
   場所 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   場所 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   場所 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Boolean capturePerfTrace, Boolean isReader)
   場所 Microsoft.Crm.CrmDbConnection.ExecuteReader(IDbCommand command)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
   --- 内部例外スタック トレースの終わり ---
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteCommand(IDbCommand command, IDbTransaction transaction, Guid organizationId, ExecuteCommandTemplate executeCommand)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.ExecuteQuery(IDbCommand command, IDbTransaction transaction, Guid organizationId)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.IdentifyCollectionsCount(CrmDbConnection connection, IDbTransaction transaction, List`1 fillProperties, CounterList counter)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.BuildMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, IDbTransaction transaction, CounterList counter, BuildTableFillPropertiesTemplate buildTableFillProperties)
   場所 Microsoft.Crm.Metadata.NonSharableMetadataCacheLoader.BuildMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, IDbTransaction transaction, CounterList counter)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.<>c__DisplayClass1.<LoadMetadataContainerFromDatabase>b__0(CrmDbConnection sqlConn, IDbTransaction sqlTrans)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, BuildMetadataContainerFromDatabaseTemplate buildMetadataContainerFromDatabase, Nullable`1 optionalVersionNumberToFilterResults)
   場所 Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, CounterList counter, Nullable`1 optionalVersionNumberToFilterResults)
   場所 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.PerThreadMetadataCacheManager.GetMetadataCache(IOrganizationContext context, Boolean& isPerThreadCachingRequired)
   場所 Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
   場所 Microsoft.Crm.BusinessEntities.BusinessEntity.get_Metadata()
   場所 Microsoft.Crm.BusinessEntities.BusinessEntity.ValidateForRead(String attributeName)
   場所 Microsoft.Crm.BusinessEntities.BusinessEntityCollection.Contains(Guid primaryKeyGuid)
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportComplexControlHandler.ImportItem()
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.Import()
   場所 Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessNonMetadataHandlers(CounterList listCounters)
   場所 Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport()
   場所 Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(Boolean withSolutionManifest)
   場所 Microsoft.Crm.SE.DllMethodActions.ImportSystemSolution.Execute(String targetVersion)
   --- 内部例外スタック トレースの終わり ---
   場所 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   場所 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   場所 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   場所 System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   場所 Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
   場所 Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
   場所 Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
   場所 Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
   場所 Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
   場所 Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
   場所 Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
   場所 Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
   場所 Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
   --- 内部例外スタック トレースの終わり ---
   場所 Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
   場所 Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
   場所 Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
   場所 Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
   場所 Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer.Execute()
   場所 Microsoft.Crm.Tools.Admin.ApplyDatabaseHotFixInstaller.ApplyDatabaseHotFix(IApplyDatabaseHotFixInfo applyDatabaseHotFixInfo)
10:58:53|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
10:58:53|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0002.1510.


*This post is locked for comments

  • Mike Wan Profile Picture
    Mike Wan 190 on at
    RE: Dynamics CRM 組織DBの更新で失敗する。

    Have you resolved this problem? Any solution?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM 組織DBの更新で失敗する。

    Skyfutureさん

    情報提供ありがとうございました。

    紹介いただいた資料に記載されているタイムアウトの制限値を増やしてみたのですが、現象変わりませんでした。

    ログの中を見ると、組織DBへの接続文字列の中のtimeout値が60となっていたので、Oragnizationテーブルの接続文字列を変更してタイムアウト時間を3600に変更してみたのですが、同じエラーが発生しました。

    SRを発行してMSに対応をお願いしてみます。

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics CRM 組織DBの更新で失敗する。

    こんにちは。

    ログから推測ですが、おそらくソリューションの差分の適用中タイムアウト発生したようです。タイムアウト制限値などを増やして試していかがですか。以下は参考資料となります。support.microsoft.com/.../a-time-out-occurs-when-you-import-large-customization-files-into-micro

  • PranavShroti Profile Picture
    PranavShroti 4,510 on at
    RE: Dynamics CRM 組織DBの更新で失敗する。

    Its not clear what exactly you are looking for ? Can you frame your question?

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans