title: MVC: No parameterless constructor for this object
body: <p>I know I can correct the problem by simply adding a parameterless constructor to the model, but I would like to understand why.</p>
  
  <p>The standard MVC template in VS2013 has an <code>error</code> view in the Shared folder.  It takes a <code>HandleErrorInfo</code> class as its model.  This view is called directly from various places and there is no matching <code>Error</code> action defined.</p>
  
  <p>I added an Error action intending to add logging:</p>
  
  <pre><code>public ActionResult Error(HandleErrorInfo model)
  {
      //TODO! Log error
      return View(model);
  }
  </code></pre>
  
  <p>This resulted in the <code>No parameterless constructor defined for this object</code> exception when I called:</p>
  
  <pre><code>return RedirectToAction("error", model);
  </code></pre>
  
  <p>The above pattern is everywhere in the project, and all the models I see also do not have a parameterless constructor.  Why is it happening in this Error action?</p>