KB3136205 - 修正:當您在 SQL Server 中匯出 Data Quality Services 網域的清理結果時「無法建立新資料表」錯誤

套用到
SQL Server 2012 Business Intelligence SQL Server 2014 Developer - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use) SQL Server 2014 Standard - duplicate (do not use) SQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use)

症狀

您在 Data Quality Services (DQS) 專案的 網域屬性 中設定了至少包含一個 null 值的十進位資料類型。 當您將清理結果匯出至 Microsoft SQL Server 資料庫時,您會收到類似下列的錯誤訊息:

注意

訊息識別碼: ExportFailedToCreateNewTable

無法在資料庫database_name中建立新的資料表table_name。 檢查資料表是否已存在,並請資料庫系統管理員確認 DQS 服務在目的地資料庫中具有 CREATE TABLE 權限,並可以 INSERT 至目的地資料表。

Microsoft.Ssdqs.Infra.Exceptions.EntryPointException: 無法在資料庫 'Test' 中建立新資料表 'MyTable'。 檢查資料表是否已存在,並請資料庫系統管理員確認 DQS 服務在目的地資料庫中具有 CREATE TABLE 權限,並可以 INSERT 至目的地資料表。
   位於 Microsoft.Ssdqs.Proxy.Database.DBAccessClient.Exec ()
   位於 Microsoft.Ssdqs.Proxy.EntryPoint.InteractiveCleansingEntryPointClient.RecordsExport (RepositoryMetadata repositoryMetadata, ReadOnlyCollection'1 filterCriteriaList, Boolean standardizeOutput, Boolean isExportRecordStatus)
   位於 Microsoft.Ssdqs.Studio.ViewModels.Data.TermCorrections.TermCorrectionProvider.ExportFields (RepositoryMetadata repositoryMetadata, IEnumerable'1 exportedFields, Boolean standardizeOutput, Boolean isExportRecordStatus)
   位於 Microsoft.Ssdqs.Studio.ViewModels.ViewModels.DQProject.CorrectionDatabaseDestinationViewModel.ExportFields (Int64 dataSourceMappingId, IEnumerable'1 exportedFields, KnowledgebaseProject knowledgebaseProject, Boolean standardizeOutput, Boolean isExportRecordStatus)
   位於 Microsoft.Ssdqs.Studio.ViewModels.ViewModels.DQProject.MergeViewModel.ExportFieldsExecute (Object obj)
   位於 Microsoft.Ssdqs.Studio.ViewModels.Utilities.UICommand.Execute (Object 參數)
   位於 Microsoft.Ssdqs.Studio.Views.Pages.DQProject.MergeView.InteractiveCleansingExport (Object sender, ExecutedRoutedEventArgs e)
   位於 System.Windows.Input.CommandBinding.OnExecuted (Object sender, ExecutedRoutedEventArgs e)
   位於 System.Windows.Input.CommandManager.ExecuteCommandBinding (物件傳送者, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   位於 System.Windows.Input.CommandManager.FindCommandBinding (CommandBindingCollection commandBindings、物件傳送者、RoutedEventArgs e、ICommand 命令、布林值執行)
   位於 System.Windows.Input.CommandManager.FindCommandBinding (物件傳送者、RoutedEventArgs e、ICommand 命令、布林值執行)
   位於 System.Windows.Input.CommandManager.OnExecuted (Object sender, ExecutedRoutedEventArgs e)
   位於 System.Windows.UIElement.OnExecutedThunk (Object sender, ExecutedRoutedEventArgs e)
   位於 System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler (委派 genericHandler、物件目標)
   位於 System.Windows.RoutedEventArgs.InvokeHandler (委派處理常式,物件目標)
   位於 System.Windows.RoutedEventHandlerInfo.InvokeHandler (物件目標, RoutedEventArgs routedEventArgs)
   位於 System.Windows.EventRoute.InvokeHandlersImpl (物件來源、RoutedEventArgs 引數、布林值 reRaised)
   位於 System.Windows.UIElement.RaiseEventImpl (DependencyObject 寄件者, RoutedEventArgs 引數)
   位於 System.Windows.UIElement.RaiseEvent (RoutedEventArgs args, 布林值信任)
   位於 System.Windows.Input.RoutedCommand.ExecuteImpl (Object 參數、IInputElement target、Boolean userInitiated)
   位於 System.Windows.Input.RoutedCommand.ExecuteCore (Object 參數、IInputElement target、Boolean userInitiated)
   在密西西比州。Internal.Commands.CommandHelpers.CriticalExecuteCommandSource (ICommandSource commandSource, 布林值 userInitiated)
   位於 System.Windows.Controls.Primitives.ButtonBase.OnClick ()
   位於 System.Windows.Controls.Button.OnClick ()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp (MouseButtonEventArgs e)
   位於 System.Windows.UIElement.OnMouseLeftButtonUpThunk (Object sender, MouseButtonEventArgs e)
   位於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (委派 genericHandler,物件 genericTarget)
   位於 System.Windows.RoutedEventArgs.InvokeHandler (委派處理常式,物件目標)
   位於 System.Windows.RoutedEventHandlerInfo.InvokeHandler (物件目標, RoutedEventArgs routedEventArgs)
   位於 System.Windows.EventRoute.InvokeHandlersImpl (物件來源、RoutedEventArgs 引數、布林值 reRaised)
   位於 System.Windows.UIElement.ReRaiseEventAs (DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   位於 System.Windows.UIElement.OnMouseUpThunk (Object sender, MouseButtonEventArgs e)
   位於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler (委派 genericHandler,物件 genericTarget)
   位於 System.Windows.RoutedEventArgs.InvokeHandler (委派處理常式,物件目標)
   位於 System.Windows.RoutedEventHandlerInfo.InvokeHandler (物件目標, RoutedEventArgs routedEventArgs)
   位於 System.Windows.EventRoute.InvokeHandlersImpl (物件來源、RoutedEventArgs 引數、布林值 reRaised)
   位於 System.Windows.UIElement.RaiseEventImpl (DependencyObject 寄件者, RoutedEventArgs 引數)

      

解決方式

累積更新資訊

此問題已在下列更新中修正:

          

建議:安裝最新的 SQL Server 累積更新

SQL Server 的每個新累積更新都包含所有 Hotfix 和先前累積更新的所有安全性修正程式。 查看 SQL Server 的最新累積更新:

      

狀態

Microsoft 已確認這是「適用對象」一節中列出的 Microsoft 產品中的問題。

參考資料

了解 Microsoft 用來說明軟體更新的術語。