title: How can I specify a namespace when calling @Html.Action(...) in ASP.NET MVC
body: <p>When I try to use <code>Html.Action</code> in ASP.NET MVC 3 for a controller in a different namespace from the current controller I get an error :</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>@Html.Action("Foo", "Application", new { id = "FG2" })
  </code></pre>
  
  <p><strong>Error :</strong></p>
  
  <blockquote>
    <p>The controller for path
    '/rrmvc/store/checkout' was not
    found or does not implement
    IController.</p>
  </blockquote>
  
  <p>This error only occurs when the controller <code>ApplicationController</code> is in a different NAMESPACE from the current controller such as <code>StoreControllers.CheckoutController</code> (in fact they're in completely different areas too).</p>
  
  <p>Is there no way to specify a namespace when calling <code>Html.Action</code> (none of the obvious ways like fully qualifying the namespace seem to work)?</p>
  
  <p>There are no lambda methods to use, and I had <a href="https://stackoverflow.com/questions/3383618/is-response-write-working-with-razor/3383674#3383674">no luck using <code>Html.RenderAction</code></a> in MVC3 RTM.</p>
  
  <hr>
  
  <p><em>Edit</em> : I think it might be related to the area - or perhaps this could be a complete red herring too. I have another controller in a different namespace that DOES work correctly - so I think the problem is more complicated. I'll reply with an answer if i figure it out - or just delete this question if not to avoid confusion!</p>