How to know which resource is throwing a HttpException in my Application_Error
The Application_Error event is being raised in my application with a HttpException. Inside the exception I see a 404 error code - resource not found.
I've already used Firebug to check if there's some image/css/js with 404 开发者_高级运维error code and didn't found.
The question is: How can I get the resource that's firing this error?
Thanks,
Armando
Try checking Request.Url
in Application_Error
in Global.asax
.
精彩评论