Dependent files for ADODB in Class Library?

J

jason

hello,

i have a C# class library that i recently had to add ADODB
functionality to, in order to support consumer applications that can
only work with recordsets.

i added the ADODB library reference, and implemented recordsets without
a problem, however now my class library dll won't register. when i
attempt to register it with COM+, the MMC reports "could not find the
file specified". since this occured right AFTER i added the ADODB
reference to my class library, i assume that it is looking for a
dependent file? if so, what file is it looking for? if not, does anyone
have a clue what might be going on?

thanks for any help,

jason
 
M

Miha Markic [MVP C#]

Hi jason,

When you add a reference to a COM library, the vs.net creates a managed
wrapper assembly for you (which in turn references COM library).
Is your adodb wrapper located in the same folder as your library when you
try to register it?
 

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