使用VS 2012将Web表单发布到服务器

问题描述:

大家好,

我开发了一个网络表单应用程序。我试图将我的应用程序发布到远程服务器。

1-我在远程服务器上下载并安装了Web部署管理。

2-创建了一个IIS管理器用户。 br />
3-发布我的应用程序。来自VS 2012.



一切顺利,预览成功,

但是当点击发布时我得到了VS(输出)



(2015/03/17 11:20:52)在远程计算机上处​​理请求时发生错误。

服务器遇到处理请求的问题。有关详细信息,请与服务器管理员联系。

发布未能部署。



==========构建:1成功,0失败,0最新,0跳过==========

==========发布:0成功,1失败, 0跳过==========




i检查与服务器和用户的连接,一切都很好。可能是什么原因?



请提前告知

<

提前感谢

Samira

Hi all,
i have developed a web forms app. i was trying to publish my application to remote server.
1- i downloaded and installed web deploy management on my remote server.
2- created an IIS Manager user.
3- publish my app. from VS 2012.

everything went well, preview was successful,
but when click publish i got this in VS (output)

(2015/03/17 11:20:52) An error occurred when the request was processed on the remote computer.
The server experienced an issue processing the request. Contact the server administrator for more information.
Publish failed to deploy.

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========


i check connection to the server and user, all is good. what could be the reason?

please advise
<
thanks in advance
Samira

我通常通过Visual Studio发布工具将其发布到本地计算机上的共享文件夹中(右键单击项目,您将看到它)。然后,我将共享文件夹的内容复制到服务器的虚拟目录中。如果这不是初始部署,则不要复制任何.config文件或App_Data文件夹的内容。
I typically publish it to a share folder on my local machine through the Visual Studio Publish Tool (right click on the project and you'll see it). Then I copy the contents of the shared folder to the server into its virtual directory. If this is not an initial deployment, then DO NOT copy out any .config files or contents of the App_Data folder.