title: Yet, another "Load operation failed for query 'GetUsers'" exception
body: <p>Recently I'm deploying Silverlight RIA application. Application works fine on the test machine, problems started when I moved it to production server. Application uses Windows Authentication. Basically I reproduced test machine's environment IIS settings and then copied entire application folder and modified web config. Below I'm listing problems and symptoms I'm having:</p>
  
  <ul>
  <li><p>When I try to log in to the application from PRODUCTION server, loggin box appears. Obviously server works with the Windows domain. I <strong>can't</strong> log in with my domain credentials.</p></li>
  <li><p>When I try to log in to the application from external machine logging box also appears, this time though I <strong>can</strong> log in with my credentials. Mentioned exception appears (<code>System.ServiceModel.DomainServices.Client.DomainOperationException</code>).
  It's very strange since in test servers I never had to pass my Windows domain credentials.</p></li>
  </ul>
  
  <p>I've used fiddler to check server response for AuthenticationService.svc call:</p>
  
  <pre><code>@Fault5http://schemas.microsoft.com/ws/2005/05/envelope/none@Code@Value�Sender@Reason@Textxmllang�pl-PL@Detail@DomainServiceFaultDomainServices i)http://www.w3.org/2001/XMLSchema-instance@    ErrorCode��@ErrorMessage.nil�@IsDomainException�
  </code></pre>
  
  <p>Also, I've added traces to application:</p>
  
  <pre><code>        &lt;source name="LANOS.Web.AuthenticationContext"
              switchValue="Information, ActivityTracing"
              propagateActivity="true"&gt;
              &lt;listeners&gt;
                  &lt;add name="xml" /&gt;
              &lt;/listeners&gt;
          &lt;/source&gt;
          &lt;source name="System.ServiceModel"
                  switchValue="Information, ActivityTracing"
                  propagateActivity="true" &gt;
              &lt;listeners&gt;
                  &lt;add name="xml"/&gt;
              &lt;/listeners&gt;
          &lt;/source&gt;
          &lt;source name="LANOS.Web"
                  switchValue="Information, ActivityTracing"
                  propagateActivity="true"&gt;
              &lt;listeners&gt;
                  &lt;add name="xml" /&gt;
              &lt;/listeners&gt;
          &lt;/source&gt;
      &lt;/sources&gt;
  </code></pre>
  
  <p><a href="http://pastebin.pl/03182f20a3fc8ddb5de6a9ae34be03cc" rel="nofollow">*.svclog is available here.</a></p>
  
  <p>I know there are loads of answers in gooogle. However this exception is quite generic and I have not found similar question. I've tried coping DLL's and modifying web-config according to diffrent solutions in the web. Nothing helped.</p>