KBA-02294

How to run WorldClient, SyncML, BlackBerry Internet Service (BIS) and ActiveSync Under IIS5.1

This article will provide basic information on how to run WorldClient under IIS5.1 on Windows XP.

  1. Open the Internet Information Services Management Console
  2. Expand the server's name
  3. Expand Web Sites
  4. Right click Default Web Site
  5. Click on Properties
  6. Change Default Web Site to WorldClient under Description
  7. Click on the Home Directory tab
  8. Change the Local Path to 'C:\MDaemon\WorldClient\HTML'
  9. Change the Execute Permissions drop-down to 'Scripts and Executables'
  10. Choose 'Low (IIS Process)' in the Application Protection
  11. Click on the 'Documents' tab.
  12. Remove all listed documents.
  13. Add 'WorldClient.dll'.
  14. Click the OK button.
  15. Click the OK button.

To configure the Microsoft ActiveSync protocol, complete these steps:

  1. Right click on the website you just made (WorldClient ).
  2. Select New
  3. Click Virtual Directory
  4. Follow the Wizard as it takes you through the steps of creating a Virtual Directory.
  5. Type in Alias : 'Microsoft-Server-ActiveSync'
  6. Click Next
  7. Change the Directory to 'C:\MDaemon\WorldClient\HTML'.
  8. Click Next
  9. Select Execute (Such as ISAPI applications or CGI)
  10. Click Next
  11. Click Finish
  12. Right click on the Microsoft-Server-ActiveSync Virtual Directory icon
  13. Select Properties
  14. Click the Documents tab
  15. Remove all listed documents
  16. Click Add
  17. Type in 'MDAirSync.dll'
  18. Click Ok
  19. Click the Virtual Directory tab
  20. Choose 'Low (IIS Process) ' in the Application Protection
  21. Click OK

By default both MDaemon and IIS listen on port 25, you may need to change IIS to listen on an alternate port to avoid a conflict with MDaemon's ability to receive mail:

  1. Open the Internet Information Services Management Console
  2. Right click on Default SMTP Virtual Server
  3. Click on Properties
  4. Click on the Advanced... button to the right of your IP address field
  5. Click the Edit... button
  6. Change the port to an unused port on your system (example: '26')
  7. Click OK
  8. Click OK
  9. Click OK

The Internet Guest Account - IUSR_<SERVER NAME> - needs 'Full Access' NTFS permissions for the MDaemon directory and all sub-directories.

  1. Right-Click on the MDaemon directory. (C:\MDaemon)
  2. Select Properties.
  3. Select the Security tab.
  4. Click the Add button.
  5. Click theAdvanced... button.
  6. Click the Find Now button.
  7. Select IUSR_<SERVER NAME> (where < SERVER NAME> is the name of the local computer).
  8. Click the OK button.
  9. Click the OK button.
  10. Check the box for 'Full Control'.
  11. Click the OK button.

Note: These same steps need to be applied to any directory MDaemon is configured to use. To tell MDaemon that WorldClient is to be run via IIS:

  1. Open the MDaemon interface
  2. Select the Setup menu
  3. Select Web, Sync, & IM Services...
  4. Select WorldClient (web mail)
  5. Select the option for WorldClient runs using external webserver (IIS, Apache, etc)
  6. Click Apply
  7. Click Restart WorldClient
  8. Click OK

When doing upgrades to MDaemon after setting up the web you should either stop IIS before upgrading MDaemon or be prepared to reboot Windows after the upgrade.