You receive a "To access this site you must use the http://url for the Web server" error message when you try to publish a FrontPage Web site to an IIS subweb (822181)



The information in this article applies to:

  • Microsoft Office FrontPage 2003
  • Microsoft FrontPage 2002
  • Microsoft FrontPage 2000

SYMPTOMS

When you use Microsoft Office FrontPage to try to publish a FrontPage Web site to an Internet Information Services (IIS) subweb, you may receive the following error message:
The folder "\\Servername\<drive>$\inetpub\wwwrooot\Subweb" is contained by a server-based Web site.
To access this site you must use the http:// url for the Web server.

CAUSE

This issue may occur if you do both of the following:
  • You specify the remote Web site location of the IIS subweb to publish your FrontPage Web site to, and you type the destination path of the site as a disk-based Web target instead of as a URL.

    For example, you type the destination path of the Web site in the following format instead of as a URL :

    \\ServerName\<drive>$\Inetpub\wwwroot\Subweb

  • You try to publish the Web site.

RESOLUTION

To resolve this issue, when you specify a remote Web site location of an IIS subweb to publish your FrontPage Web site to, type the remote Web site location as a URL in the following format:

http://ServerName/Subweb


Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kbwebpublishing kberrmsg kbnofix kbprb KB822181 kbAudEndUser