部署 Silverlight5 应用时出错:查询的加载操作失败



我在部署 Silverlight5 应用程序时遇到问题。 我正在发布到运行IIS6的Windows服务器2003 R2。 这是我得到的错误:

加载错误 -

System.ServiceModel.DomainServices.Client.DomainOperationException: 
Load operation failed for query 'GetvSiteSetupStatus'. 
[HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide 
sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.10411.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer 
---> System.ServiceModel.CommunicationException: [HttpWebRequest_WebException_RemoteServer]

从我可以看到控件加载,但没有显示任何数据。 在服务器上运行探查器显示查询根本不在数据库上运行。 我怀疑这是一个 WCF 问题,但不知道从哪里开始寻找。 错误不是很清楚。

任何帮助将不胜感激。谢谢

我想出了我的错误。 我正在用.html而不是.aspx测试我的页面。

最新更新