Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Customizing Error Messages

When the DecisionScript server encounters an error, such as a user requesting a document that does not exist, it responds with a standard error screen giving the HTTP error code and a brief explanation. You can customize the content of these messages by creating a file with the name nnn.htm where nnn is the error code number. When an error is encountered, DecisionScript looks for this file in the same directory where the error occurred. If the file is not found there, then it looks in the parent directory, and then the parent's parent directory, and so on until it reaches the domain root.

For example, if a user attempts to load the page

http://www.yourdomain.com/scripts/order/default.htm

and this page does not exist, then the server will look for the file

domainroot/scripts/order/404.htm

then

domainroot/scripts/404.htm

then

domainroot/404.htm

If 404.htm is found, its content is returned to the user. If the file is not found, the default 404 error message is return.

The following HTML error codes are returned by the server:

400  Bad Request
403  Forbidden
404  Not Found
410  Gone
501  Not Implemented
503  Service Unavailable

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend