Your server logs should tell you what caused the error. For us, our usual 4GL error is due to timeout issues. You may need to turn your logs to 'verbose' to get all the details. You can also increase the timeout on the Broker tab on you appserver if this is the cause of your issue.
--Matt Caldwell