473,406 Members | 2,220 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,406 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 8421
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.