2014-09-12 171 views
4

當我嘗試運行我的包時,出現以下錯誤。我對ssis很陌生。有什麼建議麼。 Tahnksssis包驗證錯誤ole db源失敗

===================================

包驗證錯誤(包驗證錯誤)

===================================

錯誤在數據流任務[SSIS.Pipeline]:「OLE DB Source」驗證失敗並返回驗證狀態「VS_NEEDSNEWMETADATA」。

數據流任務錯誤[SSIS.Pipeline]:一個或多個組件驗證失敗。

數據流任務錯誤任務驗證期間出現錯誤。

(Microsoft.DataTransformationServices.VsIntegration)


項目地點:

在Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(的Int32標誌,IOutputWindow outputWindow,DataTransformationsProjectConfigurationOptions選項) 在Microsoft.DataTransformationServices .Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions,ProjectItem startupProjItem,DataTransformationsProjectConfigurationOptions選項) 在Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchActivePackage(的Int32 launchOptions) 在Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(的Int32 launchOptions,DataTransformationsProjectConfigurationOptions選項) 在Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(的Int32 launchOptions,DataTransformationsProjectConfigurationOptions選項)

回答

3

VS_NEEDSNEWMETADATA在其中一個任務背後的底層數據發生變化時顯示。最快的解決方案可能只是刪除並重新創建每個拋出錯誤的元素。

0

確保您的連接有效。如果您正在使用動態連接,則嘗試在包或數據流上設置選項「延遲驗證」= true。

0

在我的情況下,目標表結構與OLEDB組件中的matadata不匹配。我添加了我忘記添加的缺失列,之後它被修復了。

+0

這並不提供答案的問題發生。一旦你有足夠的[聲譽](https://stackoverflow.com/help/whats-reputation),你將可以[對任何帖子發表評論](https://stackoverflow.com/help/privileges/comment);相反,[提供不需要提問者澄清的答案](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-c​​an- I-DO-代替)。 - [來自評論](/ review/low-quality-posts/17514111) – 2017-10-03 15:01:13

0

這通常如果出現了一個變化,以您的模式,不強調,你的輸入和輸出只需雙擊它應該自行解決