简体   繁体   English

在vs2013中,全局asa错误处理不再起作用了吗?

[英]Global asa error handling doesnt work anymore in vs2013?

I'm following the approach of this answer: https://stackoverflow.com/a/620559/2274562 我正在遵循此答案的方法: https : //stackoverflow.com/a/620559/2274562

Until last week, everything is running fine. 直到上周,一切运行良好。 I was using vs2012 and the error works greats, the result was like this one result here: http://instarating.validando.com.br/asdasd 我正在使用vs2012,但错误效果很好,结果如下所示: http : //instarating.validando.com.br/asdasd

But this week I upgraded my vs to vs2013. 但是这周我将我的vs升级到vs2013。 After a lot of headache with mvc5 upgrades, I stuck again in this one. 在对mvc5升级感到非常头痛之后,我再次陷入了困境。 Now, the approach to error handling, just gave me an html page, like this image. 现在,错误处理的方法只是给了我一个html页面,就像这张图片一样。

在此处输入图片说明

Apparently, the web.config is ok. 显然,web.config可以。 I dont know either how to search for this problem in google, and waste like 2hours by now. 我不知道如何在Google中搜索此问题,而现在却浪费了2个小时。

Thanks in advance 提前致谢

After a lot of try-error, I make it to work again. 经过多次尝试错误后,我使它再次起作用。

Put Response.End(); 放入Response.End(); after the controler.execute. 在controller.execute之后。

Works like a charms 像魅力一样运作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM