I am having some issues displaying images on custom error pages. For
example, I have altered the "Certificate Required" and "SSL Required" error
page to look like our application, but am not able to get images to display.
The page displays but I get "X"s for the images I guess because SSL could
not be established properly.

Is there a way to create custom error messages with images for these types
of messages?

TIA
Mark

Re: Error Pages & Bitmaps by Spynwhanker

Spynwhanker
Wed Apr 05 10:27:01 CDT 2006


"Mark Pfeifer" <mpfeifer@online.nospam> wrote in message
news:OrIbvrLWGHA.128@TK2MSFTNGP05.phx.gbl...
>I am having some issues displaying images on custom error pages. For
>example, I have altered the "Certificate Required" and "SSL Required" error
>page to look like our application, but am not able to get images to
>display. The page displays but I get "X"s for the images I guess because
>SSL could not be established properly.
>
> Is there a way to create custom error messages with images for these types
> of messages?
>
> TIA
> Mark
>
>

Use relative from root references for your images and links in the custom
error page.

I.e. "/images/image.gif" not "images/image.gif" or "../images/image.gif"

I dont think IIS switches the URL and generates a new request for a custom
error, it just sees the path is wrong and defaults to the other file of the
hard drive. If you use other type links, unless the error file and the non
existant file request are the same folder, you will get the "X".



RE: Error Pages & Bitmaps by v-yren

v-yren
Fri Apr 07 07:37:55 CDT 2006

Hi Mark,

Thanks for posting!

As other communicators' suggestion, you can not customize the error for the
current issue. If there are some error for the image URL, the image is
displayed as "X" in the page. The IE browser will render the error as "X".
In another word, this is the IE browser behavior. If you switch to other
web browsers, you will get other kinds of error icon.

However, I have a little confusion why you want to set the custom error. Do
you think the error is appropriated? If you want to resolve the problem,
please check the IIS log and post some clues here. This will help me to
understand the issue very well. Thanks for your understanding!

Regards,

Yuan Ren
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights