title: IIS Web Farm No owin.Environment item was found in the context
body: <p>I am trying to set load balancing with IIS ARR but getting this error when I try to login, It works find if I test it outside ARR</p>
  
  <p>Server Error in '/' Application. No owin.Environment item was found in the context. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
  
  <p>Exception Details: System.InvalidOperationException: No owin.Environment item was found in the context.</p>
  
  <p>Source Error:</p>
  
  <p>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</p>
  
  <p>ADDITIONAL INFORMATION:
  After lots and lots of investigation and googling for answer, I still did not find answer why that error was happening. At last I tried fresh project and moved all my files to it and it worked.</p>
  
  <p>It must have been some settings or anything, I don't know really. but creating new solution solved it.</p>
  
  <p>if anyone knows exact reason why this happen, I would still like to know this.</p>