2017-06-15 86 views
2

私はこれを理解しようと壁に頭を打っています。私は、2つのシートをExcelファイルに接続するための2つの接続マネージャを設定しました。それぞれがSQL DBからシートにデータをエクスポートするために使用されます。昨夜までうまく走っています。今、私はエラーを取得する:パッケージの検証エラー:0xC020801Cは接続を有効にします

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

Package Validation Error (Package Validation Error)

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

Error at Export Approved Projects to Excel [Excel Dest AllData [293]]: SSIS > > Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.

Error at Export Approved Projects to Excel [SSIS.Pipeline]: Excel Dest AllData failed validation and returned error code 0xC020801C.

Error at Export Approved Projects to Excel [SSIS.Pipeline]: One or more component failed validation.

Error at Export Approved Projects to Excel: There were errors during task validation.

Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x8007007E. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x8007007E Description: "The specified module could not be found.".

(Microsoft.DataTransformationServices.VsIntegration)


Program Location:

at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options)

at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchActivePackage(Int32 launchOptions)

at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)

at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)

私はこの答えが見つかりました:Package Validation ErrorFALSERun64Bitsを変更することをおすすめします。私はこれを行い、それでも同じエラーが発生します。

また、接続マネージャのDelayValidationTRUEに更新すると回答がありましたが(リンクは覚えていませんが)、私もこれをして、同じエラーが発生します。

は、その後、私はこの1 The Specified Module could not be found. . .

を見つけました。しかし、それは5歳だし、それがVS2012をアンインストールすることで引き起こされて語ります。私は実際にVS2012を使用してプロジェクトを書いているので、これはそれだとは思わないし、まだ試していない。

他に何か提案がありますか?

UPDATE

示唆したように、私は、DLLを交換し、改善がありません。私はまだ同じエラーが発生します。

答えて

0

Microsoft OLE DB Service Components" Hresult: 0x8007007E Description: "The specified module could not be found.".

あなたは以前にインストールされているが、一部のOffice製品または同様の操作をアンインストールすると、Excelの接続を壊すかもしれないと思われる場合でもMicrosoft Office Database Engineを修復することによってこの問題を解決することがあります。

+0

これはうまくいきました。 – Mike

関連する問題