Thursday, June 30, 2011

SSIS to Sybase OLEDB connection error [IM002]. [Native Code: 30136]

Hi, I was getting that nasty error message, although you could test the OLEDB connection from the Sybase “data source configuration” and gets a success notification!!
[Native Code: 30136]
[ASEOLEDB]Data source not found and no default driver specified
I also made sure that the OLEDB connection are there and configured well under 32 BIT and 64BIT, and the Sybase “data source configuration”  gives a success message when I test them.

So I thought the error is relevant to SSIS and it’s permuissions, not the Sybase, I started investigating the service account that SSIS is running under and if it got access to the C:\Sybase\DataAccess64\OLEDB\DataSources

As Sybase ASE 15.5 was installed on my root drive C:\ and I’m using win & 64 BIT.
I'd the same setup and configuration working on a vista 64 bit, but found other posts online about the driver and it is working well on windows 7.
The full error message is:

TITLE: Microsoft Visual Studio

Error at LookupMedFrequency [Connection manager "CareCast"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E19.
An OLE DB record is available.  Source: "ASEOLEDB"  Hresult: 0x80040E19  Description: "[IM002]
[Native Code: 30136]
[ASEOLEDB]Data source not found and no default driver specified".

Error at Data Flow Task [SSISERVisits [5801]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "CareCast" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.


Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
I also couldn’t find much about the error online, all what I found was couple of posts here :

and here:

I even opened a new forum post:

I found out that the 3 connections that I created was created only under “DataAccess64\OLEDB\DataSources\”   and wasn’t created under the “DataAccess\OLEDB\DataSources\”    So I just copied the 3 files and the problem solved!!!

Hope that helps someone one day ...


  1. I have same problem, and solved.
    Thanks a lot!!

  2. Thanks...worked liek a charm !

  3. Thanks and God Bless! I had the same problem and your solution worked like magic!

  4. this is not working for me. I copied the copied on both the folder

  5. Their staff is personable both on the phone and in-person. Everyone has a positive, can-do attitude