Error 500 occurred in web browser when trying to upload a document to WebDocs - iSeries Edition - Support

Error 500 occurred in web browser when trying to upload a document to WebDocs - iSeries Edition

From Support

Jump to: navigation, search
If you have a question or seek clarification, please call Technical Support.

Problem:

User received an Error 500 when uploading a document via Image Server/400 and the web browser. See error below.

Please try the following: Open the 125.1.1.53:1080 home page, and then look for links to the information you want. Click the Refresh button, or try again later. Click Search to look for information on the Internet. You can also see a list of related sites.

HTTP 500 - Internal server error Internet Explorer

The error may also contain:

Cannot read script output pipe.

Solution:

We logged into the AS/400 and did a WRKACTJOB SBS(QHTTPSVR) command and viewed the DEFAULT jobs running in the web server subsystem QHTTPSVR.

After looking at the job log for the CGI job (The second DEFAULT job in the list), we saw the following error messages:

Data area CGIDEBUG in *LIBL not found. Cannot resolve to object CDRCVRT. Type and Subtype X'0201' Authority X'0000'.

File CGIDEBUG in library *LIBL not found or inline data file missing. RPG status 00211 caused procedure XLATWCCSID in program RJSIMAGE/CGISRVPGM2 to stop.

Resolution 1.) Did a WRKSYSVAL SYSVAL(QSYSLIBL) command and changed the system library list so QSYS2 was in the system library list. Program CDRCVRT is found in library QSYS2 and is needed by the RJS service program CGISRVPGM2.

QSYS2 should be placed after QSYS in the system library list. Here is the way IBM sets it up: QSYS QSYS2 QHLPSYS QUSRSYS

2.) Added-4/20/2005. Run the following command to set program CDRCVRT in QSYS2 so users can access it. This is a data conversion program in library QSYS2.

GRTOBJAUT OBJ(QSYS2/CDRCVRT) OBJTYPE(*ALL) USER(*PUBLIC) AUT(*USE)

3.) Stopped the web server: ENDTCPSVR *HTTP

4.) ReStarted the web server: STRTCPSVR *HTTP

Web browser uploading now works with Image Server/400.

Personal tools