Page 1 of 1

customErrors : should a defaultRedirect be added?

Posted: Wed Aug 06, 2008 10:01 am
by Mike718NY
I have to change to "On" because of McAfee :

<customErrors defaultRedirect="Default.aspx" mode="On" />

I noticed there is no redirect page in the default webconfig page for AC7.
Is there any reason why I shouldn't add one?

Re: customErrors : should a defaultRedirect be added?

Posted: Wed Aug 06, 2008 12:36 pm
by mazhar
Yes you can do this, this feature will be available in next version of AC. But it would be better that instead of using defaultRedirect="Default.aspx" you must create another page on the root let say it ErrorPage.aspx and then use that page like

Code: Select all

<customErrors defaultRedirect="ErrorPage.aspx" mode="On" />
because on this new error page you will tell the customer that some error has occurred.