Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 05, 2012 06:40 PM by nirman.doshi
Member
40 Points
87 Posts
May 05, 2012 05:17 PM|LINK
I need to display the Internet Explorer cannot display the webpage webpage on iexplorer when there is an encounter error. How do I do that? I tried throwing an exception but that did not work.
Thanks
Participant
1520 Points
775 Posts
May 05, 2012 06:40 PM|LINK
try setting customErrors mode to "On" under System.Web in your web.config file.
Also make sure NOT to specify "defaultRedirect" attribute
comicrage
Member
40 Points
87 Posts
asp.net How do display the Internet Explorer cannot display the webpage error page
May 05, 2012 05:17 PM|LINK
I need to display the Internet Explorer cannot display the webpage webpage on iexplorer when there is an encounter error. How do I do that? I tried throwing an exception but that did not work.
Thanks
</div> </div>nirman.doshi
Participant
1520 Points
775 Posts
Re: asp.net How do display the Internet Explorer cannot display the webpage error page
May 05, 2012 06:40 PM|LINK
try setting customErrors mode to "On" under System.Web in your web.config file.
Also make sure NOT to specify "defaultRedirect" attribute
Software Developer
Vadodara, India