After publish to server lookup to a different .svc not working RRS feed

  • Question

  • I have a HTMLClient that works fine within VS2012 with SP2 CTP4. After publishing to my server I can login with form authentication but when I try to display data with a lookup to a different datasource I get the following:

    The URI 'http://abaco/RbdmsEnvHtml//EnvData.svc/FacilityByFacilityName()?$expand=LookupCounty&$top=45&$inlinecount=allpages' is not valid since it is not based on ''.

    Both datasources are using identical connection strings. Is there a fix for this?


    Wednesday, April 3, 2013 7:14 PM


  • I added a ClientAccessPolicy.xml file to the deployment directory to correct this problem. It would be nice if the deployment utility would include the ClientAccessPolicy.xml file automatically.
    • Marked as answer by MelroseTom Thursday, April 4, 2013 6:35 PM
    Thursday, April 4, 2013 6:35 PM