PC Review


Reply
Thread Tools Rate Thread

DLL Hell with ADO (COM) and ADO.Net

 
 
Michael Moreno
Guest
Posts: n/a
 
      25th Jul 2006
Hello,

I am having an absolute nightmare with a DLL Hell linked with ADO.

The application is truly simple:

- A Win32 application sends via MSMQ some ADODB.Recordset (v 2.5)
- A C# app receives the Message and save it to the DB.

Now here is the trick:
- I receive an ADODB.Recordset which uses ADO
- I save to the DB using ADO.Net

When I close the App I get an exception message:

"An unhandled exception of type 'System.InvalidOperationException'
occurred in system.data.dll
Additional information: Handle is not initialized."

which happens when I close the app and I close an ADO.Net connection.
When I mess up big time with the way I create my "interop.dlls" it
works for that app but not for other apps that uses both ADODB and
ADO.Net.

Is anyone using successfully both version of ADO in their app without
problems please? If so what is the trick?

Many thanks,
Michael

--
Michael
----
http://michael.moreno.free.fr/
http://port.cogolin.free.fr/


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Hell Tim Bostonia Windows Vista Hardware 4 11th Feb 2007 07:09 AM
PC hell PCTrouble DIY PC 18 13th Apr 2006 09:31 PM
XP dvd-rom hell! =?Utf-8?B?enVyenU=?= Windows XP Help 0 3rd Apr 2006 11:46 AM
dll hell Angie Windows XP Configuration 2 28th Jul 2004 11:25 PM
Re: pop ups from hell Amethyst Windows XP Messenger 0 3rd Jul 2003 04:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:35 PM.