views:

36

answers:

0

I'm hosting a Silverlight Business Application Template derived application on an IIS Server. I'm using the built-in Forms Authentication which is working perfectly.

Unfortunately, I've added an additional service which has peculiar behavior. If I remote into the server and use the site everything works as expected. If I connect to the site from another PC, Authentication still works but my custom Domain Service is failing with the following error:

IE Throws this Error Message:

System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'Get___'. Exception of type 'System.ServiceModel.DomainServices.Client.DomainOperationException' was thrown.

I tried debugging the process and get a little more information:

System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'Get___'. The remote server returned an error:NotFound. ---> System.ServiceModel.CommunicationException: ...

My clientaccesspolicy and crossdomain policies are in both wwwroot and the root of the website and are the following:

<?xml version="1.0" encoding="utf-8" ?> 
<access-policy>
  <cross-domain-access>
    <policy>
      <allow-from http-request-headers="*">
        <domain uri="*" /> 
        <domain uri="http://*" /> 
        <domain uri="https://*" />
      </allow-from>
      <grant-to>
        <resource path="/" include-subpaths="true" /> 
      </grant-to>
    </policy>
  </cross-domain-access>
</access-policy>

The Domain Service that's failing is using an ADO.NET Entity Model. The entities of which are in the same the aspnetdb database that is used for authentication and I've granted file permissions for the IIS User (and Administrator, I got desperate) for the App_Data folder which contains the db.

Again, all services work if connecting locally on the server. Only the Auth/Registration services works when connecting remotely.

I've searched for two days and tried every solution I can find but can't seem to get it working. Any advice or direction would be greatly appreciated.