错误 - 发布Web应用程序 [英] Error - Publish Web Application

查看:69
本文介绍了错误 - 发布Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照 http://msdn.microsoft.com/中的步骤进行操作en-us / library / dd465337%28VS.100%29.aspx [ ^ ]

在我的web.config中,我设置
< 身份验证 mode = Windows / >

< authentication mode = / & gt;
当我发布Web应用程序时,会弹出Web Deploy Client对话框。由于它不需要任何用户ID /密码,因此我单击确定以绕过它。



Web部署任务失败。(指定的凭据不能与身份验证方案一起使用'基本'。)

如何摆脱Web Deploy Client登录?谢谢。

解决方案

我已经通过以下程序解决了这个问题:

1)打开Project Property Page并设置所需的项目。

2)构建解决方案,然后构建部署包。

3)查看Build Deployment Package的输出。如果成功,请获取.zip的位置。还可以查看.zip文件的属性页面。

4)打开IIS管理器。在功能视图中,单击导入应用程序...

5)粘贴.zip文件的路径。

6)单击下一步继续。

7)右键单击GIS Web,然后单击Manager Application ...然后单击Browse。

8)查看页面:http://xx.xx.xx.xx/mySite/。

I followed the procedure in http://msdn.microsoft.com/en-us/library/dd465337%28VS.100%29.aspx[^]

In my web.config, I set
    <authentication mode="Windows"/>
or
    <authentication mode="None"/>
When I published the web application, Web Deploy Client dialog pops out.  Since it does not need any user ID/password, I click OK to bypass it.


Web deployment task failed.(The specified credentials cannot be used with the authentication scheme 'Basic'.)
How can I get rid of the Web Deploy Client login? Thanks.

解决方案

I have solved the problem by using the procedure below:
1) Open the Project Property Page and set the needed items .
2) Build the solution and then Build Deployment Package.
3) View the output of Build Deployment Package. If it is successful, get the location of the .zip. Also view the Property page for the .zip file.
4) Open the IIS Manager. In the Feature View, click the Import Application…
5) Paste the path of the .zip file.
6) Click Next to continue.
7) Right-click the GIS Web, then click Manager Application… and then click Browse.
8) View the page: http://xx.xx.xx.xx/mySite/.


这篇关于错误 - 发布Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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