2017-08-24 123 views
0

ループ内で同じ接続を使用できない理由私を手伝ってくれますか?私はすべてのステップを説明します。SSISエラーコードDTS_E_OLEDBERROR。 OLE DBエラーが発生しました。エラーコード:0x80040E14

  1. "ブランド別ゲット" ブロック(SQLタスクを実行):

    ステップは以下の通りである私は、ブランドのデータを照会、出力 はオブジェクトです。たとえば、出力は「AAA」、「BBB」です。次のループ のループは2回実行されます。

  2. "Foreach Loop by All Brand"ブロック:ループの最初のラウンドが渡されます。 2回目のループは実行されません。 "Gen Header file" ブロック(データフロータスク)が最初のラウンドから変更されていなくても、Connectionと はすべて第1ラウンドと同じです。 Second round of loop is error

    「ジェンヘッダファイル」ブロック(データフロータスク)の詳細:

ループの2回目のエラーである「ゲンヘッダファイル」ブロックの詳細 The detail of "Gen Header file" block(Data Flow Task)

(データフロータスク)、変数名ユーザー:: SQL_P_SCRIPTも最初のラウンドから変更されていません。 The detail of "Gen Header file" block(Data Flow Task)

エラーメッセージは次のとおりです。

Information: 0x4004300A at Gen Header file, DTS.Pipeline: Validation phase is beginning. 
Error: 0xC0202009 at Gen Header file, OLE DB Source revise [12072]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14. 
An OLE DB record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80040E37 Description: "ORA-00942: table or view does not exist 
". 
Error: 0xC004706B at Gen Header file, DTS.Pipeline: "component "OLE DB Source revise" (12072)" failed validation and returned validation status "VS_ISBROKEN". 
Error: 0xC004700C at Gen Header file, DTS.Pipeline: One or more component failed validation. 
Error: 0xC0024107 at Gen Header file: There were errors during task validation. 
Warning: 0x80019002 at Foreach Loop by All Brand: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (5) 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 RP_PROD_SpareServer102002211: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (5) 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 "RPInStaySurvey.dtsx" finished: Failure. 

答えて

0

ループで同じ接続を何度も使用しているので、したがって、接続名 "RetainSameConnection"のプロパティをTrue(デフォルトはFalse)に設定しました。問題は解決された。

関連する問題