EventSink is not firing properly on other system.

EventSink is not firing properly on other system.

Post by Parv » Sat, 23 Sep 2006 16:38:01


I have craeted an EventSink that is working fine on Windows 2000
Advanced Server(SP4) - Exchange Server 2000(SP3) and Windows 2003
Server - Exchange Server 2003.But when i am trying to use this event on
other System having Windows 2000 Advanced Server(SP4) - Exchange Server
2000(SP3). Its get successfully resgistered but working properly. Here
properly mean that constructor of my EventSink class is get called but

public void OnSave(IExStoreEventInfo pEventInfo, string bstrURLItem,
int lFlags)

method is not being fired. Please help me what i may be missing.

Also in the

OnDelete(IExStoreEventInfo pEventInfo, string bstrURLItem, int lFlags)

its giving me exception

Could not load file or assembly 'ADODB, Version=7.0.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.

what may be the possible reason. Any help is appreciated.
 
 
 

EventSink is not firing properly on other system.

Post by Peril4 » Sat, 23 Sep 2006 21:55:30

Sounds like you dont have the ADODB .dll on the global assembly cache
(Microsoft Inconsistency)

you must copy the file 'ADODB.DLL' to you exchange server
(usually can be found in c:\program files\ microsoft.net\Primary
Interop Assemblies\ on a dev pc)

then run

' C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil /if adodb.dll '

that will register it to the GAC.

 
 
 

EventSink is not firing properly on other system.

Post by Parv » Tue, 26 Sep 2006 21:40:24

problem of ADODB has been resolved. But i am still facing the first one
i.e. same event is working on one system and on other system its not
working. Please help me its very urgent for me .
With Best Regards
Parveen Beniwal