C# – Trying to deploy clickonce app to FTP site but getting FrontPage Server Extensions not installed Error

cnetvisual studio 2010

I'm trying to deploy a WinForm app through clickonce using a ftp site on my dreamhost account. However, when I try to publish, I get the following error:

Failed to connect to 'ftp://ftp.mydomain.com/client' with the following error: Unable to create the Web site 'ftp://ftp.mydomain.com/client'. The components for communicating with FrontPage Server Extensions are not installed.

Here is my settings on the publish tab

Publishing Folder Location: ftp://ftp.mydomain.com/client

Installation Folder URL: http://ftp.mydomain.com/client

It seems that Visual Studio is not realizing I am publishing to a ftp site and not a site with FrontPage.

Does anyone know how to fix this problem?

Best Answer

Visual Studio only supports publishing to web servers that have Frontpage Extensions installed, regardless of whether connecting via FTP or HTTP. If your host doesn't support them, you will have to publish to a local folder and then upload its contents using an FTP client.

UPDATE: The FrontPage extension components need to be installed on the machine you are DEVELOPING on (Used to publish). The server shouldn't matter--it's simply FTP. On your development system, go to control panel > add/remove programs > and repair "Microsoft Visual Studio Web Authoring Component". Depending on the version you have, you may need to repair VS2010, etc. This will reinstall the FP components on YOUR machine, allowing you to publish via FTP.