December 4, 2013 at 3:52 am
Hi all,
I am currently setting up a SQL Server 2012 environment. In order to retrieve data from legacy systems I need to access mySQL servers.
In a first rough draft I bought a load package, that simply has a data flow task to copy data from one mysql table to a sql server table.
While running it manually in Visual Studio on the MS SQL Server, it works without errors. However, when I deploy the package I get the follwoing error messages:
"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."
...
"Package:Error: An ODBC error -1 has occurred."
...
"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."
I set up the mySQL connection with ODBC Admin 32 Bit as a User DSN (but also tested with system DSN, it does not work with that in the package), when I click Test (either User or System) I get Test Connection Succeeded (64 Bit is not an option with the mySQL servers)
I used those connections in the package. Again, when I run the package from Visual Studio, it works with the User DSN, with System DSN it fails with the same errors.
When I try to run it (USer DSN)in a job, it fails with the above errors. I have set the 32 Bit flag in the Job Step. The job consists of just 1 step to execute the package with one data flow task.
I would appreciate any hints.
Cheers,
Sascha
December 4, 2013 at 4:23 am
Hi, I assume that you are using the same connection also on the server, check the data source username and password, also where have you stored the password for accessing this data source? Check this things...
December 9, 2013 at 5:22 am
sascha.finsch 98465 (12/4/2013)
Hi all,I am currently setting up a SQL Server 2012 environment. In order to retrieve data from legacy systems I need to access mySQL servers.
In a first rough draft I bought a load package, that simply has a data flow task to copy data from one mysql table to a sql server table.
While running it manually in Visual Studio on the MS SQL Server, it works without errors. However, when I deploy the package I get the follwoing error messages:
"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."
...
"Package:Error: An ODBC error -1 has occurred."
...
"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."
I set up the mySQL connection with ODBC Admin 32 Bit as a User DSN (but also tested with system DSN, it does not work with that in the package), when I click Test (either User or System) I get Test Connection Succeeded (64 Bit is not an option with the mySQL servers)
I used those connections in the package. Again, when I run the package from Visual Studio, it works with the User DSN, with System DSN it fails with the same errors.
When I try to run it (USer DSN)in a job, it fails with the above errors. I have set the 32 Bit flag in the Job Step. The job consists of just 1 step to execute the package with one data flow task.
I would appreciate any hints.
Cheers,
Sascha
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply