I catch the exception in the Global.asax.Application_Er
ror() function, and extract the
exception, log it and redirect to the proper page thusly: (I use MVC)
protected void Application_Error(object sender, EventArgs e)
Exception exception = Server.GetLastError();
BUT I CAN NOT FIND THE FILENAME that's missing.
I have browsed Google and found this post, which was never answered completely.
I do not want to install some program to find the filename, as was suggested. It's in either the exceptionor Server, since I saw it once while debugging. But I was to grab the filename and log that to the exception log file.
Can anyone tell me how to find it?