Scripting Agent not firing any events
- From: Ross Presser <rpresser@xxxxxxxxx>
- Date: 9 May 2007 09:16:44 -0700
After a catastrophic failure, I've recently rebuilt my Exchange 5.5
Server on new hardware, and on W2K Server instead of NT4 Server. The
server name changed, so I had to build a new site, new organization,
all that jazz, and restore from backup. Public folders and private
mailboxes both were restored from an old backup, done before the
script I need was created; although I had played with scripts before,
I'd deleted them all before that backup. Naturally getting the IS to
run after restoring the backup was a lot of fun .. but I'm past that
now.
So I'm rebuilding a very simple public folder script, all it does is
take new messages that have matching subject lines and save them out
to disk as .TXT files for further processing. Except that the script
won't fire. No script will fire. Not on a public folder and not on a
mailbox folder.
The Event service is running. I have set the diagnosticslogginglevel
to 5, and I have only these events since it started:
EventID 0
The Microsoft Exchange Event Service (5.5.2653.11) started
successfully.
EventID 8192
No registered folders were found to monitor.
EventID 32768
Received notification from store, flags = 1, folders = 1.
EventID 16385
Start processing folder "\Events Root\EventConfig_WINCHESTER" for
new events.
EventID 16384
End processing for folder "\Events Root\EventConfig_WINCHESTER".
Since then I have created, modified and deleted many items that should
have caused the script to fire.
Here's my most basic script test, designed to get an error message in
the log, but no logs are found and no eventlog entry shows it was even
fired:
<SCRIPT RunAt=Server Language=VBScript>
Option Explicit
' DESCRIPTION: This event is fired when a message is deleted from the
folder
Public Sub Folder_OnMessageDeleted
dim x
x = cdate("booga")
End Sub
</SCRIPT>
Of course I didn't have this problem with my previous Exchange server,
same Exchange software but running on NT4.
Exchange 5.5, Enterprise Edition, Service Pack 4, running on Windows
2000 Server, Service Pack 4 (build 2195).
.
- Prev by Date: Re: SSL Troubles
- Next by Date: Re: Delivery to the following recipients has been delayed error
- Previous by thread: Can't send to some domains from Windows Mobile devices using OMA
- Next by thread: Re: Problem Sending Mail to the Internet
- Index(es):
Relevant Pages
|