Problem with HTML report listener.

Hi;

I have a problem with an application. When run locally on a winXP, the code works fine. When I run it on a win2003Server with XPs as stations, I get this message (Which is generated because of the 'quietmode=.F.' in the code) :

"Html listener created your report as c:\krcuser\report.tmp. However, an error occured during processing. Report execution was canceled. Your results are not complete".

Here is my code:

GO top
fn = "c:\krcuser\report"
loListener = .NULL.
DO (_reportoutput) WITH 5, loListener
lolistener.targetfilename = fn
loListener.quietmode = .F.
REPORT FORM porpt1 FOR pono >= "206100" OBJECT loListener

Any ideas what the error is or how to avoid this?

Thx.

[762 byte] By [Aleniko] at [2008-1-2]