Integration Service and Oracle 8 whit ODBC connection

  • Integration Service and Oracle 8 whit ODBC connection Work on Integration Service but does not work on Sql Server Agent inside a "Job".

    I need to move some information from Oracle 8 to Sql Server 2008. I dont have the way to connect other way but only "ODBC". For that matter i created a DSN using

    %SystemRoot%\SysWOW64\odbcad32.exe

    Them on the Integration Service package i used

    uid=gai_hseq;pwd=passw012;Dsn=Oracle;

    When i run the packaged inside Integration Server it runs fine.

    But i need to created a Job to Execute everyday. I change the connection on DataSource inside the Step job like this uid=gai_hseq;pwd=passw012;Dsn=Oracle; . But when i execute the job. i got this error

    Source: Incidentes Connection manager "Oracle" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E4D Description: "Login failed for user 'gai_hseq'.". An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E4D Description: "Invalid connection string attribute". End Error

  • Source: Incidentes Connection manager "Oracle" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E4D Description: "Login failed for user 'gai_hseq[/b]'.". An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E4D Description: "Invalid connection string attribute".

    From the error message, the login gai_hseq doesn't exist in SQL Server or the password is wrong.

    The connection manager is named 'Oracle', but it's connecting to SQL server (Microsoft OLE DB Provider for SQL Server). Are you sure the connection string is correct?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • When i run the package inside Integration Service runs fine... I changed the way i connect and now i get this error. (The error it is only when i run the package inside a Job on Sql Server Agent)

    Source: Inserta Horas Hombre Empleados ADO NET Source [337] Description: System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle<c/> RetCode retcode) at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection<c/> OdbcConnectionString constr<c/> OdbcEnvironmentHandle environmentHandle) at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection<c/> OdbcConnectionString connectionOptions) at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options<c/> Object poolGroupProviderInfo<c/> DbConnectionPool pool<c/> DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection<c/> DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)

  • Source: Inserta Horas Hombre Empleados ADO NET Source [337] Description: System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle<c/> RetCode retcode)

    Looks like the DSN you specified doesn't exist or cannot be found due to permissions.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks. I was creating the DSN as user. So the solution was create it as "System DSN". Integration service can run but Service Job is execute whit this user NETWORKSERVICE.

    Thanks.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply