Issue with ajax calls between different sites(mvc and web api) fixed by using jsonp datatype in ajax call.