473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Oracle DAAB and AttachParameters problem with .Net 1.1

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

-----

Thanks

Rick
Jul 19 '05 #1
1 2939
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
-----Original Message-----
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 amreposting the issue in hopes that someone has already found thesolution.

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

-----

Thanks

Rick
.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: siva | last post by:
Hi, I saw your post on oracleParameterCollection Bug in MSDN news groups reg: OracleParameterCollection and OracleCommand bug.
1
by: Rick | last post by:
I'm having problems with EnterpriseServices transactions running against Oracle 9iR2. I am inconsistently getting Oracle ORA-24761: Transaction Rolled Back results mid-transaction. If I start...
1
by: Rick | last post by:
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...
1
by: Özgür Aytekin | last post by:
Hello NG Is DAAB 3.1 the offical replacement of Microsoft Data Access Application Block 2.0? DAAB 3.1 download:...
3
by: veera sekhar kota | last post by:
hi, im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
0
by: veera sekhar kota | last post by:
im seriously looking for right answer .... We are developing windows application in c#. I implemented DAAB(Data Access Application Block) 2.0 in our application. One of the senior asked me to...
7
by: Alec MacLean | last post by:
Hi all, I'm trying to deploy an ASP.NET (1.1) app to our production webserver, but having problems with the DAAB (from Ent Lib June 2005). As you might guess, it works just fine and dandy on my...
8
by: Alec MacLean | last post by:
Hi, I'm using the DAAB Ent Lib (Jan 2006) for .NET 2.0, with VS 2005 Pro. My project is a Web app project (using the WAP add in). Background: I'm creating a survey system for our company, for...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.