XWEB: VBScript Runtime Error '800A01A8' with OWA

ID: Q194525


The information in this article applies to:
  • Microsoft Outlook Web Access, version 5.5
  • Microsoft Outlook Web Access, version 5.5 Service Packs 1, 2

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

When you try to access a client mailbox using Outlook Web Access (OWA), the following error message may appear:

VBScript Runtime Error '800A01A8' Object Required: 'Application (...)'
\exchange\USA\logon.asp, Line 12


CAUSE

The above error can be caused by incorrect permissions on required files for the OWA client, registry changes, or damaged files. This article covers these areas and lists ways to correct the above error.


WORKAROUND

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).
When trying to resolve this problem, check the following items:

  1. Verify that permissions on Cdohtml.dll are correct. Users will need READ permissions to this .dll. This file is responsible for doing all the rendering of the ASP pages with OWA. To check the permissions:


    1. Right-click on the filename, and click Properties.


    2. Select the Security tab, and click the Permissions button. Cdohtml.dll should be located in the Exchsrvr\Bin directory. Ensure that all users have at least READ permissions to this directory.


  2. Check the registry. It is possible you have a problem with a registry key value for:


  3. OWA 5.5 and OWA 5.5 SP1:
    HKEY_CLASSES_ROOT\TypeLib\{BC00F700-31AC-11D0-B5F1-00AA00BF3382}
    -and-

    OWA 5.5 SP2:
    HKEY_CLASSES_ROOT\CLSID\{bc00f780-31ac-11d0-b5f1-00aa00bf3382} HKEY_CLASSES_ROOT\CLSID\{bc00f781-31ac-11d0-b5f1-00aa00bf3382} HKEY_CLASSES_ROOT\CLSID\{bc00f782-31ac-11d0-b5f1-00aa00bf3382} HKEY_CLASSES_ROOT\TypeLib\{BC00F700-31AC-11D0-B5F1-00AA00BF3382}
    This is the key for Cdohtml.dll. You can export this key, and then run Regsvr32.exe on the .dll to register the key back correctly into the registry. The following steps describe how to export and remove the registry value.

    1. Click the Start button, click Run, and type regedit to start the Registry Editor. Click OK.


    2. In the Registry Editor, select the key you want to back up.


    3. From the Registry menu, choose Export Registry File.


    4. In the Save In list, select the folder where you want to save the backup.


    5. In the File Name box, type a name for your backup file, such as "Options" or "Backup."


    6. In the Export Range check box, be sure that "Selected branch" is selected.


    7. Click Save. The file is saved with a .reg extension.


    8. Select the key you want to remove:


    9. OWA 5.5 and OWA 5.5 SP1:
      HKEY_CLASSES_ROOT\TypeLib\{BC00F700-31AC-11D0-B5F1-00AA00BF3382}
      -and-

      OWA 5.5 SP2:
      HKEY_CLASSES_ROOT\CLSID\{bc00f780-31ac-11d0-b5f1-00aa00bf3382} HKEY_CLASSES_ROOT\CLSID\{bc00f781-31ac-11d0-b5f1-00aa00bf3382} HKEY_CLASSES_ROOT\CLSID\{bc00f782-31ac-11d0-b5f1-00aa00bf3382} HKEY_CLASSES_ROOT\TypeLib\{BC00F700-31AC-11D0-B5F1-00AA00BF3382}
    10. Press the DELETE key, or click the right mouse button, and click Delete.


    11. Exit Registry Editor.

      After this has been completed, stop the WWW service either through Control Panel, Services, or through the Internet Information Service (IIS) manager. Reregister Cdohtml.dll by typing the following syntax at a command prompt, or by clicking Start, Run, and typing the following command in the text box:


    12. regsvr32 c:\exchsrvr\bin\cdohtml.dll
    13. Restart the WWW service.


  4. An apostrophe in the directory name into which OWA has been installed can cause the error message in the SYMPTOMS section to appear. If this is the case, remove the OWA component and reinstall to a different directory.


  5. If you are still having problems after following steps 1, 2, and 3 above, it may be necessary to remove and reinstall the OWA component by using Exchange Server Setup. The following steps describe removal and reinstallation of the OWA component.

    1. Start the Exchange Server Setup program from the Exchange Server CD.


    2. Select Add/Remove from the Installation screen.


    3. From the next Setup screen, clear the checkbox for Outlook Web Access. Continue with the Setup program to allow OWA to be removed.


    4. To reinstall the components, start the Exchange Server Setup program again.


    5. Select Add/Remove from the Installation screen.


    6. From the next setup screen, click the check box for Outlook Web Access, and continue with the installation.


    NOTE: Occasionally when you try to remove the Outlook Web Access component from the Exchange Server Setup Add/Remove selection, the check box for this option cannot be cleared. You may not be able to remove only the OWA component option by using Add/Remove. Removing the related registry key will allow the OWA component to be reinstalled. To do so, follow these steps:

    1. Run the Registry Editor (Regedit or Regedt32.exe).


    2. Select the following registry key:


    3. \HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\EXCHANGE\SETUP
    4. Remove the string value "Web Connector" from this key. This will clear the OWA component check box option from the Exchange Server CD Setup program.


    5. Close the Registry Editor, and reinstall the OWA component using the Exchange Server Setup program.




Additional query words:

Keywords :
Version : WINDOWS:5.5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: April 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.