And it still happens if you delete and recreate the event registration? I
believe the MDB startup event is asynchronous so it shouldn't block the
store from starting.
Anytjing in the event log?
Tom
--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out
http://www.microsoft.com/MSPress/books/5517.asp
"MikeH" <MikeH@discussions.microsoft.com> wrote in message
news:A5BDA27B-C0E7-4D45-8B3E-233DC5E6936A@microsoft.com...
All the code does for now is to log that the event occured in a file. This
log is what I can see when I manually restart the service.
-I have also tried to comment the code in the event handler, but I get the
same results.
MikeH
"Tom Rizzo [MSFT]" wrote:
That looks fine. What does your code do? Are you getting stuck in some
sort of infinite loop?
Tom
--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out
http://www.microsoft.com/MSPress/books/5517.asp
"MikeH" <MikeH@discussions.microsoft.com> wrote in message
news:1317FC50-0B3F-4458-B56E-03CED35A6C51@microsoft.com...
Windows 2003 Server SP1 (DC, native mode)
Exchange 2003 SP1
Hi,
I've implemented an eventsink for OnMDBStartup, and registered the
event
using RegEvent.vbs. The event is fired when I restart the "Microsoft
Exchange
Information Store" service, so everything looks fine.
The problem occurs when I reboot the server. After the shutdown, during
restart the "Microsoft Exchange Information Store" is hanging in
pending
start, and when I finally can log into the server (~20min), the service
has
probably timed-out and is stopped by the system. (If I delete the
systemevent
registration, the server reboots normally)
When I manually start the "Microsoft Exchange Information Store", the
event
is fired again, and everything looks fine.
Is the Registration faulty or does anyone have other suggestions?
cscript Regevent.vbs add onMDBstartup MyCOMdll.Class
file://./backofficestorage/MyDomain.local/MBX/Administrator/Inbox/EvMyMDBstartup -
m ANY -f WHERE $DAV:contentclass$ = 'urn:content-classes:storeeventreg'
Kind Regards
MikeH