IBM OleDb for db2 on Win server 2003 gives error..

  • Thread starter Thread starter JIK
  • Start date Start date
J

JIK

I've tried to install IBMs OleDb for db2 on iSeries (Client Access) on both
Web Edition and Standard Edition. When I try to instantiate from an asp.net
app I get the error message:
*********
Non-NULL controlling IUnknown was specified, and either the requested
interface was not IUnknown, or the provider does not support COM
aggregation.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Non-NULL controlling
IUnknown was specified, and either the requested interface was not IUnknown,
or the provider does not support COM aggregation.
********

Whats this?
Any way to make it work?



Jon
 
Hi JIK,

As first step, did you try creating an UDL file, setting the connection
params and click on Test Connection?
 
In this app I use OleDb, and the connection string works fine on a Win2k
server.

When I use ODBC connection it works sometimes...Usually the first time I
try after a server restart. But after that it gives error message. When
setting up a IBM db2 odbc connection You don't have any test connection
possibilities...
 
Back
Top