SSIS 2008 (SQL 2008 R2) を使用しています。FOREACH ループを使用して、複数の Excel ファイル (100 を超えるファイル) を SQL Server にインポートしようとしています。最初のファイルだけでこれを正常に実行できます。しかし、2 番目のファイルを開始すると、膨大な量のエラーが最後に黒い文字で記述されます。Excel ファイルには複数のシートが付属していますが、各 Excel ファイルのシートが 1 つだけ必要です。シート ラベルにはGSDR_XXXX_FACT$Query_from_WN7X64_XXXXX_XXXX_SG
、各シートの同じ場所が常に付いていData Connection
ます。
編集:私はこれを使用しています [リンク]:ファイルが処理された後、ファイルをアーカイブ フォルダーに移動するにはどうすればよいですか? WHERE INSTEAD OF use CSV 接続を「EXCEL 接続」に置き換えました。Excel接続の式を空のままにします...「接続文字列」、「excelfilepath」、または「サーバー名」を使用しようとすると、DataFlowComponentの「Excelソース」ですべてエラーが発生するためです。 ..
どんなアドバイスでも本当に感謝しています。
[Excel Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
SSIS package "GTO_pull_data_to_table_multiple_excel_A.dtsx" starting.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
Warning: 0x80049304 at Data Flow Task, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console.
Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
Information: 0x402090DF at Data Flow Task, OLE DB Destination [576]: The final commit for the data insertion in "component "OLE DB Destination" (576)" has started.
Information: 0x402090E0 at Data Flow Task, OLE DB Destination [576]: The final commit for the data insertion in "component "OLE DB Destination" (576)" has ended.
Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning.
Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "OLE DB Destination" (576)" wrote 35096 rows.
Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
Information: 0x402090DF at Data Flow Task, OLE DB Destination [576]: The final commit for the data insertion in "component "OLE DB Destination" (576)" has started.
Information: 0x402090E0 at Data Flow Task, OLE DB Destination [576]: The final commit for the data insertion in "component "OLE DB Destination" (576)" has ended.
Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning.
Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "OLE DB Destination" (576)" wrote 35096 rows.
Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
******Error: 0xC0202009 at Data Flow Task, Excel Source [1]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
Error: 0xC02020E8 at Data Flow Task, Excel Source [1]: Opening a rowset for "GSDR_XXXX_FACT$Query_from_WN7X64_XXXXX_XXXX_SG" failed. Check that the object exists in the database.
Error: 0xC004706B at Data Flow Task, SSIS.Pipeline: "component "Excel Source" (1)" failed validation and returned validation status "VS_ISBROKEN".
Error: 0xC004700C at Data Flow Task, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at Data Flow Task: There were errors during task validation.
Warning: 0x80019002 at Foreach Loop Container: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (6) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
Warning: 0x80019002 at GTO_pull_data_to_table_multiple_excel_A: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (6) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package "GTO_pull_data_to_table_multiple_excel_A.dtsx" finished: Failure**.
**----------------------------------------------------------------------------------------**