In ASP.NET MVC if you call an action method on the server from JavaScript code and that action method raises an exception, you'll get an error at the client that lets ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results