尝试将 clickonce 应用程序部署到 FTP 站点但未安装 FrontPage 服务器扩展错误 [英] Trying to deploy clickonce app to FTP site but getting FrontPage Server Extensions not installed Error

查看:42
本文介绍了尝试将 clickonce 应用程序部署到 FTP 站点但未安装 FrontPage 服务器扩展错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用我的 Dreamhost 帐户上的 ftp 站点通过 clickonce 部署 WinForm 应用程序.但是,当我尝试发布时,出现以下错误:

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:

无法连接到ftp://ftp.mydomain.com/client",出现以下错误:无法创建网站ftp://ftp.mydomain.com/client".未安装用于与 FrontPage 服务器扩展通信的组件.

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

发布文件夹位置:ftp://ftp.mydomain.com/client

安装文件夹 URL:http://ftp.mydomain.com/client

Visual Studio 似乎没有意识到我发布到 ftp 站点而不是带有 FrontPage 的站点.

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?

推荐答案

Visual Studio 仅支持发布到安装了 Frontpage Extensions 的 Web 服务器,无论是通过 FTP 还是 HTTP 连接.如果您的主机不支持它们,您将必须发布到本地文件夹,然后使用 FTP 客户端上传其内容.

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.

更新:FrontPage 扩展组件需要安装在您正在开发的机器上(用于发布).服务器应该无关紧要——它只是 FTP.在您的开发系统上,转到控制面板 > 添加/删除程序 > 并修复Microsoft Visual Studio Web 创作组件".根据您的版本,您可能需要修复VS2010等.这将在您的机器上重新安装FP组件,允许您通过FTP发布.

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.

这篇关于尝试将 clickonce 应用程序部署到 FTP 站点但未安装 FrontPage 服务器扩展错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆