472,980 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,980 software developers and data experts.

Interop.CDO uses Interop.ADODB which has a higher version...

Hi,

I have a C# assembly project under Visual Stuio 2008 Pro on Windows Server
2008. I converted the project from VS 2005.

The project references COM->Microsoft CDO for Windows 2000 Library 1.0,
which adds two entries under References called CDO and ADODB. When I compile
the solution, I get the following:

Error 1 Assembly 'Interop.CDO, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=13c3baacc352d1a9' uses 'Interop.ADODB, Version=6.0.0.0,
Culture=neutral, PublicKeyToken=13c3baacc352d1a9' which has a higher version
than referenced assembly 'Interop.ADODB, Version=2.8.0.0, Culture=neutral,
PublicKeyToken=13c3baacc352d1a9'
c:\sw\clweb\@tmp\Company.Web\release\Interop.CDO.d ll Company.Web

I tried to remove both CDO and ADODB from the references and add a reference
to "Microsoft CDO for Windows 2000 Library" again. This creates CDO and
ADODB under References and produces the same error.

How can I fix it?

Thank you,

John

Jun 27 '08 #1
5 8385
I tried removing ADODB from references and adding ADODB 2.8 and ADODB 6.0
without any luck.
"muriwai" <mu*****@nospam.nospamwrote in message
news:en**************@TK2MSFTNGP05.phx.gbl...
Hi,

I have a C# assembly project under Visual Stuio 2008 Pro on Windows Server
2008. I converted the project from VS 2005.

The project references COM->Microsoft CDO for Windows 2000 Library 1.0,
which adds two entries under References called CDO and ADODB. When I
compile the solution, I get the following:

Error 1 Assembly 'Interop.CDO, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=13c3baacc352d1a9' uses 'Interop.ADODB, Version=6.0.0.0,
Culture=neutral, PublicKeyToken=13c3baacc352d1a9' which has a higher
version than referenced assembly 'Interop.ADODB, Version=2.8.0.0,
Culture=neutral, PublicKeyToken=13c3baacc352d1a9'
c:\sw\clweb\@tmp\Company.Web\release\Interop.CDO.d ll Company.Web

I tried to remove both CDO and ADODB from the references and add a
reference to "Microsoft CDO for Windows 2000 Library" again. This creates
CDO and ADODB under References and produces the same error.

How can I fix it?

Thank you,

John
Jun 27 '08 #2
Hello John,

According to your description, you found your project failed on compiling
after converted from VS 2005 to VS 2008. The error message is "Interop.CDO
use Interop.ADODB 6.0.0.0 which has a higher version than referenced
assembly ADODB 2.8.0.0. If I misunderstood anything here, please don't
hesitate to correct me?

I'm not sure if you received this issue before you convert the project to VS
2008? This could help on verifying if this is a VS 2005 to VS 2008
conversion issue. Moreover, is it possible for you to create a new simple
project and add reference to CDO in VS 2008. We have to check if VS 2008
compile the project without error. This could help on confirm if this is VS
2008 issue.

This error means your project references to the wrong version of ADODB. The
current version is 2.8, but your CDO uses ADODB 6.0. It seems you have tried
to remove referenced assembly (ADODB 2.8), and added referenced assembly
(ADODB 6.0). Could you please also let me know the exact error message after
you changed referenced assembly?

Sorry for so many question. Actually, we haven't heard such issue so far.
Please understand we need detailed information to narrow down the issue.

If you have any more concern, please feel free to let us know. We are glad
to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support Engineer
within 1 business day is acceptable. Please note that each follow up
response may take approximately 2 business days as the support professional
working with you may need further investigation to reach the most efficient
resolution. The offering is not appropriate for situations that require
urgent, real-time or phone-based interactions or complex project analysis
and dump analysis issues. Issues of this nature are best handled working
with a dedicated Microsoft Support Engineer by contacting Microsoft Customer
Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 27 '08 #3
Hi Wen,

Thank you for your reply.

The issue did not exist in VS 2005 and showed up after conversion to VS
2008.

I manually deleted all the output and temp files ("Clean" and "Rebuild"
didn't help), re-referenced the CDO, and re-built the project. The problem
seems to have gone.

Cheers,

John

"Wen Yuan Wang [MSFT]" <v-******@online.microsoft.comwrote in message
news:eT*************@TK2MSFTNGP06.phx.gbl...
Hello John,

According to your description, you found your project failed on compiling
after converted from VS 2005 to VS 2008. The error message is "Interop.CDO
use Interop.ADODB 6.0.0.0 which has a higher version than referenced
assembly ADODB 2.8.0.0. If I misunderstood anything here, please don't
hesitate to correct me?

I'm not sure if you received this issue before you convert the project to
VS 2008? This could help on verifying if this is a VS 2005 to VS 2008
conversion issue. Moreover, is it possible for you to create a new simple
project and add reference to CDO in VS 2008. We have to check if VS 2008
compile the project without error. This could help on confirm if this is
VS 2008 issue.

This error means your project references to the wrong version of ADODB.
The current version is 2.8, but your CDO uses ADODB 6.0. It seems you have
tried to remove referenced assembly (ADODB 2.8), and added referenced
assembly (ADODB 6.0). Could you please also let me know the exact error
message after you changed referenced assembly?

Sorry for so many question. Actually, we haven't heard such issue so far.
Please understand we need detailed information to narrow down the issue.

If you have any more concern, please feel free to let us know. We are glad
to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
Jun 27 '08 #4
Hello John,
Thanks for your reply.

I'm really glad to hear you resolved the issue.
It seems VS 2005 IDE compiles the project with some old files which
generate by VS 2005. I think this maybe related with conversion.
Some temp files generated by VS 2005 confused VS 2008. Thereby, the issue
goes away after you clean the folder.
I believe the issue won't show up again. Anyway, if you find the issue come
back again, please feel free to let us know. We will follow up. It's my
pleasure to assist you.

Thanks again for your solution. Other community memebers may get benefit
from your reply.:)
Have a great day,
Best regards,
Wen Yuan

Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 27 '08 #5
Hello John,

This is Wen Yuan, again. Do you face the issue again? I just want to check
if there is anything we can help with.
Please feel free to let us know if you need further assistance. We are glad
to assist you.

Have a great day,
Best regards,
Wen Yuan

Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 27 '08 #6

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

Similar topics

0
by: keefah | last post by:
Hi, I'm writing a C# web app that uses Outlook to send email. I use a reference to the Microsoft Outlook 11.0 Object Library, but it's giving me problems. I tracked down some stuff on the Net...
0
by: SA | last post by:
I am trying to understand the following probem I am having with C# code trying to access a COM object with return type object. Actually it can be recreated as follows: Create a VB6 COM dll with...
0
by: Allan Ebdrup | last post by:
Using a completely cleat dotNet application project in VS, I have a COM component that I want to add a reference to, when I add the reference I get the error: --- A reference to...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
5
by: Mark Rae | last post by:
Hi, In ASP classic, I used to do something like this: <% Sub TestMDAC(pstrConnectionString) Dim conn Dim strVersion
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...
4
by: R. Rajesh Jeba Anbiah | last post by:
If you're working in PHP 5 and used APD, phpDocumentor, PHPMailer & ADODB, you might be knowing that these projects are not maintained and the old codes are throwing bunch of errors in higher error...
1
by: Siv | last post by:
Hi, I referenced Excel via COM in References and selected the Excel Version 11.0 but somehow it picked up the Beta of Office 2007 in the Interop reference that gets pulled in as well. I decided...
0
by: SuperJason | last post by:
We have a web application that uses 2 different virtual directories. - The first is an ASP.NET application that has web services that can be used to authenticate various clients. - The second is...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.