title: Entity Framework Login Failed Error
body: <p>I have hosted my WCF application in IIS and set an app pool with 4.0 integrated.  I configured the pool identity as network service.  I have already checked other posts related to this issue but could not resolve it.</p>
  
  <p>I get the below exception</p>
  
  <pre><code>System.Data.Entity.Core.EntityException was unhandled by user code
  
  
  HResult=-2146233087
    Message=The underlying provider failed on Open.
    Source=EntityFramework
  </code></pre>
  
  <p>I tried modifying app pool to localsystem from network service, it works fine.
  Any guess why it takes my system name as login in the earlier case?</p>