The model item passed into the dictionary is of type .. but this dictionary requires a model item of type
<p><strong>This question and community wiki answer has been added to assist in closing out numerous unanswered questions as discussed in <a href="https://meta.stackoverflow.com/questions/337063/creating-a-dupe-target-to-manage-a-plethora-of-duplicate-questions">this meta post</a>.</strong></p>

<hr>

<p>I have some code and when it executes, it throws an exception saying:</p>

<blockquote>
  <p>The model item passed into the dictionary is of type Bar but this dictionary requires a model item of type Foo</p>
</blockquote>

<p>What does this mean, and how do I fix it?</p>