title: Why some or all identity references could not be translated
body: <p>In the visual studio 2010, there is no error and everything works fine, but when I publish to IIS once an error</p>
  
  <p>line:</p>
  
  <pre><code>Microsoft.Expression.Encoder.Preset pres = Microsoft.Expression.Encoder.Presets.VC1IISSmoothStreamingSD480pVBR;
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>Server Error in '/' Application.
  some or all identity references could not be translated
    Description: An unhandled exception occurred during the execution of the current web request. Examine the stack trace for more information about this error and where it originated in the code.
  
    Exception Details: System.Security.Principal.IdentityNotMappedException: some or all identity references could not be translated.
  </code></pre>
  
  <p><strong>update:</strong>
  I'm getting the same error from line: </p>
  
  <pre><code>var job = new Job();
  </code></pre>
  
  <p>namespace:</p>
  
  <pre><code>using System;
  using System.Linq;
  using System.Web.Mvc;
  using Microsoft.Expression.Encoder;
  using Microsoft.Expression.Encoder.Profiles;
  using VideoSmooth.Domain.Abstract;
  using VideoSmooth.Domain.Entities;
  using VideoSmooth.Web.Models;
  </code></pre>