2016-07-12 11 views
0

データ転送中にこのエラーが発生します。私はSSISで新しくなっていますが、もしあなたが助けてくれれば偉大になるでしょう。SSIS - SharepointソースからOLDBへのデータ転送エラー

[OLE DB Destination 1 [2]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. 
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". 

[OLE DB Destination 1 [2]] Error: An error occurred while setting up a binding for the "Comments" column. The binding status was "DT_NTEXT". The data flow column type is "DBBINDSTATUS_UNSUPPORTEDCONVERSION". The conversion from the OLE DB type of "DBTYPE_IUNKNOWN" to the destination column type of "DBTYPE_WVARCHAR" might not be supported by this provider. 

[OLE DB Destination 1 [2]] Error: Cannot create an OLE DB accessor. Verify that the column metadata is valid. 

[SSIS.Pipeline] Error: OLE DB Destination 1 failed the pre-execute phase and returned error code 0xC0202025. 

Task Get Merchant Data failed 
+0

ソース列が何であるかを表示できますか? – Mike

+0

うんSureSELECT [ID] 、[状態] 、[Store_No(LinkTitle)] 、[Merchant_No] 、[コメント] 、[作成] 、[Third_Party_Introduced_Customer] [DBO] FROM [tmp_Merchant GO – Gomes1985

答えて

0

OKエラーの重要な部分が

"Comments" column. The binding status was "DT_NTEXT". The data flow column type is "DBBINDSTATUS_UNSUPPORTEDCONVERSION". The conversion from the OLE DB type of "DBTYPE_IUNKNOWN" to the destination column type of "DBTYPE_WVARCHAR" might not be supported by this provider. 

あるので、だからあなたは(これはUnicodeデータであるので、NTEXT)TEXT列に書き込みをしようとしています。 コメントのソースには、DBTYPE_IUNKNOWNというタイプがあります。これは、NTEXTに変換する方法を知らないため、エラーが発生します。

修正点は、ソース接続を編集し、変換可能なデータ型を宣言することです。現在は未知数に設定されているため、これはまだ行っていないようです。

soce接続を開き、コメント列のデータ型を編集し、適切な結果を選択します。 NTEXTまたはWTEXTの形式である可能性があります。インポート時にNTEXTに変換されます。

+0

ありがとうマイク。私は最初にそれを行う方法を知らなかったが、私はコンバータで遊んだ後、あなたのアドバイスを取って、それは働いた – Gomes1985

+0

素晴らしい。私の答えが彼らを助けたらあなたはそれを受け入れて、あなたの質問に答えがつけられるようにします。それは他の人が同様の問題で検索するのに役立ちます – Mike

関連する問題