I'm in the process of upgrading an application originally written in VS 2003 to VS 2008 (Visual Basic). After converting the solution, I'm getting the following error.
The project currently contains references to more than one version of Interop.ADODB, a direct reference to version 2.8.0.0 and an indirect reference (through 'ADOMD.Member.Properties') to version 6.0.0.0. Change the direct reference to use version 6.0.0.0
(or higher) of Interop.ADODB.
I went to project properties -> reference, and I see Interop.ADODB and Interop.ADOMD, but both of them are version 2.8.0.0. How do find the indirect reference to Interop.ADODB version 6.0.0.0 so I can remove it?
In my mind,I think you can just try this: 1. Place copies of the original Interop.ADODB.dll and Interop.ADOMD.dll in an alternative location (out of the project folder). These were sourced from a machine with a working environment. 2. Remove both of the old Microsoft ActiveX Data Objects 2.8 references. 3. Add new references by browsing to the new locations for Interop.ADODB.dll and Interop.ADOMD.dll.
Hello, thank you for the reply. I actually wrote the blog article that you linked to. I decided to write the blog article after I figured out the solution on my own (through trial and error) and couldn't find anything on the web for this particular problem.
I also saw the message posting that gave the solution as you proposed above, unfortunately, that didn't work for me.
jerrydy
Member
3 Points
21 Posts
getting errors on reference conflicts on Interop.ADODB.
May 30, 2012 02:39 AM|LINK
I'm in the process of upgrading an application originally written in VS 2003 to VS 2008 (Visual Basic). After converting the solution, I'm getting the following error.
The project currently contains references to more than one version of Interop.ADODB, a direct reference to version 2.8.0.0 and an indirect reference (through 'ADOMD.Member.Properties') to version 6.0.0.0. Change the direct reference to use version 6.0.0.0 (or higher) of Interop.ADODB.
I went to project properties -> reference, and I see Interop.ADODB and Interop.ADOMD, but both of them are version 2.8.0.0. How do find the indirect reference to Interop.ADODB version 6.0.0.0 so I can remove it?
Any help will be appreciated. Thank you!
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: getting errors on reference conflicts on Interop.ADODB.
Jun 01, 2012 01:37 AM|LINK
Hello:)
In my mind,I think you can just try this:
1. Place copies of the original Interop.ADODB.dll and Interop.ADOMD.dll in an alternative location (out of the project folder). These were sourced from a machine with a working environment.
2. Remove both of the old Microsoft ActiveX Data Objects 2.8 references.
3. Add new references by browsing to the new locations for Interop.ADODB.dll and Interop.ADOMD.dll.
If this doesn't work,plz use this way:http://jerryaspnet.blogspot.com/2012/05/upgrading-data-access-components-for.html
Reguards!
jerrydy
Member
3 Points
21 Posts
Re: getting errors on reference conflicts on Interop.ADODB.
Jun 01, 2012 03:24 AM|LINK
Hello, thank you for the reply. I actually wrote the blog article that you linked to. I decided to write the blog article after I figured out the solution on my own (through trial and error) and couldn't find anything on the web for this particular problem.
I also saw the message posting that gave the solution as you proposed above, unfortunately, that didn't work for me.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: getting errors on reference conflicts on Interop.ADODB.
Jun 01, 2012 04:40 AM|LINK
Well……jerrydy:)
Have you really found the solution yet?I found the state of your issue is Answered?With a green symbol checked……
jerrydy
Member
3 Points
21 Posts
Re: getting errors on reference conflicts on Interop.ADODB.
Jun 01, 2012 05:42 AM|LINK
Hi Decker,
Yes, I detailed my solution in my blog post that you linked to above. Thank you!
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: getting errors on reference conflicts on Interop.ADODB.
Jun 01, 2012 05:52 AM|LINK
Oops……first I'm NOT challenging you but just think——if possible, it would be VERY NICE for you to share your solution with your blog's link……:-)
And mark it as an anwer to earn your points……
jerrydy
Member
3 Points
21 Posts
Re: getting errors on reference conflicts on Interop.ADODB.
Jun 02, 2012 04:39 AM|LINK
Here it is... my blog article explains my solution in detail. Thank you!
http://jerryaspnet.blogspot.com/2012/05/upgrading-data-access-components-for.html