I am upgrading from WebSpeed 9.1E on Windows 2003 Server to OpenEdge 11.1 on Windows 2008 Server and have a webspeed application that was reading in data from a html file created using an XSLT processor and writing it out. The application ran okay on 9.1E but on 11.1 I am having a problem where some html files do not get fully processed and only partly display the output. The issue looks to occur mostly on files > 40 MB and I am not getting any error messages I can debug from. Any ideas why this would happen and how I can resolve it?
Sections of the code on OE 11.1 are as follows
define stream wshtml.
define variable vcfilenamehtml as character no-undo.
define variable vcoutput as character no-undo.
define variable vcoutput_all as longchar no-undo.
IF request_method = "GET" THEN
DO:
input stream wshtml from value(vcfilenamehtml) no-echo unbuffered.
repeat:
import stream wshtml unformatted vcoutput.
vcoutput_all = vcoutput_all + vcoutput + "~n".
end.
input stream wshtml close.
{&out-long} vcoutput_all.
END.
Sections of the code on OE 11.1 are as follows
define stream wshtml.
define variable vcfilenamehtml as character no-undo.
define variable vcoutput as character no-undo.
define variable vcoutput_all as longchar no-undo.
IF request_method = "GET" THEN
DO:
input stream wshtml from value(vcfilenamehtml) no-echo unbuffered.
repeat:
import stream wshtml unformatted vcoutput.
vcoutput_all = vcoutput_all + vcoutput + "~n".
end.
input stream wshtml close.
{&out-long} vcoutput_all.
END.