Consultor Eletrônico



Kbase 41509: How to customize error messages without running internal command on messenger
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Solution ID: P11509

GOAL:

How to customize error messages without running internal command on messenger

FACT(s) (Environment):

WebSpeed 3.1x

FIX:

1. Create a file called wsCusErr.txt and put it in your Work dir.

2. Edit the file in the following manner:
Every error has the following format:

[error number] [error type]
[message or url]

Where
[error number] is the number of the error, or 0.
0 = catch-all (if no other message is caught, this will be)
[error type] is 0, 1, or 2.
0 = off
1 = custom message
2 = redirect to url

Examples:
To catch error 8239 and put custom text when the error occurs:

8239 1
Name Server is not responding. Please contact administrator.

To do the same, but redirect any other message:

8239 1
Name Server is not responding. Please contact administrator.
0 2
www.progress.com

3. If you are using cgiip messenger restart your webserver to pick up the changes in the file (using wsisa.dll or wsnsa.dll, you don't have to restart your webserver)