Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

'Cgi-bin' Does Not Refer to a Page or Folder in This Web


View products that this article applies to.

This article was previously published under Q201697

↑ Back to the top


Symptoms

When you try to create a new folder in your FrontPage Web, you get the message:
folder name does not refer to a page or folder in this web
The most common errors seen are:
Server error: 'cgi-bin' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL.
and

Server error: 'images' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL.
The folder name for this error could essentially be any folder you create.

↑ Back to the top


Cause

Typically, the error means that you are trying to create a folder that is already mapped with a virtual directory and already exists for the virtual server you are working on. Furthermore, it could be that you are trying to create a folder in a Web for which there is already a sub Web with that name.

For instance, Cgi-bin is usually created by FrontPage in the root Web. If you were to make changes on the Web server to map Cgi-bin to a noncontiguous location outside of the FrontPage Web, then turn around and try to create a new folder with FrontPage in the Web, you would get an error message. The error message in this case would be:
Server Error: 'cgi-bin' does not refer to a page or folder in this web.
Another example would be if the Images folder, which is included for each FrontPage Web, is mapped to a noncontiguous location outside of the FrontPage content area, and an attempt is made to make a new folder in the Web called Images. This would also give the error message:
Server Error: 'images' does not refer to a page or folder in this web.
Another possible cause of this error would occur if you were to create a sub Web called "myweb," then open the root Web and try to create a folder with the name "myweb." This would result in the error message:
Server Error: 'myweb' does not refer to a page or folder in this web.

↑ Back to the top


Workaround

You can workaround this problem in two ways:
  • For a virtual server, FrontPage uses the virtual directories defined on the Web server. If FrontPage detects that a virtual directory exists for an existing folder mapped with the same alias, contiguous or not, it will give the errors listed above when creating new folders. You can either name the folder something else or rename the existing mapped virtual directory to another name.
  • Open the Web site that is returning the error and run a Recalculate on the Hyperlinks.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the FrontPage 2000 Server Extensions.

↑ Back to the top


Keywords: KB201697, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 201697
Revision : 2
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 277