Microsoft KB Archive/162240

= FP97: How to Delete a Disk-Based Web =

Article ID: 162240

Article Last Modified on 6/25/2007

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition

-



This article was previously published under Q162240



For a Microsoft FrontPage 98 version of this article, see 194111.



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
To correctly delete a disk-based Web, use the following steps:  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. (Optional) In a text editor, such as Notepad, open the Fpexplor.ini file. This file is located in your \ directory.  (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.  (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.</ol>

ADDITIONAL 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: <pre class="fixed_text">  FrontPage Explorer - (c:\frontpage webs\disk webs\subweb) where 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> of 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.

Additional query words: 97 front page recent recently server fpexplor sub Web sub-Web

Keywords: kbhowto kbusage KB162240

-

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

© Microsoft Corporation. All rights reserved.