title: ajax call doesn't hit breakpoint but continues to success function
body: <p>I have this ajax call. This is the first time I'm experiencing this problem. First, the break point on my action is not being hit. Second, the success function is being executed. Third, the value of my storeList/data is the whole code of the whole body content. This might be caused of my action not being found.</p>
  
  <pre><code>$.ajax({
    type: 'POST',
    url: '/reports/GetStoreFranchiseList?franchiseId=' + franchiseId,
    success: function (storeList) {
      console.log(storeList);
      var appendStr = "&lt;li&gt;&lt;a href='#' onclick=changeStore('All', 'All')&gt;All&lt;/a&gt;&lt;/li&gt;";
      // $.each(storeList, function (k, v) {
      //   console.log(v);
      //   appendStr += "&lt;li&gt;&lt;a href='#' onclick=changeStore('" + v.Id + "','" + v.StoreName + "')&gt;" + v.StoreName + "&lt;/a&gt;&lt;/li&gt;";
      // });
      console.log(appendStr);
      $(".rptStoreDdl").html(appendStr);
      $("#rptStoreDdlDv").removeClass().addClass("btn-group");
    }
  });
  </code></pre>
  
  <p>When I try uncommenting the each function, I get this error: <code>Uncaught TypeError: Cannot use 'in' operator to search for '21748' in #&lt;error&gt;</code> </p>
  
  <p>Obviously because the data is wrong. Any Ideas guys? Thanks!</p>
  
  <p>EDIT:</p>
  
  <p>Tried accessing it via fiddler and I'm getting this: <code>/Error/NotFound?aspxerrorpath=/reports/GetStoreFranchiseList</code></p>
  
  <p>This triggers my customer error for not found. I'm really not sure why my action is not found.</p>
  
  <p>Controller action:</p>
  
  <pre><code>[InPrivate]
  public class ReportsController : Controller
  {
      [HttpGet]
      public JsonResult GetStoreFranchiseList(string franchiseId)
      {
          var data = new List&lt;Store&gt;();
  
          if(WebUser.Franchisees != null &amp;&amp; WebUser.Franchisees.Count() &gt; 0)
          {
              data = WebUser.Franchisees.FirstOrDefault(a =&gt; a.Id == franchiseId).Stores;
          }
  
          return Json(data, JsonRequestBehavior.AllowGet);
      }
  }
  </code></pre>