Home > Database > Mysql Tutorial > Silverlight + WCF 常见错误调试方法

Silverlight + WCF 常见错误调试方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:17:30
Original
1229 people have browsed it

1、 404 Not Found a. 检查服务器是否放了 ClientAccessPolicy.xml 文件。内容范例如下: ?xmlversion="1.0"encoding="utf-8"? access-policy cross-domain-access policy allow-fromhttp-request-headers="*" domainuri="*"/ /allow-from grant-to resource


1、 404 Not Found

  a. 检查服务器是否放了 ClientAccessPolicy.xml 文件。内容范例如下:

 




  
    
      
        
      
      
        
      

    

  

  b. 还有可能因为其他原因造成,可以用 http 监听工具查看 response 的内容,看到异常信息。

  2. 调用 WCF 时发现传参丢失,变成 null.

  原因:客户端代理不同步,更新一下服务引用即可

本文作者:未知

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template