User Machine does not have ADODB components

G

Guest

I wrote a smal app that I am deploying to a user's machine. When I copy the
..EXE into that machine, and try to run it (.net 1.1 is installed on the
machine), and I get an ADODB error "File or Assembly name ADODB, or one of
its dependencies, was not found"

I installed MDAC 2.6 in the user's machine, still get same error.

What do I need to do to alleviate this error? I use adodb as a reference in
my app, it converts data from one Access schema to a second Access schema, so
I need ADODB to make connections to the db's and manipulate the recordsets.

Thanks for any help.
 
M

Miha Markic [MVP C#]

vs.net creates a wrapper assembly for com libraries like adodb.
Did you copy that wrapper assembly along your exe?
 
G

Guest

I copied to exe and the pdb files. Where is this "wrapper" file? What will
it be called? In VB6 there was a deployment wizard that allowed me to define
what I wanted shipped with my products, I can't find anything like that in
VS.NET 2003.

Please help.

JC

Miha Markic said:
vs.net creates a wrapper assembly for com libraries like adodb.
Did you copy that wrapper assembly along your exe?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
SLODUG - Slovene Developer Users Group www.codezone-si.info

JC said:
I wrote a smal app that I am deploying to a user's machine. When I copy
the
.EXE into that machine, and try to run it (.net 1.1 is installed on the
machine), and I get an ADODB error "File or Assembly name ADODB, or one of
its dependencies, was not found"

I installed MDAC 2.6 in the user's machine, still get same error.

What do I need to do to alleviate this error? I use adodb as a reference
in
my app, it converts data from one Access schema to a second Access schema,
so
I need ADODB to make connections to the db's and manipulate the
recordsets.

Thanks for any help.
 
M

Miha Markic [MVP C#]

Hi John,

You'll find this assembly next to your exe in your development machine (you
have to open references, find adodb and set its Copy Local property to true)
and it is called adodb.dll.
If you want to deploy applications you should take a look at Installation
Project (look in the help files, there is a tutorial also).

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
SLODUG - Slovene Developer Users Group www.codezone-si.info

John Crockett said:
I copied to exe and the pdb files. Where is this "wrapper" file? What
will
it be called? In VB6 there was a deployment wizard that allowed me to
define
what I wanted shipped with my products, I can't find anything like that in
VS.NET 2003.

Please help.

JC

Miha Markic said:
vs.net creates a wrapper assembly for com libraries like adodb.
Did you copy that wrapper assembly along your exe?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
SLODUG - Slovene Developer Users Group www.codezone-si.info

JC said:
I wrote a smal app that I am deploying to a user's machine. When I copy
the
.EXE into that machine, and try to run it (.net 1.1 is installed on the
machine), and I get an ADODB error "File or Assembly name ADODB, or one
of
its dependencies, was not found"

I installed MDAC 2.6 in the user's machine, still get same error.

What do I need to do to alleviate this error? I use adodb as a
reference
in
my app, it converts data from one Access schema to a second Access
schema,
so
I need ADODB to make connections to the db's and manipulate the
recordsets.

Thanks for any help.
 

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