Exchange 2003 – Error 500

Problem:

When loading Outlook Web Access, you get an error 500. This seemed to have happened after an SSL was installed. Also, ActiveSync was acting all dinky.

Solution:

http://support.microsoft.com/?kbid=883380

I used solution 2. I found that I had to wait a few minutes for the Virtual Websites to reappear.

Method 2: Use Adsutil.vbs

To use Adsutil.vbs, follow these steps:

  1. Back up your IIS Metabase. To do this, follow these steps:
    1. Start IIS Manager.
    2. Right-click Default Web Site, point to All Tasks, and then click Save Configuration to a File.
  2. Delete the virtual directories for Outlook Web Access. To do this, right-click Exadmin in the navigation pane of IIS Manager, and then click Delete. Click Yes when you are prompted with the question of whether you want to delete this item.

    Repeat this step for the following virtual directories:

    • Exchange
    • ExchWeb
    • Microsoft-Server-ActiveSync
    • OMA
    • Public
  3. Close IIS Manager.
  4. Click Start, click Run, type cmd, and then press Enter.
  5. Change to the following folder. In this example, Drive is the hard disk drive where Windows is installed:
    Drive:\inetpub\adminscripts
  6. Type adsutil, and then press Enter.
    2684263

    Important By default, CScript is not the default scripting host for Windows Server 2003. To run the adsutil command, CScript must be configured as the default scripting host. To do this, click Yes if you are prompted to register CScript as you default host for VBscript, and then click OK.

    2683283

    Note If you receive a list of adsutil command options, CScript is already configured as the default scripting host for VBscript.

  7. Type adsutil delete ds2mb, and then press Enter.
    2683283

    Note To set the default scripting host to WScript, type WScript //H:WScript at the command prompt, press Enter, and then click OK.

  8. Click Start, point to All Programs, point to Administrative Tools, and then click Services.
  9. To restart the Microsoft Exchange System Attendant service, follow these steps:
    1. Click Start, click Run, type services.msc, and then click OK.
    2. Right-click Microsoft Exchange System Attendant, and then click Restart.
    3. When you are prompted to restart the dependent Exchange Server services, click Yes.
      2683283

      NoteWhen you restart the Microsoft Exchange System Attendant service, the Microsoft Exchange Information Store service is also restarted. In this scenario, your Exchange Server users lose connectivity to their Exchange Server mailboxes.

      The virtual directories are re-created. To verify that the virtual directories are re-created, start IIS Manager, and then view the Default Web site folder.

      2684263

      Important If the virtual directories are not re-created after 15 minutes, restart the computer.

  10. Reset the access permissions to Anonymous. To do this, follow these steps:
    1. Start IIS Manager, right-click ExchWeb, click Properties, and then click the Directory Security tab.
    2. Under Authentication and access control click Edit, and then verify that the Enable anonymous access check box is turned on.
    3. Select the Integrated Windows authentication check box, click OK, and then click Apply.
    4. If an Inheritance Overrides dialog box appears, click Select All, and then click OK.
    5. Under Authentication and access control, click Edit, and then clear the Integrated Windows authentication check box.
    6. Click OK two times, and then close IIS Manager.

Use a web browser to verify that you can connect to your Outlook Web Access server. If you are also running other mobility services, verify that you can connect to those services by using an appropriate client.