title: Where to place ClientAccessPolicy.xml for Local WCF Service?
body: <p>I'm trying to create a basic WCF Service and Silverlight client.</p>
  
  <p>I've followed the following tutorial: <a href="http://channel9.msdn.com/shows/Endpoint/Endpoint-Screencasts-Creating-Your-First-WCF-Client/" rel="nofollow noreferrer">http://channel9.msdn.com/shows/Endpoint/Endpoint-Screencasts-Creating-Your-First-WCF-Client/</a></p>
  
  <p>Since Silverlight 4 was incompatible with the WSHttpBinding, I changed it to BasicHttpBinding.</p>
  
  <p>Unfortunately I keep getting this error now: "An error occurred while trying to make a request to URI'**'.This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent."</p>
  
  <p>I placed clientaccesspolicy.xml in the root directory of the WCF project (which is in the same solution as the Silverlight client). This did not solve the problem.</p>
  
  <p>What do I need to do?</p>