在 IIS 5 上运行 RIA 服务时出现问题

发布于 2024-08-04 21:47:58 字数 312 浏览 1 评论 0原文

我正在设置一个环境,用于在 IIS 5.1 中使用 RIA 服务测试 Silverlight 应用程序。我在第一次服务调用时收到一条错误消息,显示“未找到指定的资源”。

仅当我将项目部署到本地 IIS 5 设置时才会发生这种情况,它在 Visual Studio 托管的 Web 服务器中工作正常。我在 IIS 6 中也遇到了这个问题,但当我选择虚拟目录并选择“转换为应用程序”时解决了该问题。问题是,IIS 5 没有这个功能(无论如何我都可以找到)。

有人有在 IIS 5 上部署 RIA 服务的经验吗?在网上搜索时,我只发现了与 Azure 相关的问题和其他没有帮助的修复。

I'm setting up an environment for testing a Silverlight app with RIA Services in IIS 5.1. I'm getting an error message on the first service call saying "The specified resource was not found."

This only occurs when I deploy the project to my local IIS 5 setup, it works fine in the Visual Studio hosted web server. I was having this issue with IIS 6 too but fixed the issue when I selected the virtual directory and selected "Convert to Application." Problem is, IIS 5 doesn't have this function (that I can find, anyway.)

Anyone have experience deploying RIA Services on IIS 5? Scouring the web I've only found related issues with Azure and other fixes that didn't help.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终难遇 2024-08-11 21:47:58

您可能会发现在虚拟机中运行 Windows Server 2008 的生活不再那么痛苦。 (我认为 RIA 的开发人员现在不会在 XP 上运行!)

如果您有其他原因,将您的计算机升级到 Windows 7 将为您提供一个更像服务器上的 IIS 版本,但是使用虚拟机风险较低。

抱歉这个坏消息,但是 XP 已经相当旧了…… (但是我仍然有 2 台机器在运行它)

You may find life less painful running Windows Server 2008 in a virtual machine. (I don’t think the developers of RIA will be running on XP these days!)

If you have other reasons, upgrading your machine to windows 7 will give you a version of IIS more like what you get on a server, however using a virtual machine is lower risk.

Sorry for the bad news, but XP is rather old…. (However I still have 2 machines running it)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文