Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > clickonce frontpage component
 

clickonce frontpage component

Hi,

When trying to publish my application using Clickonce, I get the following error:

Error1Failed to connect to 'http://www.batd.be/t3/BatdSchool/Prog/' with the following error: Unable to create the Web site 'http://www.batd.be/t3/BatdSchool/Prog/'. The components for communicating with FrontPage Server Extensions are not installed.11BATDSchool

I don't know what's happening (the Server has the Frontpage extension installed). Any idea?

Best,

Eric

de Bodt  Sunday, December 16, 2007 11:30 AM

Hi, first which OS do you use, I find some articles about this problem:

If you use Windows Server 2003

FrontPage 2002 Server Extensions from Microsoft is required for publishing applications to a Windows Web server that uses HTTP.By default, Windows Server 2003 does not have FrontPage 2002 Server Extensions installed. If you want to use Visual Studio to publish to a Windows Server 2003 Web server that uses HTTP with FrontPage 2002 Server Extensions, you must install FrontPage 2002 Server Extensions first. You can perform the installation by using the Manage Your Server administration tool in Windows Server 2003.

http://msdn2.microsoft.com/en-us/library/ms228998.aspx

If you use Vista

When you publish from Visual Studio to an http address, VS uses Frontpage Server Extensions (FPE) to create the virtual directory and copy the files to it. When logged in as an admin, VS will not be running with admin privilege by default. As a result, when you try to publish a ClickOnce app you will get an obscure error that says that FPE is not installed on the server. Specifically:

"Failed to connect to 'http://localhost/WindowsApplication3/' with the following error: Unable to create the Web 'http://localhost/WindowsApplication3/'. The Web server does not appear to have the FrontPage server extensions installed."

The solution is quite simple: you need to run VS as an admin. To do this, you can right click on the shortcut to VS from the start menu and select Run as Administrator.

For more information, please check this article

http://briannoyes.net/PermaLink.aspx?guid=435524e7-340c-4b4b-933d-a1c38d27e8ea

If you have any further question, feel free to let me know.

Best Regards

Gavin

Gavin Jin - MSFT  Thursday, December 20, 2007 2:25 AM

Hi, first which OS do you use, I find some articles about this problem:

If you use Windows Server 2003

FrontPage 2002 Server Extensions from Microsoft is required for publishing applications to a Windows Web server that uses HTTP.By default, Windows Server 2003 does not have FrontPage 2002 Server Extensions installed. If you want to use Visual Studio to publish to a Windows Server 2003 Web server that uses HTTP with FrontPage 2002 Server Extensions, you must install FrontPage 2002 Server Extensions first. You can perform the installation by using the Manage Your Server administration tool in Windows Server 2003.

http://msdn2.microsoft.com/en-us/library/ms228998.aspx

If you use Vista

When you publish from Visual Studio to an http address, VS uses Frontpage Server Extensions (FPE) to create the virtual directory and copy the files to it. When logged in as an admin, VS will not be running with admin privilege by default. As a result, when you try to publish a ClickOnce app you will get an obscure error that says that FPE is not installed on the server. Specifically:

"Failed to connect to 'http://localhost/WindowsApplication3/' with the following error: Unable to create the Web 'http://localhost/WindowsApplication3/'. The Web server does not appear to have the FrontPage server extensions installed."

The solution is quite simple: you need to run VS as an admin. To do this, you can right click on the shortcut to VS from the start menu and select Run as Administrator.

For more information, please check this article

http://briannoyes.net/PermaLink.aspx?guid=435524e7-340c-4b4b-933d-a1c38d27e8ea

If you have any further question, feel free to let me know.

Best Regards

Gavin

Gavin Jin - MSFT  Thursday, December 20, 2007 2:25 AM

Hi,

Thanks for the advices and your help. I'm sure that the FrontPage server extension are installed on the server (we publish FrontPage web sites on it). I'm indeed using Vista on the Client machine. I have tried to run VS under Admin put I still get the same error.

The origin of the error (I'm really not sure) might be that, on client machine, Expression Web has been installed and uninstalled. Maybe the uninstall removed some component needed by ClickOnce to publish an application to an http:// target?

Best,

Eric

de Bodt  Thursday, December 20, 2007 5:56 AM

I am currently having the same problem where Visual Studio claims the deployment server does not have Frontpage Extensions, but it does, they are enabled, MIME types in place, ???? I have used ClickOnce on a Windows Server 2000 and am moving to Windows Server 2003. I even deleted an rebuilt the web site. Did you ever figure out the problem?

Thanks for trying. - Bob

BBalok  Monday, December 24, 2007 4:39 PM

Hello Team - having the same problem here trying to publish from VB .NET in VS 2008.

Windows Server 2003 has the Frontpage Extensions installed and enabled, but no luck publishing to that location...

Any special permissions required or some such?

Cheers,

~Matt.

fortressNZ  Thursday, March 20, 2008 1:18 AM

Here it is a year later. I am also having the problem with VS 2005 and a Windows 2003 server on an XP client. And yes FPSE 2003 is installed on the server. How can a reply be shown as the answer when there are immediately many subsequent entries reporting that the reply did not solve the problem. Did anyone come up with a REAL answer to this problem?

joeller  Monday, December 01, 2008 9:00 PM
Hi Joeller,

Microsoft will just mark things as answers simply because there has been no activity on a thread. It often has absolutely nothing to do with the fact that the person's question was answered.
RussNem  Thursday, August 13, 2009 10:12 PM

You can use google to search for other answers

Custom Search

More Threads

• REGISTER DLL
• How do I deploy security settings - best practice?
• Project Deployment Problems with an Unmanged DLL
• Uninstall Custom Action no longer being called
• install latest version of product without uninstalling previous version
• How to change setup project parameters
• Adding Files when Publishing using ClickOnce
• How to: Close the running app before installing - VS2005
• Load balancing via Click Once
• A problem about Framework install process control