将 silverlight web 应用程序从 Visual Studio 2010 部署到 Windows 7 IIS

发布于 2024-11-08 20:35:48 字数 832 浏览 0 评论 0原文

希望有人能给我一些有关这方面的信息。

我有一个 silverlight Web 应用程序 (.NET 4)。我想使用 msdeploy 将其部署到在 Windows 7 64 位计算机上运行的 IIS 7。

到目前为止,我已经阅读了很多页并尝试了其中的很多步骤,但仍在挣扎。

我所做的:

1. Installed Web Platform Installer.
2. Installed msdeploy
3. Started and set to automatically start: "Web Deployment Agent Service" and "Web Management Service"
4. Created a web site in IIS 7 and set permissions.
5. Tested the website "http://server/page and get a blank directory browsing because nothing is added yet.

所以现在我想部署,但收到错误:“无法建立连接,因为目标机器主动拒绝它:10.224.201.117:8172

我已经测试了 telnet'ing 到端口 8172 上的地址,其中失败。

建议 msdeploy 配置不正确,我需要启用远程连接,但是 Windows 7 IIS 7 中似乎没有执行此操作的图标(添加/删除功能下没有“管理服务”选项。 IIS) 这是否意味着我无法部署到 Windows 7 IIS 7? 或者是否有另一种方式来启用远程连接,也许使用 powershell?

非常感谢任何帮助

Tx

Neill

Hope somebody can give me some info regarding this.

I have a silverlight web app (.NET 4). I would like to use msdeploy to deploy it to IIS 7 running on a Windows 7 64 bit machine.

I have read many pages and have tried a lot of the steps in them so far but am still struggling.

What I have done:

1. Installed Web Platform Installer.
2. Installed msdeploy
3. Started and set to automatically start: "Web Deployment Agent Service" and "Web Management Service"
4. Created a web site in IIS 7 and set permissions.
5. Tested the website "http://server/page and get a blank directory browsing because nothing is added yet.

So now I would like to deploy but am getting an error : "No connection could be made because the target machine actively refused it:10.224.201.117:8172

I have tested telnet'ing to the address on port 8172 which fails.

It is suggested that msdeploy is not configured correctly and I need to Enable Remote Connections. However it does not seem that Windows 7 IIS 7 has the icons in IIS to do this. (No "Management Service" option under add / remove features of IIS)
Does this mean i can not deploy to Windows 7 IIS 7?
Or is there another way to enable remote connections, perhaps using powershell?

Any help is greatly appreciated

Tx

Neill

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文