FP: How to Delete a Disk-Based Web

Last reviewed: March 18, 1998
Article ID: Q162240
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack

SUMMARY

FrontPage 97 does not provide a user interface that allows you to delete a disk-based root Web. This article describes how you can delete a disk-based root Web.

MORE INFORMATION

A disk-based root Web is not posted on a Web server. When you view a disk-based root Web, the FrontPage Explorer title bar shows the following information:

   FrontPage Explorer - <subweb> (c:\frontpage webs\disk webs\subweb)

where <subweb> is the name of the Web. Note that the protocol (http://) is not included in the title bar.

Although you can use the Delete FrontPage Web command on the File menu in FrontPage Explorer, the root Web is not deleted. If you open the subweb, (for example, c:\frontpage webs\disk webs) and delete it, it is still listed in the FrontPage Webs list in the Open FrontPage Web dialog box (File menu) in FrontPage Explorer. If you attempt to delete the <Root Web> on your subweb, you receive the following error message:

    Server Error: You cannot delete the root Web from the FrontPage
    Explorer. Use the Server Administrator instead.

Note that you receive this error when you attempt to delete any root Web, whether it is disk-based or server-based. On a server-based Web you can use the FrontPage Server Administrator to remove the extensions. There is no similar utility for a disk-based Web.

To correctly delete a disk-based Web, use the following steps:

  1. Delete all files in the disk location. For example, if your Web is located in c:\frontpage webs\disk webs, delete this directory and its contents.

  2. (Optional) In a text editor, such as Notepad, open the Fpexplor.ini file. This file is located in your \<Windows> directory.

  3. (Optional) Locate the [Recently Opened Servers] section in the Fpexplor.ini file and delete the lines that refer to the disk-based Web.

    For example, if the [Recently Opened Servers] section of your Fpexplor.ini file looks like this:

          [Recently Opened Servers]
          Recent Server Count=4
          WebServer0=file:///c:/temp
          WebServer1=carboncopy
          WebServer2=production_Web
          WebServer3=finance_Web
    

    delete the last Web in the list (WebServer3=finance_Web), so that the [Recently Opened Servers] section looks like this:

          [Recently Opened Servers]
          Recent Server Count=3
          WebServer0=carboncopy
          WebServer1=production_Web
          WebServer2=finance_Web
    

    CAUTION: Do not alter the [Recent Web Server] section of the Fpexplor.ini. Microsoft recommends that you allow FrontPage Explorer to increment the [Recent Web Server] section through normal use. For example, after you open four webs, the [Recent Web Server] section will contain the correct entries.

  4. (Optional) In the [Recently Opened Servers] section, renumber the WebServer entries so that the first entry is WebServer0. Change the Recent Server Count value to equal the total number of servers you have. The WebServer entries are sequentially numbered from WebServer0 to WebServerN where N plus one is used for the value of Recent Server Count.


Additional query words: 97 front page recent recently server fpexplor
sub Web sub-Web
Keywords : kbusage kbdta
Version : windows:97,98
Platform : WINDOWS
Hardware : x86
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.