Oracle DAAB and AttachParameters problem with .Net 1.1

R

Rick

After upgrading to .Net 1.1 and VS.Net 2003 the Oracle DAAB is busted.
There was a previous post with no followup in the last month so I am
reposting the issue in hopes that someone has already found the
solution.

----
Hi,

We have an application that uses the DAAB. In the DAAB
there is a function called AttachParameters, which
basically adds parameters (from an oracle parameters
collection) to an oracleCommand's parameters collection.
This worked well until we upgraded to V1.1 of the
framework... Since then, we started recieving an
exception stating "The OracleParameter with
ParameterName '' is already contained by another
OracleParameterCollection"

So after finding this, I wrote a very small snippit of
code:

OracleParameterCollection opc1 = new
OracleParameterCollection();
OracleParameterCollection opc2 = new
OracleParameterCollection();

OracleParameter p1 = new OracleParameter("PersonName", 1);

opc1.Add(p1);

opc2.Add(p1);

This produces the same exception...

Has anybody else seen this?? Does anybody know a work
around for this???

Any help would be appreciated..
 
S

siva

Hi,



I saw your post on oracleParameterCollection Bug in MSDN
news groups reg: OracleParameterCollection and
OracleCommand bug.



Did you solve that? I am also having the same problem.

Any input is appreciated. Sorry for the Spam.



Thanks

Siva
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top