Here's an question from microsoft.public.dotnet.framework.aspnet:
I ran into the same situation last week.
I 've tried C# and VB.NET on Windows 2003 Standard Edition + all hot fixes +
Exchange 2003 Management Tools, and Exchange Server 2003 on a seperate
computer.
I could successfully add reference to CDOEXM at July and August,
so maybe it's a problem of Windows hot fixes?
I've tried to install Exchange 2003 Service Pack 1 on both computer but
still the same.
When I try to add reference of any version (2.5, 2.6, 2.7) of ADODB first,
it will failed and have the message:
Warning: The dependency 'Interop.ADODB, Version=2.7.0.0, Culture=neutral' in
project 'MyProjectName' cannot be copied to the run directory because it
would overwrite the reference 'Interop.ADODB,
Version=TheVersionOfAdodbIAddManually, Culture=neutral'.
Some libraries are using different version of ADODB?
Thank you for answering
"Rob Edwards" wrote:
depended type library 'CDO' could not be converted to a .NET assembly. AWhen 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 added. Converting the type library to a .Net assembly failed. A
dependent type library 'ADODB' could not be converted to a .NET assembly.
Item has already been added."
scrolled to the DLL directly and added it manually.The ADODB library has already been added.
I have tried removing the assemblies and restarting Visual Studio. I've
uninstalled and reinstalled Exchange 2003 management tools. I've even
add the CDOEXM component... I get the same message.I even built a new box... installed XP (with SP2) from scratch. Installed
Visual Studio. Installed the Exchange 2003 Management Tools. When I try to
Can somebody lead me in the right direction?
Thanks


Reply With Quote