在 Xbap 上发布到 Windows Server 2003 上的 IIS

发布于 2024-07-08 20:27:28 字数 350 浏览 6 评论 0原文

我已经编写了一个 Xbap 应用程序并将其发布到 Windows XP 计算机,没有任何问题。 现在我想将 Xbap 应用程序发布到运行 Windows Server 2003 的计算机。发布应用程序时我没有遇到任何失败,但是当我尝试浏览应用程序时出现失败并且无法浏览应用程序。

当我尝试运行 http://localhost/MyApp/setup.exe 时,它说该文件无法找到...

与 Windows XP 相比,发布到 Windows Server 2003 计算机时我还需要做一些其他事情

Ive programmed an Xbap Application and published it to Windows XP computer without any problem. Now I want to publish the Xbap application to a Computer running Windows Server 2003. I do'nt get any failure when I´m publish the application, but when I try to browse the application I got failure and I cant browse the application.

When i try to run http://localhost/MyApp/setup.exe, It says that the file could not be found...

I there someting else I have to do when publish to a Windows Server 2003 Computer compared to Windows XP

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

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

发布评论

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

评论(1

妥活 2024-07-15 20:27:28

这里的问题似乎是 IIS 中的 MIME 类型。 通过在 IIS 中注册以下 MIME 类型解决了我的问题:

  • .manifest application/manifest
  • .xaml application/xaml+xml
  • .application application/x-ms-application
  • .xbap application/x-ms-xbap
  • .deploy application/octet-stream
  • 。 xps application/vnd.ms-xpsdocument

有关如何执行此操作的详细信息,请参阅:

http://msdn.microsoft.com/en-us/library/ms752346.aspx#content_expiration

  • 列表项

Its seems like the problem here was the MIME Types in IIS. By register the followign MIME Types in IIS solved my problem:

  • .manifest application/manifest
  • .xaml application/xaml+xml
  • .application application/x-ms-application
  • .xbap application/x-ms-xbap
  • .deploy application/octet-stream
  • .xps application/vnd.ms-xpsdocument

For more information how to do this, see:

http://msdn.microsoft.com/en-us/library/ms752346.aspx#content_expiration

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