WCF, Silverlight: clientaccesspolicy.xml not being found

前端 未结 2 1900
攒了一身酷
攒了一身酷 2021-01-20 00:46

I\"m trying to connect my Silverlight application to a WCF service that I\'m hosting myself. I\'ve created a clientaccesspolicy.xml file, and placed it in the service host p

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-20 01:03

    The clientaccesspolicy.xml file must be in the root of the domain where the service is hosted. You may already have it there but the virtual path of the web site or web application from the property page will need to be changed to "/"

    See this page for more information.

提交回复
热议问题