In the view I am getting the JSON data from the controller. Path is working in my local but not working in the other servers.
$.get('../TestController/GetTestResultById?Id=' + s.GetValue(), function (data) { some data }
It is in this format I am getting the data in local but in different server the path should be appname/controllername/.... but getting as controllername/.... How to resolve this issue.