Err Msg: Unable to Add a Virtual Directory Because of an... (226945)



The information in this article applies to:

  • Microsoft Peer Web Server 4.0 for Windows NT 4.0
  • Microsoft Personal Web Server 4.0 for Windows 95

This article was previously published under Q226945

SYMPTOMS

When you try to add a Virtual Directory from Advanced Options in Personal Web Manager, you may receive the following error message:
Personal Web Manager
Unable to add the virtual directory because of an error in the server.

CAUSE

This issue can occur if you are running Internet Explorer 4.x, and have removed one or more of the following Java Distribution Units from the Downloaded Program Files folder:
  • DirectAnimation Java Classes
  • Internet Explorer Classes for Java
  • Microsoft XML Parser for Java
  • Win32 Classes
Removing any of these items from the Downloaded Program Files folder may remove certain entries in the Windows Registry that are needed by Personal Web Server.

RESOLUTION

To resolve this issue, remove and reinstall Personal Web Server:

WARNING: Removing this program also removes all user-defined Transaction Server packages and IIS/PWS configuration backups. Back up any data that you have created using this program before performing the following procedure.
  1. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
  2. If you are running Microsoft Windows 95 or Microsoft Windows 98, click Microsoft Personal Web Server on the list of installed programs. If you are running Microsoft Windows NT, click Windows NT 4.0 Option Pack on the list of installed programs. Click Add/Remove.
  3. Click Next, and then click Remove All.
  4. Click Yes, and then click OK if you receive the following error message:
    pws-error
    CreateIISPackage or DeleteIISPackage. 0x80040154
    Class not registered.
  5. Click Finish, restart your computer, and then reinstall Personal Web Server.

Modification Type:MajorLast Reviewed:10/10/2003
Keywords:kberrmsg kbprb KB226945