在IIS 6中使用Web部署时出现问题 [英] Problem using web deploy with IIS 6

查看:118
本文介绍了在IIS 6中使用Web部署时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了很长时间,试图使用Visual Studio 2010中的Web部署选项发布到安装了Windows Server 2003的IIS 6服务器.我已经在服务器上安装了Web部署代理,启动了服务,并遵循了此链接中建立的所有说明

I've been working for a long time trying to use web deploy option in Visual Studio 2010 to publish to IIS 6 server having windows server 2003 installed. I've installed the web deployment agent on the server, started the service and followed all instructions founded in this link

http://www.troyhunt.com/2010/11/you-deploying-it-wrong-teamcity_24.html

但是每次我遇到相同的错误

But every time i get the same error

错误33 Web部署任务 失败.(无法连接到 目标计算机 ("iportal.g-beehive.com")使用 指定的流程("Web部署 代理服务"),因为服务器做了 没有反应.确保 流程("Web部署代理 服务")在 目标计算机.)

Error 33 Web deployment task failed.(Could not connect to the destination computer ("iportal.g-beehive.com") using the specified process ("Web Deployment Agent Service") because the server did not respond. Make sure that the process ("Web Deployment Agent Service") is started on the destination computer.)

无法连接到目的地 电脑("iportal.g-beehive.com") 使用指定的流程("Web 部署代理服务"),因为 服务器没有响应.确保 流程("Web部署代理 服务")在 目标计算机.遥控器 服务器返回错误:(400)错误 要求. 0 0 GuciPortalWebProject

Could not connect to the destination computer ("iportal.g-beehive.com") using the specified process ("Web Deployment Agent Service") because the server did not respond. Make sure that the process ("Web Deployment Agent Service") is started on the destination computer. The remote server returned an error: (400) Bad Request. 0 0 GuciPortalWebProject

如您所见,我收到(400)错误的请求错误.....我没有找到任何解决方案,似乎每个人都在使用IIS 7,但我只能将IIS 6与Windows Server 2003一起使用... .任何帮助将不胜感激.....

As you see I get (400) bad request error.....I didn't find any solution for this it seems every body is using IIS 7 but I can only use IIS 6 with windows server 2003....Any Help would be greatly appreciated.....

推荐答案

要了解问题所在,可以转到目标服务器(iportal ...)并运行诊断测试:

To know what the issue is you can go to the destination server (iportal...) and run a diagnostic test:

  1. 打开命令提示符窗口并运行:netsh http show urlacl 这将向您显示所有预订,并且您将得到类似的信息:

  1. Open a command prompt window and run: netsh http show urlacl This will show you all the reservations and you will have something like:

保留的网址: http://+:80/MSDEPLOYAGENTSERVICE/ 用户:NT AUTHORITY \ NETWORK SERVICE 听:是的 代表:否 SDDL:D:(A ;; GX ;;; NS)

Reserved URL : http://+:80/MSDEPLOYAGENTSERVICE/ User: NT AUTHORITY\NETWORK SERVICE Listen: Yes Delegate: No SDDL: D:(A;;GX;;;NS)

  • 确保此端口在防火墙中打开.

  • Make sure this port is open in the firewall.

    如果这仍然失败,则应该为您提供有关其为何无法连接的详细输出.

    If this still fails, this should give you a detailed output about why its failing to connect.

    这篇关于在IIS 6中使用Web部署时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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