RE: Problem getting UserGUID from Exchange OnSave event sink
- From: v-phuang@xxxxxxxxxxxxxxxxxxxx ("Peter Huang" [MSFT])
- Date: Mon, 18 Sep 2006 10:31:55 GMT
Hi,
Based on my understanding, you wanted to do Exchange Server side event sink
with OnSave event.
But when the event fired and you are trying to access the
dispInfo.UserGuid, you will get the error description per your post.
**** EXCEPTION ****
Catastrophic failure (Exception from HRESULT: 0x8000FFFF
(E_UNEXPECTED))
**** STACKTRACE ****
at Interop.Exevtsnk.IExStoreDispEventInfo.get_UserGuid()
at EventSinkTest2.EventSinkTest.OnSave(IExStoreEventInfo evInfo,
String sURL, Int32 iFlags) in E:\Documents and
Settings\Administrator.EDIARY\My Documents\Visual Studio
2005\Projects\EventSinkTest2\EventSinkTest2\EventSinkTest.cs:line 105
From the exception, "Catastrophic failure" which is a general COMexception, it is hard to guess what may be the problem.
But as your suspect, this may be a COM interop issue, to isolate the
problem, I suggest you try to sink the same event with a VBScript to see if
the problem persists.
Because to use C# to handle Event Sink, we need additional .NET com interop
library wrapper, to test with VBScript will help us to quick isolate the
problem is specific to the COM inteop layer
or the Exchange Server environment or configuration.
I will appreciate your efforts.
Best regards,
Peter Huang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: Problem getting UserGUID from Exchange OnSave event sink
- From: "Peter Huang" [MSFT]
- RE: Problem getting UserGUID from Exchange OnSave event sink
- References:
- Prev by Date: Re: Reflection messing up the type hierarchy
- Next by Date: RE: Problem getting UserGUID from Exchange OnSave event sink
- Previous by thread: Problem getting UserGUID from Exchange OnSave event sink
- Next by thread: RE: Problem getting UserGUID from Exchange OnSave event sink
- Index(es):
Relevant Pages
|