473,394 Members | 1,658 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,394 software developers and data experts.

ADODB custom wrapper

We have a VB.NET project with a reference to ADO 2.5

When I open it on my machine, I get the following build error: "The
referenced component 'ADODB' has an updated custom wrapper available."

When I double click on it, I get the following dialog appear:

If I click 'No', for every object declared from the ADODB library, I get a
build error as follows: "Reference required to assembly 'ADODB' containing
the type 'ADODB.Connection'. Add one to your project."

If I click 'Yes', everything is fine on my machine but not on everyone elses
machine. They get build errors telling them that the wrapper needs to be
defined. The only way to get it to work on their machines is for them to
delete the ADODB reference and re add it. Then on my machine, I am back to
square one.

BTW: Our MDAC are running the same version and we don't want to use for now
ADODb .Net since we still have recordsets in our project.

Thanks in advance,
May 6 '06 #1
6 5317
Wonder,

Have you made your deployment package using a deployment project. That
should search for you all the dependencies and put that in the msi package.

I hope this helps,

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:7D**********************************@microsof t.com...
We have a VB.NET project with a reference to ADO 2.5

When I open it on my machine, I get the following build error: "The
referenced component 'ADODB' has an updated custom wrapper available."

When I double click on it, I get the following dialog appear:

If I click 'No', for every object declared from the ADODB library, I get a
build error as follows: "Reference required to assembly 'ADODB' containing
the type 'ADODB.Connection'. Add one to your project."

If I click 'Yes', everything is fine on my machine but not on everyone
elses
machine. They get build errors telling them that the wrapper needs to be
defined. The only way to get it to work on their machines is for them to
delete the ADODB reference and re add it. Then on my machine, I am back to
square one.

BTW: Our MDAC are running the same version and we don't want to use for
now
ADODb .Net since we still have recordsets in our project.

Thanks in advance,

May 6 '06 #2

Hi,

I don't get it why I should use the deployment package since we are
developing the app and the error happens when we open Vb.net; ADODB reference
shows up as missing.

The problem happens not when we install the app, but when we developers are
open the project in Vb.net
Thanks in advance.

"Cor Ligthert [MVP]" wrote:
Wonder,

Have you made your deployment package using a deployment project. That
should search for you all the dependencies and put that in the msi package.

I hope this helps,

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:7D**********************************@microsof t.com...
We have a VB.NET project with a reference to ADO 2.5

When I open it on my machine, I get the following build error: "The
referenced component 'ADODB' has an updated custom wrapper available."

When I double click on it, I get the following dialog appear:

If I click 'No', for every object declared from the ADODB library, I get a
build error as follows: "Reference required to assembly 'ADODB' containing
the type 'ADODB.Connection'. Add one to your project."

If I click 'Yes', everything is fine on my machine but not on everyone
elses
machine. They get build errors telling them that the wrapper needs to be
defined. The only way to get it to work on their machines is for them to
delete the ADODB reference and re add it. Then on my machine, I am back to
square one.

BTW: Our MDAC are running the same version and we don't want to use for
now
ADODb .Net since we still have recordsets in our project.

Thanks in advance,


May 6 '06 #3
Wonder,

than how do the developpers use the reference, it should just be a dll in
the section references.

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:03**********************************@microsof t.com...

Hi,

I don't get it why I should use the deployment package since we are
developing the app and the error happens when we open Vb.net; ADODB
reference
shows up as missing.

The problem happens not when we install the app, but when we developers
are
open the project in Vb.net
Thanks in advance.

"Cor Ligthert [MVP]" wrote:
Wonder,

Have you made your deployment package using a deployment project. That
should search for you all the dependencies and put that in the msi
package.

I hope this helps,

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:7D**********************************@microsof t.com...
> We have a VB.NET project with a reference to ADO 2.5
>
> When I open it on my machine, I get the following build error: "The
> referenced component 'ADODB' has an updated custom wrapper available."
>
> When I double click on it, I get the following dialog appear:
>
> If I click 'No', for every object declared from the ADODB library, I
> get a
> build error as follows: "Reference required to assembly 'ADODB'
> containing
> the type 'ADODB.Connection'. Add one to your project."
>
> If I click 'Yes', everything is fine on my machine but not on everyone
> elses
> machine. They get build errors telling them that the wrapper needs to
> be
> defined. The only way to get it to work on their machines is for them
> to
> delete the ADODB reference and re add it. Then on my machine, I am back
> to
> square one.
>
> BTW: Our MDAC are running the same version and we don't want to use for
> now
> ADODb .Net since we still have recordsets in our project.
>
> Thanks in advance,


May 6 '06 #4
The other developer does not have his ADODB 2.5 (Microsoft ActiveX...)
wrapper registered in his GAC (I shows that he has it, everything is the
same, but it shows Interop.Adodb, and on my machine with the same
functionality it shows up ADODB with a strong key name.
I don't know how I could force his computer to have ADODB registered wiith
a strong name, since it is already in the GAC and I can't remove it.


"Cor Ligthert [MVP]" wrote:
Wonder,

than how do the developpers use the reference, it should just be a dll in
the section references.

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:03**********************************@microsof t.com...

Hi,

I don't get it why I should use the deployment package since we are
developing the app and the error happens when we open Vb.net; ADODB
reference
shows up as missing.

The problem happens not when we install the app, but when we developers
are
open the project in Vb.net
Thanks in advance.

"Cor Ligthert [MVP]" wrote:
Wonder,

Have you made your deployment package using a deployment project. That
should search for you all the dependencies and put that in the msi
package.

I hope this helps,

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:7D**********************************@microsof t.com...
> We have a VB.NET project with a reference to ADO 2.5
>
> When I open it on my machine, I get the following build error: "The
> referenced component 'ADODB' has an updated custom wrapper available."
>
> When I double click on it, I get the following dialog appear:
>
> If I click 'No', for every object declared from the ADODB library, I
> get a
> build error as follows: "Reference required to assembly 'ADODB'
> containing
> the type 'ADODB.Connection'. Add one to your project."
>
> If I click 'Yes', everything is fine on my machine but not on everyone
> elses
> machine. They get build errors telling them that the wrapper needs to
> be
> defined. The only way to get it to work on their machines is for them
> to
> delete the ADODB reference and re add it. Then on my machine, I am back
> to
> square one.
>
> BTW: Our MDAC are running the same version and we don't want to use for
> now
> ADODb .Net since we still have recordsets in our project.
>
> Thanks in advance,


May 8 '06 #5
Regasm

http://msdn2.microsoft.com/en-us/library/tzat5yw6.aspx

I hope this helps,

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:26**********************************@microsof t.com...
The other developer does not have his ADODB 2.5 (Microsoft ActiveX...)
wrapper registered in his GAC (I shows that he has it, everything is the
same, but it shows Interop.Adodb, and on my machine with the same
functionality it shows up ADODB with a strong key name.
I don't know how I could force his computer to have ADODB registered wiith
a strong name, since it is already in the GAC and I can't remove it.


"Cor Ligthert [MVP]" wrote:
Wonder,

than how do the developpers use the reference, it should just be a dll in
the section references.

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:03**********************************@microsof t.com...
>
> Hi,
>
> I don't get it why I should use the deployment package since we are
> developing the app and the error happens when we open Vb.net; ADODB
> reference
> shows up as missing.
>
> The problem happens not when we install the app, but when we developers
> are
> open the project in Vb.net
>
>
> Thanks in advance.
>
>
>
> "Cor Ligthert [MVP]" wrote:
>
>> Wonder,
>>
>> Have you made your deployment package using a deployment project. That
>> should search for you all the dependencies and put that in the msi
>> package.
>>
>> I hope this helps,
>>
>> Cor
>>
>> "Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
>> news:7D**********************************@microsof t.com...
>> > We have a VB.NET project with a reference to ADO 2.5
>> >
>> > When I open it on my machine, I get the following build error: "The
>> > referenced component 'ADODB' has an updated custom wrapper
>> > available."
>> >
>> > When I double click on it, I get the following dialog appear:
>> >
>> > If I click 'No', for every object declared from the ADODB library, I
>> > get a
>> > build error as follows: "Reference required to assembly 'ADODB'
>> > containing
>> > the type 'ADODB.Connection'. Add one to your project."
>> >
>> > If I click 'Yes', everything is fine on my machine but not on
>> > everyone
>> > elses
>> > machine. They get build errors telling them that the wrapper needs
>> > to
>> > be
>> > defined. The only way to get it to work on their machines is for
>> > them
>> > to
>> > delete the ADODB reference and re add it. Then on my machine, I am
>> > back
>> > to
>> > square one.
>> >
>> > BTW: Our MDAC are running the same version and we don't want to use
>> > for
>> > now
>> > ADODb .Net since we still have recordsets in our project.
>> >
>> > Thanks in advance,
>>
>>
>>


May 8 '06 #6
That's the problem.

Thank you!
"Cor Ligthert [MVP]" wrote:
Regasm

http://msdn2.microsoft.com/en-us/library/tzat5yw6.aspx

I hope this helps,

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:26**********************************@microsof t.com...
The other developer does not have his ADODB 2.5 (Microsoft ActiveX...)
wrapper registered in his GAC (I shows that he has it, everything is the
same, but it shows Interop.Adodb, and on my machine with the same
functionality it shows up ADODB with a strong key name.
I don't know how I could force his computer to have ADODB registered wiith
a strong name, since it is already in the GAC and I can't remove it.


"Cor Ligthert [MVP]" wrote:
Wonder,

than how do the developpers use the reference, it should just be a dll in
the section references.

Cor

"Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
news:03**********************************@microsof t.com...
>
> Hi,
>
> I don't get it why I should use the deployment package since we are
> developing the app and the error happens when we open Vb.net; ADODB
> reference
> shows up as missing.
>
> The problem happens not when we install the app, but when we developers
> are
> open the project in Vb.net
>
>
> Thanks in advance.
>
>
>
> "Cor Ligthert [MVP]" wrote:
>
>> Wonder,
>>
>> Have you made your deployment package using a deployment project. That
>> should search for you all the dependencies and put that in the msi
>> package.
>>
>> I hope this helps,
>>
>> Cor
>>
>> "Wonder" <Wo****@discussions.microsoft.com> schreef in bericht
>> news:7D**********************************@microsof t.com...
>> > We have a VB.NET project with a reference to ADO 2.5
>> >
>> > When I open it on my machine, I get the following build error: "The
>> > referenced component 'ADODB' has an updated custom wrapper
>> > available."
>> >
>> > When I double click on it, I get the following dialog appear:
>> >
>> > If I click 'No', for every object declared from the ADODB library, I
>> > get a
>> > build error as follows: "Reference required to assembly 'ADODB'
>> > containing
>> > the type 'ADODB.Connection'. Add one to your project."
>> >
>> > If I click 'Yes', everything is fine on my machine but not on
>> > everyone
>> > elses
>> > machine. They get build errors telling them that the wrapper needs
>> > to
>> > be
>> > defined. The only way to get it to work on their machines is for
>> > them
>> > to
>> > delete the ADODB reference and re add it. Then on my machine, I am
>> > back
>> > to
>> > square one.
>> >
>> > BTW: Our MDAC are running the same version and we don't want to use
>> > for
>> > now
>> > ADODb .Net since we still have recordsets in our project.
>> >
>> > Thanks in advance,
>>
>>
>>


May 8 '06 #7

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

Similar topics

4
by: Ian.H | last post by:
Hi all, I've taken on a massive project for a client recently and now I've hit some bug fixes that are required (3rd party code). and was just wondering about peoples opinions / personal...
0
by: microdevsolutions | last post by:
Hello I am using ASP.NET - I have written a Custom Control (to output some information) that has a public property declared. I have a user control that is a wrapper around the above custom...
1
by: jason | last post by:
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...
19
by: Dales | last post by:
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and...
3
by: Dan | last post by:
Hi there ! We are 5 developpers that work on the same project from VSS and vb.net 2003. We need the Adodb 2.5 COM object, to communicate with anothers DLL from another company. My Question...
3
by: Bill Nguyen | last post by:
I suddendly got a ton of errors regarding Interop.ADODB could not be found. Whenever I tried to run the app in development environment, the following errors appeared: The dependency...
9
by: Julien Biezemans | last post by:
Hi! Here is the problem: I'd like to restrict local filesystem stream operations to one directory just like a root jail. fopen('/file.bin') would actually open /some/path/file.bin. One goal...
0
by: Julien Biezemans | last post by:
Hi everyone, I've written a file:// scheme stream wrapper that acts like chroot() (but is more flexible, does not require root privileges and works on any platform). Everything works just fine...
5
by: gerry | last post by:
I am trying to create a custom container control that will only ever contain a specific type of control. At design time, when a control of a different type is added to the container I would like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.