开发者

How to know which resource is throwing a HttpException in my Application_Error

开发者 https://www.devze.com 2023-03-20 14:33 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号