Re: CustomError Problem
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Mon, 23 Feb 2009 17:49:14 -0400
re:
!> they run correctly in development environment (w/ IIS7), but when we
!> upload project to the production server (w/ IIS6), we dont see a redirecting
!> action or the custom error page.
The IIS version doesn't sound like the culprit.
The .Net Framework version is a likelier culprit.
The RedirectMode property is supported in: 3.5 SP1, 3.0 SP2, 2.0 SP2
Are you sure the .Net Framework version on your IIS6 server is at least 2.0 SP2 ?
As far as the code, here's an article which might help you :
http://blog.turlov.com/2009/01/search-engine-friendly-error-handling.html
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
=========================
"Ilyas Osmanogullari" <ilyas.osmanogullari@xxxxxxxxxx> wrote in message
news:F0A7ECCF-CC47-43FF-AC67-FF2EB0E34FAC@xxxxxxxxxxxxxxxx
we're developing a project using IIS 7. We re-arranged CustomError property in Config file.
<customErrors mode="On" defaultRedirect="~/error.aspx" redirectMode="ResponseRewrite">
<error statusCode="403" redirect="~/error.aspx" />
<error statusCode="404" redirect="~/error.aspx" />
</customErrors>
when we execute the following requests:
www.domain.com/article
www.domain.com/article.asp
they run correctly in development environment (w/ IIS7), but when we upload project to the production server (w/
IIS6), we dont see a redirecting action or the custom error page.
.
- References:
- CustomError Problem
- From: Ilyas Osmanogullari
- CustomError Problem
- Prev by Date: How should I do this? "Adding new users"
- Next by Date: Re: HttpHandlers and web.config problems
- Previous by thread: RE: CustomError Problem
- Next by thread: Finding the account name
- Index(es):
Relevant Pages
|