从IIS7.5迁移到IIS10后,Silverlight5应用程序无法正常工作 [英] Silverlight5 application not working after migration from IIS7.5 to IIS10

查看:91
本文介绍了从IIS7.5迁移到IIS10后,Silverlight5应用程序无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当将MS server 2008R2更改为MS server 2016时,silverlight5业务应用程序在新环境中不起作用。我得知已知错误"加载操作查询失败'GetUser'。远程服务器返回错误:Notfound"。至于
,因为我看到这是因为找不到WCF服务器。它适用于以前的环境。我已经在目标计算机上安装了VS2015,并且已经看到数据库访问正常。防火墙被临时禁用,并添加了对
无法成功的文件的完全访问权限。目标计算机上的应用程序(MS server 2016)适用于IISEXPRESS,但不适用于IIS。任何帮助将不胜感激。

When changing MS server 2008R2 to MS server 2016, silverlight5 business application does not work in new environment. I am getting known error "Load operation failed for query 'GetUser'. The remote server returned an error: Notfound". As far as I have seen this is because WCF server is not found. It works in previous environment. I have installed the VS2015 on target computer and have seen that the database access is ok. Firewall was temporary disabled and added full access to files with no success. The application on target computer (MS server 2016) works on IISEXPRESS but not on IIS. Any help would be appreciated.

Srečo

使用.NET Framework 4.5的Silverlight 5商业应用

Silverlight 5 business app with .NET Framework 4.5

带有IIS 10的MS server 2016

MS server 2016 with IIS 10

推荐答案



您好srecov,


Hi srecov,

根据您的描述,我建议您可以尝试启用WCF跟踪,然后安装Fiddler以获取有关通信的更多信息。 Silverlight的每个通信错误都会以NotFound的形式返回,所以对于请求/响应
本身而言,你唯一真正的希望就是让Fiddler给你一些额外的洞察力。 WCF跟踪有望为您提供有关服务器端发生的更多信息。

From your description, I suggest you can try to enable WCF tracing, and then installing Fiddler to get more information about the communication. Every communication error with Silverlight comes back as NotFound, so your only real hope as far as the request/response itself goes is to have Fiddler give you a little extra insight. WCF tracing will hopefully give you some more info on what's happening on the server end.

如何启用WCF跟踪:

https://blogs.msdn.microsoft.com/madhuponduru/2006/05/18/how-to-enable-wcf-tracing/

How to enable WCF tracing:
https://blogs.msdn.microsoft.com/madhuponduru/2006/05/18/how-to-enable-wcf-tracing/

下载Fiddler:

https://www.telerik。 com / download / fiddler

Download Fiddler:
https://www.telerik.com/download/fiddler

以下链接可能对您有所帮助。

The following links may helpful you.

查询'GetUser'的加载操作失败。远程服务器返回"未找到":

https://social.msdn.microsoft.com/Forums/silverlight/ EN-US / 3e062dd4-98b1-4aa4-a517-56279984393b /负载操作失败换查询的getUser最远程服务器返回安未找到?论坛= silverlightwcf

load operation failed for query 'GetUser'. The remote server returned an 'not found':
https://social.msdn.microsoft.com/Forums/silverlight/en-US/3e062dd4-98b1-4aa4-a517-56279984393b/load-operation-failed-for-query-getuser-the-remote-server-returned-an-not-found?forum=silverlightwcf

为Silverlight应用程序配置IIS:

https://docs.microsoft.com/en-us/iis/web-hosting/web-server-for-shared-hosting/configuring- iis-for-silverlight-applications

Configuring IIS for Silverlight Applications:
https://docs.microsoft.com/en-us/iis/web-hosting/web-server-for-shared-hosting/configuring-iis-for-silverlight-applications



另外,我猜一些IIS配置可能会导致一些问题。您可以访问 IIS论坛
获取一些帮助。



注意:此响应包含对第三方万维网站点的引用。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也未测试在这些网站上找到的任何软件或信息;因此,
Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。使用互联网上的任何软件都存在固有的危险,微软提醒您在从互联网上检索任何软件之前,确保您完全了解风险.b $ b。


Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.



最好的问候,


Best Regards,

Yohann Lu

Yohann Lu

这篇关于从IIS7.5迁移到IIS10后,Silverlight5应用程序无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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