MDaemon 13.x - How to run WorldClient, SyncML, Blackberry Internet services, and ActiveSync in IIS 6

This article will provide basic information on how to run WorldClient under IIS6 on Windows Server 2003.

  1. Open the Internet Information Servers (IIS) Manager console
  2. Expand the server’s name
  3. Right click Application Pools
  4. Select New
  5. Click Application Pool…
  6. Type ‘Alt-N’ into the Application pool ID: field
  7. Click OK
  8. Right click Alt-N
  9. Click Properties
  10. Click the Performance tab
  11. Disable Shutdown worker processes after being idle for (time in minutes):
  12. Disable Limit the kernel request queue (number of requests):
  13. Click the Identity tab
  14. In the drop down box for Predefined, select Local System
  15. Click OK
  16. Click Yes on the IIS Manager dialog box that appears
  17. Right click Web Sites
  18. Select New
  19. Click Web Site…
    Note: This will launch a wizard
  20. Click Next
  21. Type a name for the website in the Description: field (example:‘WorldClient’)
  22. Click Next
  23. Click Next
  24. Browse to the Home Directory
    Note: The default location is C:\MDaemon\WorldClient\HTML
  25. Click OK
  26. Click Next
  27. Enable the 3 options: Read, Run scripts (such as ASP), and Execute (such as ISAPI applications or CGI)
  28. Click Next
  29. Click Finish
  30. Expand Web Sites
  31. Right click on the web site just created, WorldClient
  32. Click Properties
  33. Click the Documents tab
  34. Remove all listed documents
  35. Click Add
  36. Type ‘WorldClient.dll’ in the Default Content Page: field
  37. Click OK
  38. Click the Home Directory tab
  39. Select Alt-N from the Application pool: drop down box
  40. Click OK
  41. Click Web Service Extensions
  42. Right click on All unknown ISAPI Extensions
  43. Click Allow
  44. Click Yes on the IIS Manager dialog box that appears
    Note: You can specify which ISAPI extensions you would like to allow individually. The required DLL’s are WorldClient.dll, MDSyncML.dll, MDBis.dll, and MDAirsync.dll

To configure the Microsoft ActiveSync protocol, complete these steps:

  1. Right click on the WorldClient website previously created
  2. Select New
  3. Click Virtual Directory
  4. Click Next on the Virtual Directory Creation Wizard
  5. Type ‘Microsoft-Server-ActiveSync’ into the Alias: field
  6. Click Next
  7. Click Browse… and change the directory to C:\MDaemon\WorldClient\HTML in a default MDaemon installation
  8. Click OK
  9. Click Next
  10. Enable Read, Run scripts (such as ASP), and Execute (such as ISAPI applications or CGI)
  11. Click Next
  12. Click Finish
  13. Right click the Microsoft-Server-ActiveSync directory previously created
  14. Click Properties
  15. Click Configuration...
  16. Click Insert...
  17. Click Browse... and navigate to C:\MDaemon\WorldClient\HTML in a default MDaemon installation
  18. Select MDAirSync.dll
  19. Click Open
  20. Click OK
  21. Click OK
  22. Click the Documents tab
  23. Remove all listed documents
  24. Click Add
  25. Type 'MDAirSync.dll' in the Default content page: field
  26. Click OK
  27. Click OK
  28. Close the IIS Manager

The Internet Guest Account – IUSR_<SERVERNAME> - needs ‘Full Access’ NTFS permissions for the MDaemon directory and all sub-directories.
Note: If you have the MDaemon installation separated across multiple drives/partitions, ensure you update these permissions accordingly)

  1. Open Windows Explorer
  2. Navigate to the MDaemon directory (Default: C:\MDaemon)
  3. Right click on the MDaemon directory
  4. Click Properties
  5. Click the Security tab
  6. Click Add
  7. Click Advanced
  8. Click Find Now
  9. Select IUSR_<SERVERNAME> (Replace <SERVERNAME> with the local computer name)
  10. Click OK
  11. Click OK
  12. Enable Allow for Full Control
  13. Click OK

To enable WorldClient via IIS in the MDaemon console:

  1. Open the MDaemon console
  2. Click the Setup menu
  3. Click Web, Sync, & IM Services…
  4. Click WorldClient (web mail)
  5. Enable WorldClient runs using external webserver (IIS, Apache, etc)
  6. Click Ok

If using a 64-bit version of Windows:

  1. Click the Windows Start button
  2. Click Run...
  3. Type 'cmd'

  4. Click OK

  5. Navigate to %systemdrive%\Inetpub\AdminScripts directory (Note: %systemdrive% would normally be the C:\ drive)

  6. Type 'cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true'

  7. Press the Enter key

When completing upgrades to MDaemon after setting up MDaemon to run under IIS, you should either stop IIS before upgrading MDaemon or be prepared to reboot the Windows machine after the upgrade. 

Additional Comments

Note: The setup of this program under IIS is NOT supported by tech support and those who choose to run WorldClient under IIS must be aware of all security issues and ramifications of running any applications under IIS. It is recommended that all Patches and updates be installed on IIS before the installation of MDSyncML as an ISAPI