开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜