Results 1 to 5 of 5

Thread: Startup hangs due to systemevent registration

  1. #1
    MikeH Guest

    Startup hangs due to systemevent registration

    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

  2. #2
    Tom Rizzo [MSFT] Guest
    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

  3. #3
    MikeH Guest
    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



  4. #4
    Tom Rizzo [MSFT] Guest
    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



  5. #5
    MikeH Guest
    It does not help to recreate the event registration and there is nothing of
    interest in the Event Log. Maybe the environment is faulty somehow..

    I was trying to make a workaround to a bug in SP1 (KB872822), by creating an
    OnMDBStartUp system Event sink to delete and re-register global event
    registration.

    -Any news of public hotfixes for KB872822 ?



    "Tom Rizzo [MSFT]" wrote:

    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






Similar Threads

  1. event sink registration
    By in forum Development
    Replies: 3
    Last Post: 11-02-2005, 09:58 AM
  2. need exchange registration details
    By shiva in forum Administration
    Replies: 1
    Last Post: 09-30-2005, 07:04 AM
  3. RPC Registration Fails
    By Joel in forum Connectivity
    Replies: 2
    Last Post: 07-07-2005, 10:56 PM
  4. Replies: 5
    Last Post: 04-01-2005, 12:11 AM
  5. Event Registration failure
    By ?ystein Urdahl in forum Development
    Replies: 1
    Last Post: 02-24-2005, 11:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - CAD Forum