没有合适的资源?快使用搜索试试~ 我知道了~
Exchange StoreEventSink排错
需积分: 3 2 下载量 29 浏览量
2008-10-05
01:02:15
上传
评论
收藏 588KB DOC 举报
温馨提示
试读
19页
Here are the most common issues I’ve faced during the last years while helping our customer in Europe around Exchange 2000/2003 store event sinks. Most of the time, these notes help me to resolve, let’s say, 70% of the incoming issues on event sinks. Another 25% are often linked to the code itself having a problem or not doing what it’s supposed to do because of a base design. At last, the remaining 5% were linked to a more severe problem because of a bug from one of our product or a very instable Exchange configuration. I then truly hope that you, the reader, will fall into the 70% part of the event sink’s issues and that this document will be able to help you.
资源详情
资源评论
资源推荐
Store Event Sink Troubleshooting guide
David Rousset – Microsoft France
EMEA Developer Support Enginner
Table of content
Store Event Sink Troubleshooting guide....................................................................................1
Table of content..........................................................................................................................2
1. Introduction.............................................................................................................................2
2. Registrations problems............................................................................................................2
3. Execution problems.................................................................................................................4
Prerequisites: how to identify the process associated to your sink?.......................................4
Case 1: we’re suspecting the code of the event sink to be bad designed................................5
Creating the Diagnostic Sink using Visual Basic 6.0.........................................................5
Setting up the Diagnostic Sink............................................................................................8
Creating a COM+ Event Sink Application.........................................................................8
Registering the Event Sink using Exchange Explorer........................................................9
Advanced Debugging using WinDBG..............................................................................11
Case 2: the code normally works but the machine got problems..........................................16
Check the COM+ application settings.............................................................................16
Check the registration items inside the SystemMailbox special folders..........................17
Get the Exchange Application logs for review................................................................18
Verify that the sink is really loaded using Process Explorer...........................................18
Check you don’t have any problem accessing to the registry or to the file system inside
your event sink..................................................................................................................19
4. Links to documentation.........................................................................................................19
1. Introduction
Here are the most common issues I’ve faced during the last years while helping our
customer in Europe around Exchange 2000/2003 store event sinks. Most of the time, these
notes help me to resolve, let’s say, 70% of the incoming issues on event sinks. Another 25%
are often linked to the code itself having a problem or not doing what it’s supposed to do
because of a base design. At last, the remaining 5% were linked to a more severe problem
because of a bug from one of our product or a very instable Exchange configuration. I then
truly hope that you, the reader, will fall into the 70% part of the event sink’s issues and that
this document will be able to help you.
2. Registrations problems
Let’s start here by the first kind of issue I’ve been working on: the registrations
problems. By registrations problems, I mean everything linked to the stage following the
event sink installation on the server (through a MSI like package hopefully). The registration
is indeed the information that will tell to the Exchange server what code it should call for a
specific mailbox and/or group of mailbox on a specific action (OnSave, OnDelete, etc.). If
you can’t create the famous registration item through the regevents.vbs script or through
Exchange Explorer, this chapter is for you.
Here are the most common issues on this topic:
Page 2
1. First, check that you can do a CreateObject call on the name of the Event Sink inside a
simple VBS Script as:
Set test = CreateObject(“MyEventSink.Class”)
If it’s failing with an error 429 (or another type of error), this means that there is a
problem inside the store event sink’s constructor. This is often occurring with .NET event
sinks. For instance, some customers are trying to access to some configuration parts stored
inside a registry key or inside a file. If this file or registry key doesn’t exist, the
constructor will fail and then Exchange won’t be able to create the registration item. The
call to the constructor of the sink must succeed to be able to register it. Please then review
carefully what the event sink need to access during his construction phase before trying to
register it.
I would recommend you for this phase to remove the .NET Event Sink from COM+
temporally to get rid out of potential issue linked to COM+ itself. For that, here is a
procedure that I’m suggesting you:
A – Delete the COM+ application where you’ve tried to install your .NET Event Sink
B – Use the following command line to register in the COM world your sink:
"Regasm /tlb:YourDotNetEventSink.tlb YourDotNetEventSink.dll
/codebase" in the directory where those files are installed.
This will insert the appropriate information in the registry to make your .NET
Assembly visible to COM.
Note: regasm.exe et regsvcs.exe are 2 tools that you’ll find inside the Microsoft.NET
directory of your %systemroot% folder.
Once done, try again to do the CreateObject() call. If it’s still failing, the debugging
process on the constructor should be easier that when the component is in COM+. If it’s now
working as expected, the problem may come from the COM+ configuration part. Main point
to check is then the identity of the COM+ application hosting the sink. The user account used
may not have the right to read the file you wish in the constructor phase, etc.
2. Use Exchange Explorer to register the store event sink rather than the VBS script.
Indeed, Exchange Explorer is doing a better job than the regevents.vbs script to do the
registration process. Please check the procedure described below in the
“REGISTERING THE EVENT SINK” section if you don’t know how to register a sink
using Exchange Explorer.
3. Last step is to configure the COM+ component properties and select the Security TAB
and ensure that the Security Level is set to: “Perform access checks only at the process
level” and that the Authorization is not set to “Enforce access checks for this
application”
Again, if it’s a .NET Event Sink, I would recommend you to use to command line to
install it directly in COM+:
"Regsvcs /fc /tlb:YourDotNetEventSink.tlb YourDotNetEventSink.dll"
Page 3
剩余18页未读,继续阅读
zhangzhentao
- 粉丝: 8
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 5G网络基础培训课件.zip
- 2024-spring-HIT-CS-大作业
- yolo目标检测项目实验
- downloadFile-1.hc
- C++课程设计:基于Qt的航班信息管理系统
- ADS7822UVerilog驱动,前面传的有点问题
- 基于python的高性能爬虫程序,使用了多线程+缓存+xpath实现的,这里以彼-岸图库为例,实现,仅用于学习交流
- 中分辨率成像光谱仪(MODIS)烧毁面积产品信息MODIS-C6-BA-User-Guide-1.2.pdf
- Screenshot_20240427_172613_com.huawei.browser.jpg
- 关于学习Python的相关资源网站链接及相关介绍.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0