none
The AcquireConnection method call to the connection manager myDataBase_ODBC failed with error code 0xC0014009.

    Pergunta

  • As a training exercise, I am trying to use ODBC to perform a simple copy of a single table on a SQL 2012 database. I know I could use another connection method but as I say it is a training exercise.

    It is a very simple copy from one table to another with one ODBC source and destination.

    The error I'm getting is:

    SSIS package "c:\users\brendan\documents\visual studio 2010\projects\Integration Services Project1\Integration Services Project1\Package.dtsx" starting.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Error: 0xC0014020 at Package, Connection manager "myDataBase_ODBC": An ODBC error -1 has occurred.
    Error: 0xC0014009 at Package, Connection manager "myDataBase_ODBC": There was an error trying to establish an Open Database Connectivity (ODBC) connection with the database server.
    Error: 0x20F at Data Flow Task, ODBC Destination [2]: The AcquireConnection method call to the connection manager myDataBase_ODBC failed with error code 0xC0014009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error: 0xC0047017 at Data Flow Task, SSIS.Pipeline: ODBC Destination failed validation and returned error code 0x80004005.
    Error: 0xC004700C at Data Flow Task, SSIS.Pipeline: One or more component failed validation.
    Error: 0xC0024107 at Data Flow Task: There were errors during task validation.
    SSIS package "c:\users\brendan\documents\visual studio 2010\projects\Integration Services Project1\Integration Services Project1\Package.dtsx" finished: Failure.


    I tested the connection within the ODBC administrator successfully. With one test, I use the same connection manager for the source and destination, the source works, but the destination fails.

    I've tried it on two different servers, one a brand new clean install and one a trusted server that has been in use for ages with no problems. Each time the source and destination are on the same servers.

    I've tried copying from one database to another.

    I've tried copying within the same database.

    The ODBC connection is 32 bits but everything else is 64bit i.e. Windows Server 2012 and SQL Server 2012. The development environment is Visual Studio 2010 which installs with SQL Server.

    domingo, 24 de fevereiro de 2013 09:54

Respostas

Todas as Respostas