title: Cannot fetch wcf service remotely
body: <p>i have 2 systems, one is localhost(Windows 8.1Pro) and another is Virtual Machine(Windows server 2008R2).
  i have a silverlight app hosted in VM which is consuming WCF service from localhost installed in windows service.</p>
  
  <p><strong>Problem:</strong></p>
  
  <p>silverlight is not getting clientaccesspolicy.xml and crossdomain.xml so wcf service will not fetched.</p>
  
  <p><strong>Tried solutions:</strong></p>
  
  <ol>
  <li><p>Added clientaccesspolicy.xml and crossdomain.xml in WCF service solution before installing but still it can't be fetched from WCFservice url.</p></li>
  <li><p>Added clientaccesspolicy.xml and crossdomain.xml in C:\inetpub\wwwroot folder, as per my search so many suggested to place their which will be automatically fetched by  silverlight.</p></li>
  <li><p>tried adding clientaccesspolicy.xml code into wcf service as per this <a href="http://www.developerfusion.com/community/blog-entry/8392371/consuming-a-selfhosted-wcf-service-in-silverlight/" rel="nofollow">link</a> still no success.</p></li>
  </ol>
  
  <p>Any suggestions will be appreciated.</p>
  
  <p><strong>Edit:</strong>
  okay i am attaching code FYR, i am doing this as below.</p>
  
  <ol>
  <li><p>once i build WCFTest , 'll get .exe wcf installer which i am installing that using installutil.exe, so service'll be up and running in services.msc.</p></li>
  <li><p>once i build TestSL, 'll get TestSLTestPage.html , on double clicking on this it'll open in IE, and on button click i should get "Hello World" from WCF.</p></li>
  </ol>
  
  <p><a href="http://s000.tinyupload.com/?file_id=96558361375491779079" rel="nofollow">Download it from here</a> and suggest me if i am doing anything wrong. Attached projects are of exact same structure as i am workinig on....</p>
  
  <p>Regards,</p>
  
  <p>Jithendra</p>