Are you a world traveler? ZoneTick is a cool utility that'll help you stay in touch over multiple time zones!
 
Setting Up Folder Scripting  
Nik Okuntseff  MS Exchange Server Programming 

Setting Up Folder Scripting

To use Exchange Server folder scripting you need to do the following:
  • Set up the Exchange Server Event Service.
  • Configure permissions on Exchange server.
  • Configure Outlook.
These things are explained in more detail below.
 

Setting Up the Event Service

Make sure Microsoft Exchange Event Service is installed and runs. It is one of the services of Microsoft Exchange Server. You can determine whether it is installed by examining Control Panel - Services dialog. You can determine whether it can successfully start/stop by using the Start and Stop buttons on this dialog and then examining Application Event Log. Normally it should report start/stop events there, as well as what folders it is configured to monitor. If there are no folders set up for event monitoring, it would say so (Event ID 8192. Description: "No registered folders were found to monitor.").
 

Configuring Permissions on Exchange Server

To be able to install folder agents you need to have the following permissions:

  • You need to be an Owner of the folder where you install the script. It is better to try your first script in a folder that you have created yourself. In this case you will be an owner by default.
  • You need to be an Author or an Owner of EventConfig_<ServerName> folder. You may locate it in the organization's Folders\System Folders\Events Root folder when using Exchange Administrator.
These are client permissions that are assigned to mailboxes (not Windows NT user accounts). This means that a mailbox that is associated with MAPI profile that Outlook client uses should be listed there and have appropriate (or more powerful) role.
 

Configuring Outlook

This is an important step, because Outlook is a tool to edit scripts and associate them with folders. To make things simple:

  • Create you own folder on Exchange server in its All Public Folders.
  • Right-click on the folder and select Properties.
  • If you are able to see Agents tab, then your Outlook is properly configured. If this is not the case select Tools - Options - Other dialog. Then press the "Advanced Options" button followed by "Add-In Manager" button. See whether "Server Scripting" item is listed and checked. If it is listed but unchecked - check it and examine folder properties again. If it is not listed - try to install scrptxtn.ecf extension and then check it. This applies only to Outlook 98. The setup is different for Outlook 97 and is likely to be different for future releases of Outlook.
It is necessary to say that Exchange Server permissions and Outlook must be configured together. Your final goal here is to see the Agents tab on folder's properties dialog. You need to have permissions and Outlook configured together at the same time, otherwise the Agents tab will be missing and you will not be able to edit scripts.
 
[ Contents | Home ]

Send comments and suggestions to niko@wrconsulting.com
Copyright © 1997-1998 by Nik Okuntseff