title: Partial view with @HTML.Action(...)
body: <p>I have a strongly typed partial view that should show the name of an account that a user is logged into:</p>
  
  <pre><code>
  @model MyNamespace.Models.AccountNameViewModel
  
  @if (Request.IsAuthenticated)
  {
      @Html.Action("AccountName", "AccountNameController", Model)
      Logged in to <strong>@Model.AccountName</strong>
  }
  </code>
  </pre>
  
  <p>I have a controller:</p>
  
  <pre><code>public class AccountNameController : Controller
  {
      public ActionResult Index()
      {
          return View();
      }
  
      [ChildActionOnly]
      public ActionResult AccountName(AccountNameViewModel model)
      {
          ... Do somthing with the repository to populate the model
          return PartialView(model);
  
      }
  }
  </code></pre>
  
  <p>What I want to do is add a shared partial view that displays the name of an account that a user is logged into.  What I get is the following error:</p>
  
  <pre><code>The controller for path '/ParentViewPath/' was not found or does not implement IController.
  </code></pre>
  
  <p>Am I at least heading in the right direction?</p>