Last post Oct 26, 2017 06:59 AM by komaldparekh
Aug 17, 2017 11:51 PM|dolot|LINK
I have a situation where I'm using an ajax request to return some html from an mvc app. The controller checks to see if the user is logged in (something it does in most of our controller methods), generates the model, and then returns the view. This code
works just fine on my local machine, but when moved up to the azure server something is amiss. No error message is being sent back to the client that I can see, but something is obviously wrong. It could be the client side or server side code - for some
reason, though, I'm suspecting the server side.
I found a log file on the server called eventlog.log, but that didn't containing anything that pointed me to my problem. 996 of the error messages said the same thing, and 4 were different. I have those copied below:
Does anybody have any idea how I can figure out what's wrong with my app?
Aug 18, 2017 07:00 AM|Kelmen|LINK
have u enable display ajax error message at client site?
have a look http://blog.jeromeparadis.com/2007/03/01/1501/
Aug 18, 2017 10:58 AM|dolot|LINK
Yes, I have code in place to display the error message if it returns. I'm wondering, though, if for some reason Asp.net is not returning the error message. I've seen this in other places in our code, where an error occurs server side but it isn't sent
to the client.
Aug 18, 2017 11:27 AM|PatriceSc|LINK
This is a VM or a web app? Try
What is the wrong behavior you are seeing for now? To start with the Ajax request fails with some http status?
Oct 26, 2017 06:59 AM|komaldparekh|LINK
Are you logging every exception, your application throws. There may be chances you have missed to log on some places inside cache. So it will not throw or not even log the exceptions.