0
votes

I am trying to access a WCF service from silverlight application .I have hosted this service in local IIS and checked if that I am getting service correctly but when I try to access it from silverlight I am getting crossdomain error .

I checked few threads on MSDN and stackoverflow placed clientaccesspolicy.xml and crossdomain file in root folder of my IIS but I still get this same error .

can anyone help me out .

1

1 Answers

0
votes

If you install a tool like fiddler (or any other software that lets you see what requests are made) you can track on which path the policy file needs to be. In most cases you used the wrong directory for the file or there is no request made because it's cached somewhere.

Check if your file is where it is supposed to be. Most likely, it's not.