2016-07-14 10 views
0

Ich bin ziemlich neu in diesem. Ich versuche 355 Zeilen zum Ziel zu übertragenSSIS-OLE DB Quelle zu OLE DB Zielfehler

Ich habe 3 Spalten zu übertragen Customer_Number, Crime_Type, Action_Date.

Wenn ich geschaffen, um die Quelltabelle sind all nvarchar(50)

Zieltabelle ist

[Customer Number] [float] NULL, 
[Crime Type] [nchar](20) NULL, 
[Date Closed] [datetime] NULL 

Ich habe eine andere Tabelle, die das gleiche tun, aber sein läuft völlig in Ordnung

Ich verstehe nicht, warum ich Erhalten Sie diesen Fehler

[OLE DB Destination [2]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid character value for cast specification".
[OLE DB Destination [2]] Error: There was an error with OLE DB Destination.Inputs[OLE DB Destination Input].Columns[Customer_Number] on OLE DB Destination.Inputs[OLE DB Destination Input]. The column status returned was: "The value could not be converted because of a potential loss of data.".

[OLE DB Destination [2]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC0209077 occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (2) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (15). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

Wenn ich verbinde b Quelle und Ziel keine Fehler, aber Laufzeit dieser Fehler passiert.

Wenn jemand

Antwort

1

Da die Nachricht, die Sie schon sagt wäre toll helfen, gibt es ein Casting Problem:

„Ungültige Zeichenwert für Umwandlungsspezifikation“

Meine erste Vermutung wäre, dass Sie haben entweder ungültige Zeichen in Ihrer Customer_Number oder die Zeichenfolge überschreitet den Bereich von FLOAT.

+0

Danke für Ihre Hilfe Ich änderte es von der Quelle zu nvarchar und funktioniert jetzt. – Gomes1985

Verwandte Themen