The website is English & Traditional Chinese version; everything works fine on other machines.
The problem is as follows:
My operating system: Windows Server 2008 R2 (Traditional Chinese).
The website can operate normally,
but when a exception occurs, or 404 not found happens, it does not display the yellow error page as usual, but some gibberish (in chrome browser), in IE browser display a file download.
suenping
0 Points
6 Posts
when a exception occurs, or 404 not found happens, it does not display the yellow error page as u...
Dec 25, 2012 08:57 AM|LINK
The website is English & Traditional Chinese version; everything works fine on other machines.
The problem is as follows:
My operating system: Windows Server 2008 R2 (Traditional Chinese).
The website can operate normally,
but when a exception occurs, or 404 not found happens, it does not display the yellow error page as usual, but some gibberish (in chrome browser), in IE browser display a file download.
http://img.my.csdn.net/uploads/201212/25/1356405716_8872.jpg
gnosischief
Participant
1022 Points
222 Posts
Re: when a exception occurs, or 404 not found happens, it does not display the yellow error page ...
Dec 25, 2012 01:22 PM|LINK
Please check for CustomErrors node in web.config file.
may be it is customized for web errors.
IIS 7 \ 7.5 does't shows error on client's machine.
if application is deployed on server, please verify test cases on server.
--Happy coading---
suenping
0 Points
6 Posts
Re: when a exception occurs, or 404 not found happens, it does not display the yellow error page ...
Dec 26, 2012 02:37 AM|LINK
sorry, my English is pool. it does not display the yellow error page as usual, but some garbled(as the picture show)
Angie xu - M...
All-Star
18637 Points
1583 Posts
Microsoft
Re: when a exception occurs, or 404 not found happens, it does not display the yellow error page ...
Jan 02, 2013 07:35 AM|LINK
Hi suenping
You could set custom error mode to off in web.config,
Detailed information about customErrors Element here.
You could also take this method to deal with this situation about Error Handling in ASP.NET. http://www.codeproject.com/Articles/10593/Error-Handling-in-ASP-NET.
I noticed that you post the same thread in our forum, apologize for late response.
Sorry for the issue that you are hitting.
Kind regards
Feedback to us
Develop and promote your apps in Windows Store