I am getting a webapi HttpError from my application, which is expected, but its missing the exceptionMessage, exceptionType and stacktrace properties
Here is the odd part - If I run my app locally (windows 8, IIS) I see the the missing properties in the response:
{ message: "An error has occurred." exceptionMessage: "unable to continue." exceptionType: "System.ApplicationException" stackTrace: null }
Now when I build the app and deploy it to our test server (windows server 2008 r2), here is the response:
{ message: "An error has occurred." }
I have compared IIS locally and on the test server, but I am not seeing any differences. I also made sure that we were running the same version of .net.
Any ideas?