Error 500 when Uploading a Document to WebDocs - iSeries Edition
From Support
| | If you have a question or seek clarification, please call Technical Support. |
Problem:
When uploading a document with Image Server/400, the following error was occurring:
Error 500 Bad script request -- script '/QSYS.LIB/RJSIMAGE.LIB/DOC101R.PGM' not found or not executable
IBM HTTP Server - North American Edition 1.0
Copied QTMHCGI from QTCP instead of QHTTPSVR
OS/400 Level: V5R1M0.
Solution:
The above error was caused because one of the Image Server/400 initial setup menu options was updated for V5R2 and V5R3 because IBM has moved a couple of programs to different areas as they prepare get rid of the classic HTTP server in favor of the Apache web server.
If running on OS/400 V5R1 or older, run the following commands and options to resolve the problem:
ADDLIBLE RJSIMAGE
Go RJSIMAGE
Take menu option 21. Copy CGI Service Program to RJSIMAGE Library - CRTDUPOBJ
Key QTCP for the From library (FROMLIB) parameter instead of the new default which is QHTTPSVR. Press Enter to copy the service program from QTCP to RJSIMAGE.
