博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
WCF RIA Service + IIS 6: NotFound 错误
阅读量:3032 次
发布时间:2019-05-15

本文共 1007 字,大约阅读时间需要 3 分钟。

部署一个Silverlight 项目到客户的服务器上,数据访问采用WCF RIA Service,服务器是Win 2003 + IIS 6, 遇到了问题:

Unhandled Error in Silverlight Application Load operation failed for query 'xxxx'. 远程服务器返回了错误: NotFound

根据Saurabh的blog ,得知程序的Form验证不能与IIS的集成验证一起使用:

Forms Auth + Anonymous will also work fine but Forms Auth + Integrated Auth is not supported.

取消IIS上的集成验证,问题解决

Saurabh 文中提到的通过构造.svc url 并检查该url是否正常工作,也对排错很有帮助:

Browsing to the .SVC

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.

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.

For a given DomainService the path to its .SVC can be determined using the following convention:

[BaseURI] + [DomainServiceNameWithNamespace].svc with all “.” in the DomainServiceFullName replaced by “-

转载地址:http://twaic.baihongyu.com/

你可能感兴趣的文章
java 缓冲流 Buffer
查看>>
7月23号=》261页-265页
查看>>
软考知识点梳理--综合布线
查看>>
Mysql5.6主从热备配置
查看>>
VS2010DebugView捕捉
查看>>
mfix中更改time dependent VTK filename的最大时间步数的容量
查看>>
Windows7安装 docker-compose的过程
查看>>
关于nodeJS多线程的支持,目前看来无法实现,讲解v8的一些东西
查看>>
php递归创建文件夹的两种方法
查看>>
6.新增事件
查看>>
|洛谷|二分|P1182 数列分段Section II
查看>>
少儿编程Scratch第四讲:射击游戏的制作,克隆的奥秘
查看>>
Oracle学习第七课-表连接及其应用
查看>>
Python基础篇【第十三篇】:面向对象
查看>>
bzoj 2465 小球
查看>>
Study Plan - The Thirty-Fifth Day
查看>>
图的深度优先遍历和广度优先遍历理解
查看>>
multi_index_container性能测试
查看>>
【阿里云产品公测】结构化数据服务OTS之JavaSDK初体验
查看>>
AngularJs学习笔记--IE Compatibility 兼容老版本IE
查看>>