Custom Error IIS V6.0

Custom Error IIS V6.0

am 01.04.2008 12:01:10 von nickjsims

Apologies i'm new to IIS stuff.

I've been asked to take a website off-line temporarily which throws
back a "HTTP 400 - Bad Request
Internet Explorer" error message when someone tries to browse to it.
However the clients want a more aesthetically pleasing error message.
Our marketing guys have designed a simple html page and i've amended
the Cutom Error tab on the website in IIS to point to the new html
file. I've re-started IIS but the new custom error does not display
and all we get is the standard IIS 400 bad request.

The site is published through MS ISA 2004 web publishing rule.

Should there be anything else i need to do withing IIS? Could ISA be
caching a copy somewhere and if so how do i refresh?

Regards
Nik

RE: Custom Error IIS V6.0

am 01.04.2008 14:10:03 von Chaitanya

Hi,

Did you set it in Web Site(Root)'s Properites > Custom error or in that
particular stopped web site's properties?

other way to do this is to create mirror site of stopped site for the time
being and set your customised page as default page on that site.
--
Regards,
Chaitanya


"nickjsims@gmail.com" wrote:

> Apologies i'm new to IIS stuff.
>
> I've been asked to take a website off-line temporarily which throws
> back a "HTTP 400 - Bad Request
> Internet Explorer" error message when someone tries to browse to it.
> However the clients want a more aesthetically pleasing error message.
> Our marketing guys have designed a simple html page and i've amended
> the Cutom Error tab on the website in IIS to point to the new html
> file. I've re-started IIS but the new custom error does not display
> and all we get is the standard IIS 400 bad request.
>
> The site is published through MS ISA 2004 web publishing rule.
>
> Should there be anything else i need to do withing IIS? Could ISA be
> caching a copy somewhere and if so how do i refresh?
>
> Regards
> Nik
>

Re: Custom Error IIS V6.0

am 01.04.2008 15:27:27 von nickjsims

On 1 Apr, 13:10, Chaitanya.shah wrote:
> Hi,
>
> Did you set it in Web Site(Root)'s Properites > Custom error =A0or in that=

> particular stopped web site's properties?
>
> other way to do this is to create mirror site of stopped site for the time=

> being and set your customised page as default page on that site.
> --
> Regards,
> Chaitanya
>
>
>
> "nickjs...@gmail.com" wrote:
> > Apologies i'm new to IIS stuff.
>
> > I've been asked to take a website off-line temporarily which throws
> > back a "HTTP 400 - Bad Request
> > Internet Explorer" =A0error message when someone tries to browse to it.
> > However the clients want a more aesthetically pleasing error message.
> > Our marketing guys have designed a simple html page and i've amended
> > the Cutom Error tab on the website in IIS to point to the new html
> > file. I've re-started IIS but the new custom error does not display
> > and all we get is the standard IIS 400 bad request.
>
> > The site is published through MS ISA 2004 web publishing rule.
>
> > Should there be anything else i need to do withing IIS? Could ISA be
> > caching a copy somewhere and if so how do i refresh?
>
> > Regards
> > Nik- Hide quoted text -
>
> - Show quoted text -

Hi,

I set it in that particular stopped Website.
I may have found the problem whilst looking elsewhere. The custom
error does not work for ASPX pages so i may need to amend the website
webconfig file? Can
anyone verify this?

Re: Custom Error IIS V6.0

am 01.04.2008 15:38:02 von Chaitanya

Hi,

You have set this custom error page in web sites(on root)'s properties
instead of the the stopped site's properties.

also you wont be able to set aspx as custom error page, it can only have
static htm pages, if you still want to set .net app then you should consider
the second option i had suggested in my previous post.

--
Regards,
Chaitanya


"nickjsims@gmail.com" wrote:

> On 1 Apr, 13:10, Chaitanya.shah wrote:
> > Hi,
> >
> > Did you set it in Web Site(Root)'s Properites > Custom error or in that
> > particular stopped web site's properties?
> >
> > other way to do this is to create mirror site of stopped site for the time
> > being and set your customised page as default page on that site.
> > --
> > Regards,
> > Chaitanya
> >
> >
> >
> > "nickjs...@gmail.com" wrote:
> > > Apologies i'm new to IIS stuff.
> >
> > > I've been asked to take a website off-line temporarily which throws
> > > back a "HTTP 400 - Bad Request
> > > Internet Explorer" error message when someone tries to browse to it.
> > > However the clients want a more aesthetically pleasing error message.
> > > Our marketing guys have designed a simple html page and i've amended
> > > the Cutom Error tab on the website in IIS to point to the new html
> > > file. I've re-started IIS but the new custom error does not display
> > > and all we get is the standard IIS 400 bad request.
> >
> > > The site is published through MS ISA 2004 web publishing rule.
> >
> > > Should there be anything else i need to do withing IIS? Could ISA be
> > > caching a copy somewhere and if so how do i refresh?
> >
> > > Regards
> > > Nik- Hide quoted text -
> >
> > - Show quoted text -
>
> Hi,
>
> I set it in that particular stopped Website.
> I may have found the problem whilst looking elsewhere. The custom
> error does not work for ASPX pages so i may need to amend the website
> webconfig file? Can
> anyone verify this?
>
>

Re: Custom Error IIS V6.0

am 01.04.2008 16:11:10 von nickjsims

On 1 Apr, 14:38, Chaitanya.shah wrote:
> Hi,
>
> You have set this custom error page in web sites(on root)'s properties
> instead of the the stopped site's properties.
>
> also you wont be able to set aspx as custom error page, it can only have
> static htm pages, if you still want to set .net app then you should consid=
er
> the second option i had suggested in my previous post.
>
> --
> Regards,
> Chaitanya
>
>
>
> "nickjs...@gmail.com" wrote:
> > On 1 Apr, 13:10, Chaitanya.shah wrote:
> > > Hi,
>
> > > Did you set it in Web Site(Root)'s Properites > Custom error =A0or in =
that
> > > particular stopped web site's properties?
>
> > > other way to do this is to create mirror site of stopped site for the =
time
> > > being and set your customised page as default page on that site.
> > > --
> > > Regards,
> > > Chaitanya
>
> > > "nickjs...@gmail.com" wrote:
> > > > Apologies i'm new to IIS stuff.
>
> > > > I've been asked to take a website off-line temporarily which throws
> > > > back a "HTTP 400 - Bad Request
> > > > Internet Explorer" =A0error message when someone tries to browse to =
it.
> > > > However the clients want a more aesthetically pleasing error message=
..
> > > > Our marketing guys have designed a simple html page and i've amended=

> > > > the Cutom Error tab on the website in IIS to point to the new html
> > > > file. I've re-started IIS but the new custom error does not display
> > > > and all we get is the standard IIS 400 bad request.
>
> > > > The site is published through MS ISA 2004 web publishing rule.
>
> > > > Should there be anything else i need to do withing IIS? Could ISA be=

> > > > caching a copy somewhere and if so how do i refresh?
>
> > > > Regards
> > > > Nik- Hide quoted text -
>
> > > - Show quoted text -
>
> > Hi,
>
> > I set it in that particular stopped Website.
> > I may have found the problem whilst looking elsewhere. The custom
> > error does not work for ASPX pages so i may need to amend the website
> > webconfig file? Can
> > anyone verify this?- Hide quoted text -
>
> - Show quoted text -

Thank you, I have thrown this one back to the Developers. I was way
out of my depth anyway! :)
Nick

Re: Custom Error IIS V6.0

am 02.04.2008 19:48:41 von Kristofer Gafvert

You cannot customize the 400 error, which may explain why you cannot get it
to work the way you want.

http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/80cb8d8d-8fd8-4af5-bb3b-4d11fff3ab9c.mspx?mfr =true

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


skrev i meddelandet
news:7fdf4acc-2648-4ad9-975b-72353afe7ac9@n58g2000hsf.google groups.com...
> Apologies i'm new to IIS stuff.
>
> I've been asked to take a website off-line temporarily which throws
> back a "HTTP 400 - Bad Request
> Internet Explorer" error message when someone tries to browse to it.
> However the clients want a more aesthetically pleasing error message.
> Our marketing guys have designed a simple html page and i've amended
> the Cutom Error tab on the website in IIS to point to the new html
> file. I've re-started IIS but the new custom error does not display
> and all we get is the standard IIS 400 bad request.
>
> The site is published through MS ISA 2004 web publishing rule.
>
> Should there be anything else i need to do withing IIS? Could ISA be
> caching a copy somewhere and if so how do i refresh?
>
> Regards
> Nik