title: There is already an open DataReader
body: <p>I have some code in my cshtml:</p>
  
  <pre><code>@model IEnumerable&lt;Floor&gt;
  @{
      var floors = Model
  }
  </code></pre>
  
  <p>And I have error in this line:</p>
  
  <p>@foreach (var shopfloor in floor_l.ShopFloors)</p>
  
  <p>I can get work around using .ToList() after Model assign.</p>
  
  <p>What could be the cause of the error? who have faced?</p>
  
  <p>This error appears sporadically.</p>