Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Need to change IE 'cannot display' message, can it be done?

Reply
Thread Tools

Need to change IE 'cannot display' message, can it be done?

 
 
youtake@gmail.com
Guest
Posts: n/a
 
      02-16-2007
Hello, I am building a Intra-net and my requirement need is to disable
or even create a custom page for the default Windows message,
"Internet Explorer cannot display the webpage". Can someone please
show me some programmatic way or method to achieve this?

Thank you a zillion!

------
Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Check your Internet connection. Try visiting another website to
make sure you are connected.

Retype the address.

Go back to the previous page.

More information

This problem can be caused by a variety of issues, including:

Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's
domain.
If this is an HTTPS (secure) address, click tools, click Internet
Options, click Advanced, and check to be sure the SSL and TLS
protocols are enabled under the security section.

For offline users

You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds

Click the Favorites Center button , click Feeds, and then click the
feed you want to view.

To view recently visited webpages (might not work on all pages)

Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the
page you want to view.

 
Reply With Quote
 
 
 
 
mbstevens
Guest
Posts: n/a
 
      02-16-2007
On Fri, 16 Feb 2007 14:30:39 -0800, youtake wrote:

> Hello, I am building a Intra-net and my requirement need is to disable
> or even create a custom page for the default Windows message,
> "Internet Explorer cannot display the webpage". Can someone please
> show me some programmatic way or method to achieve this?


From the things you said after this, it sounds as if you may not have a
server running to serve the pages on your intranet. If you had, say,
Apache running you could serve custom error pages using the .htaccess
file with lines kind of like this:

ErrorDocument 400 /error_docs/er400.html
ErrorDocument 401 /error_docs/er401.html
ErrorDocument 403 /error_docs/er403.html
ErrorDocument 404 /error_docs/er404.html


 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      02-17-2007
Gazing into my crystal ball I observed writing in
news: oups.com:

> Hello, I am building a Intra-net and my requirement need is to disable
> or even create a custom page for the default Windows message,
> "Internet Explorer cannot display the webpage". Can someone please
> show me some programmatic way or method to achieve this?
>
> Thank you a zillion!
>
>


You can use a custom error page. Do that in the IIS snapin:
Right click on the site, and go to the custom errors tab. Then find the
error number and edit as needed.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
Dan
Guest
Posts: n/a
 
      02-17-2007
On Feb 16, 5:30 pm, yout...@gmail.com wrote:
> Hello, I am building a Intra-net and my requirement need is to disable
> or even create a custom page for the default Windows message,
> "Internet Explorer cannot display the webpage". Can someone please
> show me some programmatic way or method to achieve this?


Stop using Internet Explorer and use a decent browser instead, such as
Mozilla Firefox or SeaMonkey. These won't give you error pages saying
"Internet Explorer cannot display the webpage". Problem solved!

--
Dan

 
Reply With Quote
 
Joel Shepherd
Guest
Posts: n/a
 
      02-17-2007
"Dan" <> wrote:

> On Feb 16, 5:30 pm, yout...@gmail.com wrote:
> > Hello, I am building a Intra-net and my requirement need is to disable
> > or even create a custom page for the default Windows message,
> > "Internet Explorer cannot display the webpage". Can someone please
> > show me some programmatic way or method to achieve this?

>
> Stop using Internet Explorer and use a decent browser instead, such as
> Mozilla Firefox or SeaMonkey.


Without getting into whether IE is a decent browser or not, it is easy
to configure it to not show "friendly" error pages, and instead dump raw
and -- to http hippies -- pretty straightforward error data. An entirely
new browser is not required.

In any event, as others have mentioned, the real solution is
server-side, not browser politics.

--
Joel.
 
Reply With Quote
 
youtake@gmail.com
Guest
Posts: n/a
 
      02-17-2007
Thank you all, but in this case, I believe the messages displayed to
users in my OP is generated from the browser client, not pipelined
from a server.

 
Reply With Quote
 
rwap
Guest
Posts: n/a
 
      02-18-2007
On Feb 17, 5:24 pm, yout...@gmail.com wrote:
> Thank you all, but in this case, I believe the messages displayed to
> users in my OP is generated from the browser client, not pipelined
> from a server.


I think you misunderstand here.

A browser will try to connect a user to the chosen webpage. If it
cannot find the server, then it generates one message.

If however, it finds the server, but not the specified page, then it
will look for a custom page on the server (for example 404.html) - and
then if that is not found, will display its standard error page.
mbstevens gives you an example above on how to create custom error
pages on the server side.

IE can however override these with "friendly error messages" - you can
apparently avoid this by ensuing that any custom error pages are more
than 512 bytes.

However, if you want to cover the position where the server itself
cannot be found or the internet connection is missing, I believe you
can do this through the custom browser tools provided in the Internet
Explorer Administration Kit - see
http://www.microsoft.com/technet/pro...fault.mspx#EDE

Not tried this myself, but worth a go

Rich Mellor
www.internetbusinessangels.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Change your language and you change your thoughts." Suganya C Programming 0 04-29-2008 01:35 PM
How can the change of second window trigger change of first window xhe Javascript 1 02-09-2007 06:16 PM
Change the master GridView after detail change? Q. John Chen ASP .Net 0 11-15-2006 05:31 PM
Change the master GridView after detail change? Q. John Chen ASP .Net 0 11-15-2006 05:30 PM
A Paradise DNS address change? What change? There was no change. Tony Neville NZ Computing 7 09-22-2006 01:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57