Microsoft KB Archive/186388

= Restoring the SBS 4.0 Console After Removing and Reinstalling IIS/ASP =

Article ID: 186388

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft BackOffice Small Business Server 4.0
 * Microsoft BackOffice Small Business Server 4.0a

-



This article was previously published under Q186388



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 occurs if Internet Information Server (IIS) has been removed or if the WWW service has been stopped.

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

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

NOTE: Errors 1 and 2 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 does 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:

 Click Start, point to Settings, click Control Panel, and then double-click Network. Click the Services tab, and then click Add. 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, with CD1 in the disk drive:



Where  is the drive letter to the SBS CD-ROM.

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

 Click Start, point to Programs, point to Microsoft Internet Server (Common), and then click Internet Service Manager. Double-click the computer name for the WWW service.</li> Click the Directories tab. If the Windows NT Option Pack is installed, do the following:

 Select the default Web site, right-click it, and then click Properties.</li> 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 are under directory properties, access permissions, and permissions.</li></ol> </li> Add or modify the entries below, where "R" is Read and "E" is Execute:</li></ol>

<pre class="fixed_text">   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.

<div class="moreinformation_section">

MORE INFORMATION
For additional information, see the following article or articles in the Microsoft Knowledge Base:

181366 Running SBS Console Results in IE Connection Error

226331 Reinstalling the Small Business Server Console

184751 Multiple Console Problems Occur If SBS Setup Is Cancelled

178269 Components Required for SBS Manage Server (Console.exe)

Additional query words: sbsfaqtop smallbiz iis asp SBS45 restore console

Keywords: kbprb KB186388

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.