Importing data from Informix to MSSQL2k5 fails
Posted in 2006
Help!
I posted this in the public MS SQL-Forum, but noone answers, perhaps
the problem is at the Informix-Server.
I'm trying to create a simple .dtsx package that imports data to SQL
server 2005 from an informix db using an ADO.net ODBC connection. I'm
using the Informix ODBC Driver 2.90.TC3. The structure of my
SSIS-package is quite simple:
(sqltask:truncate destination table) -> (sqltask:set isolation to dirty
read at source) -> (sqltask: optimization: high at source) -> (data flow
task)
The querys (divided to 3 SQL-Tasks, because the ms-parser doesn't like
querys with more than one ";") are the following:
set optimization high;
set isolation to dirty read;go
select <rows>
as <name>
from <tables>
where <conditions>;
My data source SQL-Query in the dataflow task is simple and it works
great on a Informix test-db where no users are commited on the data.
But when I test the thing on the working environment, the execution of
the package fails, error output as follows (sry, parts of it are in
german):
___________________________________________________________
SSIS package "Package.dtsx" starting.
Information: 0x4004300A at Datenflusstask, DTS.Pipeline: Die Phase
''berpr'fung' beginnt.
Information: 0x4004300A at Datenflusstask, DTS.Pipeline: Die Phase
''berpr'fung' beginnt.
Information: 0x40043006 at Datenflusstask, DTS.Pipeline: Die Phase
'Ausf'hrung vorbereiten' beginnt.
Information: 0x40043007 at Datenflusstask, DTS.Pipeline: Die Phase 'Vor
der Ausf'hrung' beginnt.
Information: 0x402090DC at Datenflusstask, Flatfileziel [10279]: Die
Verarbeitung der Datei 'C:\\temp\\flatfile_KDstat_Kunden.csv wurde
gestartet.
Information: 0x4004300C at Datenflusstask, DTS.Pipeline: Die Phase
'Ausf'hrung' beginnt.
Error: 0xC02090F5 at Datenflusstask, DataReader-Quelle [6976]:
'Komponente 'DataReader-Quelle' (6976)' konnte die Daten nicht
verarbeiten.
Error: 0xC0047038 at Datenflusstask, DTS.Pipeline: Die
PrimeOutput-Methode in 'Komponente 'DataReader-Quelle' (6976)' hat den
Fehlercode 0xC02090F5 zur'ckgegeben. Die Komponente gab einen
Fehlercode zur'ck, als das Pipelinemodul 'PrimeOutput()' aufgerufen
hat. Die Bedeutung des Fehlercodes wird von der Komponente definiert.
Der Fehler ist jedoch schwerwiegend, und die Ausf'hrung der Pipeline
wurde beendet.
Error: 0xC0047021 at Datenflusstask, DTS.Pipeline: Der Thread
'SourceThread0' wurde mit dem Fehlercode 0xC0047038 beendet.
Error: 0xC0047039 at Datenflusstask, DTS.Pipeline: Der Thread
'WorkThread0' hat ein Signal zum Herunterfahren erhalten und wird
beendet. Der Benutzer hat das Herunterfahren angefordert, oder ein
Fehler in einem anderen Thread hat dazu gef'hrt, dass die Pipeline
heruntergefahren wird.
Error: 0xC0047021 at Datenflusstask, DTS.Pipeline: Der Thread
'WorkThread0' wurde mit dem Fehlercode 0xC0047039 beendet.
Information: 0x40043008 at Datenflusstask, DTS.Pipeline: Die Phase
'Nach der Ausf'hrung' beginnt.
Information: 0x402090DD at Datenflusstask, Flatfileziel [10279]: Die
Verarbeitung der Datei 'C:\\temp\\flatfile_KDstat_Kunden.csv wurde
beendet.
Information: 0x40043009 at Datenflusstask, DTS.Pipeline: Die Phase
'Cleanup' beginnt.
Information: 0x4004300B at Datenflusstask, DTS.Pipeline: 'Komponente
'Flatfileziel' (10279)' schrieb 0 Zeilen.
Task failed: Datenflusstask
Warning: 0x80019002 at Package: Die Execution-Methode wurde erfolgreich
ausgef'hrt, aber die Anzahl von ausgel'sten Fehlern (5) hat den maximal
zul'ssigen Wert erreicht (1). Deshalb tritt ein Fehler auf. Dieses
Problem tritt auf, wenn die Anzahl von Fehlern den in
'MaximumErrorCount' angegebenen Wert erreicht. 'ndern Sie den Wert f'r
'MaximumErrorCount', oder beheben Sie die Fehler.
SSIS package "Package.dtsx" finished: Failure.
_____________________________________________________________
error 0xC02090F5 means "DTS_E_DATAREADERSRCUNABLETOPROCESSDATA".
It seems that every SQL-task opens his own connection to the
Informix-db. So I checked the box "retain same connection" at my source
connection manager. However, the result is the same.
Has anyone an idea how to solve that problem?
Thanks in advance!
--
Benedikt Ries
------------------------------------------------------------------------
Benedikt Ries's Profile: http://www.dbtalk.net/m1098
View this thread: http://www.dbtalk.net/t341877