public JsonResult GetAirportDropDown() { DropDownListsRepository modelRepo = new DropDownListsRepository(); // return Json(modelRepo.GetRegion().OrderBy(o => o.ID).Select(c => new { RegionID = c.ID, Region = c.ID }).OrderBy(o => o.RegionID), JsonRequestBehavior.AllowGet); return new JsonResult() { Data = (modelRepo.GetClosestAirportDropdown().OrderBy(o => o.Name).Select(c => new { Value = c.ID, Text = c.Name }).OrderBy(o => o.Text)), JsonRequestBehavior = JsonRequestBehavior.AllowGet, MaxJsonLength = Int32.MaxValue //Use this value to set your maximum size for all of your Requests }; }