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. On Windows 95 only, you must also separately uninstall the previous version of Winsock that was installed with the Alpha and Beta 2 versions of PWS.

Uninstalling Winsock 2.0 on Windows 95

On Windows 95, Winsock 2.0 automatically upgrades Microsoft Winsock 1.1. If you have the version of Winsock 2.0 shipped with earlier versions of PWS, you must remove it before installing PWS.

To uninstall previous versions of Winsock2

Reinstate your previous TCP/IP stack by restarting your computer in DOS-mode and running Ws2bakup.bat from the Windows\Ws2bakup\ folder.

Uninstalling Proprietary Versions of Winsock

The Winsock 2.0 setup program attempts to upgrade the version of Winsock on your computer. If you have a proprietary version of Winsock, the upgrade process may fail. If the upgrade is unsuccessful, and if the proprietary version you are using does not have its own uninstall option, use the following work around.

To install Winsock 2.0 over proprietary versions
  1. Install the Microsoft TCP/IP protocol by right-clicking the Network Neighborhood desktop icon and choosing Properties.
  2. In the Network window, click the Configuration tab, and then click Add.
  3. Select Protocol, and then click Add.
  4. Select Microsoft from the Manufacturers list, TCP/IP from the Network Protocols list, and then click OK.

 

To reinstate you network logon
  1. If you are on a network and Windows 95 has switched to your Windows logon (in which case your Domain field is missing from the logon box), open the Network application in Control Panel.
  2. If Primary Network Logon is already set to Client for Microsoft Networks, then you must force a rebuild of the Windows Driver Database by first selecting Client for Microsoft Networks from the installed components list, and then clicking Properties.
  3. On the General tab, make no changes and click OK.
  4. On the Configuration tab, click OK again. You are prompted for your Windows 95 compact disc.
  5. Note   If you do not have your Windows 95 disc, you can work around Windows by copying the files it requests from your Windows\System folder to another folder you create, and then pointing the Windows installation to that location. Once the files are copied, you must restart your computer.

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.

Installing Microsoft Internet Explorer 4.01

PWS requires that Microsoft® Internet Explorer 4.01 be installed first. Internet Explorer is provide in the install. If you choose not to install Internet Explorer 4.01, you are effectively canceling the installation process.

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.