Restoring Console After Removing and Reinstalling IIS/ASP

ID: q186388


The information in this article applies to:


SYMPTOMS

On a computer running Microsoft BackOffice Small Business Server, you may receive one or more of the following error messages when you start the Manage Server (Console.exe) option on the Start menu:

Internet Explorer cannot open the Internet site
http://localhost/admin/default.asp
A connection with the server could not be established.
-or-
HTTP/1.0 404 Object Not Found
-or-
An error has occurred in the script on this page.
Line: 15
Char: 1
Error: Object doesn't support this property or method:
'top.load.storenameform.storename.value'
Code: 0
NOTE: The above scripting error may be different in other scenarios.


CAUSE

The first error will occur if Internet Information Server (IIS) has been removed or if the WWW service has been stopped.

The second error will occur if the /Admin virtual directory for the WWW service is missing or pointing to an invalid path.

The third error will occur if the IIS is installed and the directories are valid, but Active Server Pages (ASP) has been removed.

NOTE: Errors 1 and 2 will also occur on a server with the Windows NT Option Pack installed. Because installing the Windows NT Option Pack installs ASPs as part of IIS, the last error will not occur.


RESOLUTION

Check the following three steps to ensure IIS and ASP are set up correctly.

NOTE: In lieu of Steps 2 and 3 below, you can reinstall Microsoft BackOffice Small Business Server from Add/Remove Programs in Control Panel to reinstall ASP and the SBS WWW directories. This may take longer to complete because all application components will be reinstalled, however, it will ensure that ASP and the WWW directories are set up correctly. In order for this reinstall to run without errors, IIS must be installed first. If the Windows NT Option Pack is installed, IIS and ASP can only be uninstalled and reinstalled by selecting the Windows NT Option Pack setup from Add/Remove programs or the from the Windows NT Option Pack CD.

Step 1

If IIS has been removed, complete the following steps:

  1. Click Start, point to Settings, click Control Panel, and then double-click Network.


  2. Click the Services tab, and then click Add.


  3. Select Microsoft Internet Information Server, and then click OK.

    NOTE: Use the same directory locations where IIS was previously installed. By default, the locations for IIS and the WWW service are:
    C:\Winnt\System32\Inetsrv
    C:\INETPUB\Wwwroot


Step 2

To reinstall Active Server Pages, run the following command at an MS-DOS command prompt:
drive:\aspsrv\i386\setup.exe
where drive is the drive letter to the SBS CD-ROM.

Step 3

Verify the WWW directories are present and correct using the steps below:

  1. Click Start, point to Programs, point to Microsoft Internet Server (Common), and then click Internet Service Manager.


  2. Double-click the computer name for the WWW service.


  3. Click the Directories tab. If the Windows NT Option Pack is installed, do the following:

    1. Select the default Web site, right-click it, and then click Properties.


    2. Go to the home directory tab and click to select Check Access Permissions. Click OK and, when you go back to the IIS console screen, all virtual directories will be listed. Get the properties of each directory and verify the permission are what are shown in the table below. The permissions will be under directory properties, access permissions, and permissions.




  4. Add or modify the entries below, where "R" is Read and "E" is Execute:



    Directory Path                Directory Type      Alias         Access
    --------------                --------------      -----         ------

 *  C:\InetPub\Wwwroot            Home Directory                    R

 *  C:\InetPub\Scripts            Virtual Directory   /Scripts      E

 #  C:\Inetpub\ASPSamp            Virtual Directory   /ASPSamp      R and E

 #  C:\Inetpub\ASPSamp\AdvWorks   Virtual Directory   /AdvWorks     R and E

    C:\Inetpub\Wwwroot\Intranet   Virtual Directory   /intranet     R and E

    C:\Inetpub\Wwwroot\Intranet
         \SBSClientHelp           Virtual Directory   /ClientHelp   R and E

    C:\Inetpub\Wwwroot\SrchAdm    Virtual Directory   /srchadm      R

    C:\SmallBusiness\Html         Virtual Directory   /admin        R and E

    C:\Winnt.sbs\Help             Virtual Directory   /Help         R and E

    C:\Winnt.sbs\System32
       \Inetsrv\DOCS              Virtual Directory   /IASDocs      R and E

 *  C:\Winnt.sbs\System32
       \Inetsrv\Iisadmin          Virtual Directory   /iisadmin     R 

NOTE: Some of the above entries have been wrapped for readability.
The asterisk (*) indicates the default directories installed during IIS setup. The pound (#) indicates the default directories installed during ASP setup. These should not have to be re-added.
NOTE: If you use Microsoft Proxy Server, you need to reinstall Proxy Server after you install IIS and ASP. To install Proxy Server 1.0, double-click the Setup.exe file located in the Proxy folder on the Small Business Server CD 1.


MORE INFORMATION

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

Q181366 Running SBS Console Results in IE Connection Error
Q184751 Multiple Console Problems Occur If SBS Setup Is Cancelled
Q178269 Components Required for SBS Manage Server (Console.exe)

Additional query words: sbsfaqtop smallbiz iis asp


Keywords          : SBS sbsfaqtop 
Version           : winnt:4.0,4.0a,4.5
Platform          : winnt 
Issue type        : kbprb 

Last Reviewed: July 29, 1999