Problem:

When you upload a document in WebDocs iSeries, the following error occurs:
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 WebDocs iSeries initial set-up menu options are for V5R2 and V5R3, but you are using V5R1 or older. IBM moved some programs to different areas when they removed the classic HTTP server in favor of the Apache web server.

To resolve the problem:

  1. Go to the WebDocs iSeris menu by running:
    1. ADDLIBLE RJSIMAGE
    2. GO RJSIMAGE
  2. Choose 21. Copy CGI Service Program to RJSIMAGE Library - CRTDUPOBJ.
  3. In From library (FROMLIB), type QTCP.
  4. Press Enter to copy the service program from QTCP to RJSIMAGE.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016