I have the default Route in Global.asax:
RouteTable.Routes.MapHttpRoute( name: \"DefaultApi\", routeTemplate: \"api/{controller}/{id}\",
The possible reason can also be that you have not inherited Controller from ApiController. Happened with me took a while to understand the same.