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

Re: IBM OleDb for db2 on Win server 2003 gives error.. by Miha

Miha
Fri Dec 05 03:35:53 CST 2003

Hi JIK,

As first step, did you try creating an UDL file, setting the connection
params and click on Test Connection?

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"JIK" <jon.ivar@kleveland.net> wrote in message
news:%23wG8KDvuDHA.2368@TK2MSFTNGP09.phx.gbl...
> 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
>
>



Re: IBM OleDb for db2 on Win server 2003 gives error.. by JIK

JIK
Fri Dec 05 03:52:07 CST 2003


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...




"Miha Markic" <miha at rthand com> skrev i melding
news:uEmTuMxuDHA.2456@TK2MSFTNGP12.phx.gbl...
> Hi JIK,
>
> As first step, did you try creating an UDL file, setting the connection
> params and click on Test Connection?
>
> --
> Miha Markic - RightHand .NET consulting & software development
> miha at rthand com
>
> "JIK" <jon.ivar@kleveland.net> wrote in message
> news:%23wG8KDvuDHA.2368@TK2MSFTNGP09.phx.gbl...
> > 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
> >
> >
>
>