使用 IIS 6 进行 Web 部署时出现问题
我已经尝试使用 Visual Studio 2010 中的 Web 部署选项发布到安装了 Windows Server 2003 的 IIS 6 服务器很长时间了。我已在服务器上安装了 Web 部署代理,启动了服务并遵循此链接中的所有说明
http://www.troyhunt.com/ 2010/11/you-deploying-it-wrong-teamcity_24.html
但每次我都会遇到同样的错误
错误33 Web部署任务 失败。(无法连接到 目标计算机 (“iportal.g-beehive.com”)使用 指定流程(“Web 部署 代理服务”)因为服务器做了 不回应。确保 流程(“Web 部署代理 服务”)开始于 目标计算机。)
无法连接到目的地 计算机(“iportal.g-beehive.com”) 使用指定的进程(“Web 部署代理服务”)因为 服务器没有响应。确保 流程(“Web 部署代理 服务”)开始于 目标计算机。遥控器 服务器返回错误:(400) 错误 要求。 0 0 GuciPortalWeb项目
如您所见,我收到 (400) 错误请求错误.....我没有找到任何解决方案,似乎每个人都在使用 IIS 7,但我只能在 Windows Server 2003 中使用 IIS 6... .任何帮助将不胜感激......
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
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.)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
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.....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要了解问题所在,您可以转到目标服务器(iportal...)并运行诊断测试:
打开命令提示符窗口并运行:
netsh http show urlacl
这将向您显示所有预订,您将看到如下内容:
<块引用>
保留网址:http://+:80/MSDEPLOYAGENTSERVICE/
用户:NT AUTHORITY\NETWORK SERVICE
听:是的
代表:没有
SDDL: D:(A;;GX;;;NS)
确保此端口在防火墙中打开。
\program files\iis\microsoft web deploy
(如果您安装的是“Microsoft web deploy v2”),msdeploy -verb:dump -source:dirpath=c:\temp,computername=http://机器名:<上面的端口号>/msdeployagentservice,username=<用户名>,password=<密码> -verbose -debug
如果仍然失败,这应该会为您提供有关连接失败原因的详细输出。
To know what the issue is you can go to the destination server (iportal...) and run a diagnostic test:
Open a command prompt window and run:
netsh http show urlacl
This will show you all the reservations and you will have something like:
Make sure this port is open in the firewall.
<systemdrive>\program files\iis\microsoft web deploy
(it might be "Microsoft web deploy v2" if that is what you installed)msdeploy -verb:dump -source:dirpath=c:\temp,computername=http://machinename:<portnumberfromabove>/msdeployagentservice,username=<username>,password=<password> -verbose -debug
If this still fails, this should give you a detailed output about why its failing to connect.