Microsoft KB Archive/201697

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

Article ID: 201697

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft FrontPage 2000 Server Extensions

-



This article was previously published under Q201697



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.



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.



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.



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

Additional query words: front page

Keywords: kbbug kbpending KB201697

-

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

© Microsoft Corporation. All rights reserved.