部署一个Silverlight 项目到客户的服务器上,数据访问采用WCF RIA Service,服务器是Win 2003 + IIS 6, 遇到了问题:@H_404_5@
@H_404_5@
Unhandled Error in Silverlight Application Load operation Failed for query 'xxxx'. 远程服务器返回了错误: NotFound@H_404_5@
@H_404_5@
根据Saurabh的blog Deploying Application built using RIA Services RC,得知程序的Form验证不能与IIS的集成验证一起使用:@H_404_5@
@H_404_5@
Forms Auth + Anonymous will also work fine but Forms Auth + Integrated Auth is not supported.@H_404_5@
@H_404_5@
@H_404_5@
Saurabh 文中提到的通过构造.svc url 并检查该url是否正常工作,也对排错很有帮助:@H_404_5@
@H_404_5@
For every DomainService,a WCF Service is created at runtime using the ASP.NET feature of Virtual Path Providers. More details on the dynamic .SVC file creation can be found in my blog post here.@H_404_5@
Since it is a virtual file you will not see a physical .svc in your deployed project,but it will exist at runtime. Being able to browse to the .SVC can be key to debugging RIA Services deployment issues.@H_404_5@
For a given DomainService the path to its .SVC can be determined using the following convention:@H_404_5@
[BaseURI] + [DomainServiceNameWithNamespace].svc with all “.” in the DomainServiceFullName replaced by “-“@H_404_5@
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。