title: MVC 4 routing "finding" controllers inside an Area
body: <p>I have a MVC 4 WebSite with several Areas... I´m using all default routing created by VS2012...</p>
  
  <p>So, I can access (from Area1) :</p>
  
  <pre><code>Area1/ControllerX/ActionX
  </code></pre>
  
  <p>I have some controllers without Area, so I can access :</p>
  
  <pre><code>ControllerY/ActionY
  </code></pre>
  
  <p>All fine... But, if I try to access the ControllerX without the Area1, like that :</p>
  
  <pre><code>ControllerX/ActionX
  </code></pre>
  
  <p>I got that error:</p>
  
  <pre><code>Exception: The view 'ActionX' or its master was not found or no view engine supports the
  searched locations. The following locations were searched: ~/Views/mangavagao/ActionX.cshtml 
  ~/Views/Shared/ActionX.cshtml 
  Controller: ControllerX
  Action: ActionX
  </code></pre>
  
  <p>I was expecting a Not Found 404 error... Why is that route been captured ?</p>
  
  <p>--</p>
  
  <p>Area route: </p>
  
  <pre><code>context.MapRoute(
              "Area1_default",
              "Area1/{controller}/{action}/{id}",
              new { controller = "ControllerX", action = "ActionY", id = UrlParameter.Optional }
  );
  </code></pre>
  
  <p>Default route:</p>
  
  <pre><code>routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "ControllerY", action = "ActionY", id = UrlParameter.Optional     );
  </code></pre>