Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 28, 2012 08:35 AM by .net_junkie
Member
297 Points
825 Posts
Nov 28, 2012 04:23 AM|LINK
I am using custom errors like this
<configuration> <system.web> <customErrors defaultRedirect="error.htm" mode="on" /> </system.web> </configuration>
but when an exception occurs it is not showing the error.htm page i dont know why?? any ideas?
Participant
1483 Points
330 Posts
Nov 28, 2012 06:17 AM|LINK
You might be running on IIS 7 where this configuration is different, have a look to this article:
http://www.iis.net/configreference/system.webserver/httperrors
Contributor
4646 Points
1172 Posts
Nov 28, 2012 06:32 AM|LINK
It should work just try running commenting some code and press F5.
Nov 28, 2012 08:35 AM|LINK
yes it is working thanks.
.net_junkie
Member
297 Points
825 Posts
Custom errors in web.config
Nov 28, 2012 04:23 AM|LINK
I am using custom errors like this
<configuration> <system.web> <customErrors defaultRedirect="error.htm" mode="on" /> </system.web> </configuration>but when an exception occurs it is not showing the error.htm page i dont know why?? any ideas?
pratik_galor...
Participant
1483 Points
330 Posts
Re: Custom errors in web.config
Nov 28, 2012 06:17 AM|LINK
You might be running on IIS 7 where this configuration is different, have a look to this article:
http://www.iis.net/configreference/system.webserver/httperrors
Software Engineer,
iGATE Global Solutions.
pratik_galoria@yahoo.co.in
+91-8905195943
chandu123
Contributor
4646 Points
1172 Posts
Re: Custom errors in web.config
Nov 28, 2012 06:32 AM|LINK
It should work just try running commenting some code and press F5.
Chandrasekhar (MCTS) .NET framework 3.5, ASP.NET Applications
If my ANSWER helps you in solving your problem MARK IT AS ANSWER
.net_junkie
Member
297 Points
825 Posts
Re: Custom errors in web.config
Nov 28, 2012 08:35 AM|LINK
yes it is working thanks.