Cannot publish FP2003 web site to c:\intepub\wwwroot

G

Glenn

Hi,

I get an error from FP2003 when trying to publish files from "...\My
Documents\My Web Sites\Test" to the default web server "c:\Inetpub\wwwroot"
on my local Windows XP Pro PC (all updates applied) by selecting the
"Synchronise" radio button and the "Publish Web Site" button. The error is:

The folder C:\Inetpub\wwwroot is contained by a server-based web site.
To access this site you must the http:// url for the web server.

So I tried to publish to http://localhost, but then I get a long error
message:

Unable to open http://localhost
Server error: Could not find a web server at http://localhost. Bla, bla,
bla...
Possible causes:
1. The web server may not have the Frontpage Server Extensions installed
(they are)
2. bla
3. bla
4. bla

Background: What I'm trying to do is develop a web site on my local PC, and
also host it on the same PC. But develop and host in two different folders
so that I have a dev and production environment.

- I have full admin and write permissions in the c:\Inetpub\wwwroot folder.
- IIS is v5.1, and it is running
- Frontpage Server Extensions ARE installed
- I can access a Default.htm file that I copied into c:\Inetpub\wwwroot
folder via http://localhost or my domain name or http://machine_name/ (proof
that the web serv is running)
- I cannot explain why I can select a file in the left pane (local web site)
and manually publish or copy it to the right pane (remote web site) ??? but
the Publish button produces the above error messages.

I'd like to avoid developing in the production folder. Rather, I'd like to
develop the web site in "...\My Documents\My Web Sites\Test" and
periodically publish it to the local default web server by selecting
"Synchronise" radio button and the "Publish Web Site" button.

Is my approach correct, and can anyone explain why I cannot publish to
http://localhost ?

Thanks is advance
 
J

Jim Buyens

Try:

FrontPage Publish Command Fails
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=24

Treating the disk-based Web as the local machine and the IIS site as the
remove machine (even though both are actually local).

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------­-----------------------
|\----------------------------­-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------­-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------­-----------------------
*-----------------------------­-----------------------
 
G

Glenn

Thanks Jim, I tried this, as per your suggestion, and have already followed
the Microsoft article, but there is no change at all. I still get the same
error messages.

Should I be able to publish using the "File System" or "Frontpage and
Sharepoint Services"?

Is anyone able to reproduce this scenario, by creating a new One Page Web
Site under "...\My Documents\My Webs\Test" and publishing it to
C:\Inetpub\wwwroot?

Thanks

-------------------------------------------------------
 
T

Thomas A. Rowe

You need to publish to http://localhost not C:\Inetpub\wwwroot

It appears you have not configure the web site under IIS MMC to have the FP extensions.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top