Troubleshooting

If you are having difficulty with your Web server, use the following sections of this topic to troubleshoot your problems.

Installation

If you are having trouble installing PWS, or operating the program following installation, check the following items.

Uninstalling Previous Versions

This version upgrades PWS version 1.0 automatically. If you have the PWS 4.0 Alpha or Beta 2 version, you must uninstall it before installing this version. Uninstall by using the Remove All option in the Setup program on the compact disc of your previous version. If the Remove All option is not available, use Add/Remove and clear all check boxes.

Installation Folder

By default, Personal Web Server is installed to C:\Windows\System\Inetsrv. You cannot change the default install folder. By default, the publishing directory is installed as C:\Inetpub\Wwwroot. If you change the default publishing folder, be sure to enter a fully qualified path name, including a drive letter. Relative paths and paths without drive letters can be misinterpreted by Setup.

Testing Your Installation

You can test your installation by using Internet Explorer to view the files in your home directory.

To test a Web site on your intranet
  1. Ensure that your computer has an active network connection and that the WINS server service (or other name resolution method) is functioning.
  2. Start a Web browser, such as Internet Explorer.
  3. Type in the Uniform Resource Locator (URL) for the home directory of your new server and press Enter.
  4. The URL is “http://” followed by the Windows Networking name of your server, followed by the path of the file you want to view. (Note the forward slash marks.) For example, if your Web site is registered with the WINS server as “Admin1” and you want to view the file Homepage.htm in the root of the home directory, in the Address bar you type http://admin1/homepage.htm, and then press Enter. The home page appears on the screen.

 

To test a Web site not connected to a network
  1. Use Windows Explorer to find the Hosts.sam file in your \Windows folder and open it in a text editor, such as Notepad.
  2. Below the line 127.0.0.1 localhost, type 127.0.0.1 your_computer_name, where your_computer_name is the computer name shown on the Identification property page of the Network application in Control Panel.
  3. Save the file as Hosts with no file extension.
  4. Open Internet Explorer, click View, click Options, click Connection, and select Access the Internet using a proxy server.
  5. Click Advanced and add your computer name to the Exceptions list.
  6. Type localhost or the computer name in the Address bar of the browser and press Enter.
  7. Note   You can also use the IP address 127.0.0.1 to reach your Web site.

Viewing Your Home Page

If you have a default.htm page already in the Inetpub\Wwwroot directory when you install PWS, setup does not overwrite this page. To see the page you create with the PWS home page wizard, click the Advanced icon in Personal Web Manager and change the order of the documents in the Enable default document box to default.asp, default.htm. If you have a default.asp page already in the Inetpub\wwwroot directory when you install PWS, move, delete, or rename the file, and then copy Inetpub\Wwwroot\Iissamples\Homepage\default.asp to Inetpub\Wwwroot. After copying the file, go to Personal Web Manager and click the Web Site icon to create your home page.


© 1997 by Microsoft Corporation. All rights reserved.