Cannot create an instance of OLE DB provider for linked server

  • Hi all,

    When i log in to my SQL Server Management Studio with windows authentication

    and

    try to run a stored procedure (stored procedure pulls data from a linked server)

    I get this error:

    Cannot create an instance of OLE DB provider for linked server

    provider name is: IBMDADB2

    How can i fix this so that my query will run the Stored procedure and return data?

    Thanks,

    Sach

  • Just thought I would post this much after the fact to get the info out in webspace for when I forget it next time...

    Had the same problem setting up a Linked Server for Informix:

    Cannot create an instance of OLE DB provider "Ifxoledbc" for linked server [...]

    The solution was to follow the advice scattered about out there:

    1. In SQL Server Manager, go to the Provider folder under the Server Objects folder and set the "Allow inprocess" box on the appropriate driver's properties

    2. On the Server machine invoke the Component Services located at the Control Panel/Administrative:

    •Expand Computer Services/Computers/My Computer/DCOM Config.

    •Locate MSDAINITIALIZE and Right-Click on it.

    •Click on the Security Tab.

    •In the "Launch and Activation Permissions" click on "Customize", then click Edit.

    •Add the users or appropriate group and check all permissions (Local Launch, Remote Launch, Local Activation, Remote Activation).

    Good Luck!

  • I experienced the same issue, and the setting above seemed to do the trick.

    THe think I'm curious about is why was it that I would get error messages sporadically, and not consistently as permissions were involved. I was expecting consistent errors in initializing the component MSDAINITIALIZE. It seemed somewhat random however in that sometimes the data would retrieve and sometimes not.

    Does anyone have a good explanation for the randomness?

  • Good stuff. The Providers options did it for me.

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

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