Re: CustomError Problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.




.



Relevant Pages

  • Re: Urgent: filesystem "full", though space is available
    ... Ive got a big problem now on a production server. ... When i do various things, i am getting "write failed, file system full" ... I dont know what kind of math lets you do 2015-1858 and gives ... To unsubscribe, ...
    (freebsd-questions)
  • Urgent: filesystem "full", though space is available
    ... Ive got a big problem now on a production server. ... When i do various things, i am getting "write failed, file system full" ... I dont know what kind of math lets you do 2015-1858 and gives ... I cant reboot the running server. ...
    (freebsd-questions)
  • Re: tar exclude in solaris 8?
    ... this I am trying to perform on staging and production server where I ... dont have access to install any component. ...
    (comp.unix.solaris)
  • BizTalk 2004 adapter deployment script?
    ... Has anyone managed to perform a custom adapter deployment on a production server via scripting? ... I dont know if its possible. ...
    (microsoft.public.biztalk.general)
  • help please
    ... someone has added links I dont want...they keep ... redirecting me when trying to go to one of my favorite ... sites "Utopia" the game.When I right click my mouse they ... are there too.How can I get these "invaders" out of my ...
    (microsoft.public.windowsxp.security_admin)