[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

Managed Exchange Event Sink broken by DST CDO Patch

Rhett

5/12/2007 1:30:00 AM

Hi,

Ideally this would be in an Exchange news group but there doesn't seem to be
one. To wit:

My event sink silently stopped working after the Exchange 2003 DST CDO
patch. So I've created a new Interop.Cdoex.dll from the copy of cdoex.dll on
the Exchange server however now my project (.Net 2.0 VS2005) won't compile
with a series of ADODB errors e.g.:

Error 1 The type 'ADODB.ConnectModeEnum' is defined in an assembly that is
not referenced. You must add a reference to assembly 'ADODB, Version=2.5.0.0,
Culture=neutral,
PublicKeyToken=95c751ca3af59ac0'. D:\vssWorkingDir\PTC\BioCIO.eGet\BioCIO.eGet.Ex2003EventSinks\ASyncEvents.cs 45 17 BioCIO.eGet.Ex2003EventSinks
Error 2 The type 'ADODB.RecordCreateOptionsEnum' is defined in an assembly
that is not referenced. You must add a reference to assembly 'ADODB,
Version=2.5.0.0, Culture=neutral,
PublicKeyToken=95c751ca3af59ac0'. D:\vssWorkingDir\PTC\BioCIO.eGet\BioCIO.eGet.Ex2003EventSinks\ASyncEvents.cs 45 17 BioCIO.eGet.Ex2003EventSinks
Error 3 The type 'ADODB.RecordOpenOptionsEnum' is defined in an assembly
that is not referenced. You must add a reference to assembly 'ADODB,
Version=2.5.0.0, Culture=neutral,
PublicKeyToken=95c751ca3af59ac0'. D:\vssWorkingDir\PTC\BioCIO.eGet\BioCIO.eGet.Ex2003EventSinks\ASyncEvents.cs 45 17 BioCIO.eGet.Ex2003EventSinks
Error 4 The best overloaded method match for 'CDO.IDataSource.Open(string,
object, ADODB.ConnectModeEnum, ADODB.RecordCreateOptionsEnum,
ADODB.RecordOpenOptionsEnum, string, string)' has some invalid
arguments D:\vssWorkingDir\PTC\BioCIO.eGet\BioCIO.eGet.Ex2003EventSinks\ASyncEvents.cs 45 17 BioCIO.eGet.Ex2003EventSinks
Error 5 Argument '3': cannot convert from 'ADODB.ConnectModeEnum [c:\Program
Files\Microsoft.NET\Primary Interop Assemblies\adodb.dll]' to
'ADODB.ConnectModeEnum
[]' D:\vssWorkingDir\PTC\BioCIO.eGet\BioCIO.eGet.Ex2003EventSinks\ASyncEvents.cs 45 56 BioCIO.eGet.Ex2003EventSinks

Is this b/c both ADODB and CDO have definitions for some of these
things--can it be fixed by changing the compile order?

Any help most appreciated.

Thanks,
Rhett