Focal Point
[SOLVED] Agent on reporting server EDASERVE may have crashed

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1561089513

January 30, 2009, 03:52 AM
saikumar
[SOLVED] Agent on reporting server EDASERVE may have crashed
Hi All,

Iam using the below code to display list of Master Files for each application folders.

APP LIST HOLD
TABLE FILE FOCAPPL
PRINT APPNAME
ON TABLE SAVE
END
-RUN

-SET &APPLIN = ' ';
-REPEAT :LAB1 &LINES TIMES
-READ SAVE &APP.64
-SET &APPLIN = &APPLIN | ' ' | &APP;
-:LAB1

APP QUERY &APPLIN HOLD
TABLE FILE FOCAPPQ
PRINT FILENAME AS 'Application Folder Name'
BY APPNAME AS 'Master Files'
IF FILENAME CONTAINS '.mas'
WHERE APPNAME EQ '&APPNAME';
HEADING
"List of Master Files in each Application Folder"
"Run Date: &DATE"
FOOTING
" "
ON TABLE PCHOLD FORMAT HTML
END

This code is working fine in my localmachine, if I run this code in my client machine where Iam actually doing the development work, Iam getting the following error msg.

Unknown error occurred. Agent on reporting server EDASERVE may have crashed. Please investigate reporting server log.

I dont know how to debug this error.
Any suggestion ,
Thanks in Advance,
Saikumar.

This message has been edited. Last edited by: Kerry,


WebFOCUS 8103 Appstudio, Dev Studio MRE
Client Windows 7, Serveron Unix.
Excel, PDF, HTML,AHTML
January 30, 2009, 04:08 AM
nubi
the most often debugging method used is the 'line at a time' method- in that you strip out all code bar the first line and run it, if it crashes it's that line thats the problem, if it doesn't you add the next line, if it crashes its that line...

that will give you a starting point...

This message has been edited. Last edited by: nubi,


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
January 30, 2009, 09:07 AM
GamP
On my system your fex also does not run, although it does not crash.
It gives an error message about not being able to locate the variable &APPNAME.
Which in your code is indeed missing. Could that be the cause of the problem?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
February 01, 2009, 08:33 AM
saikumar
Gam, Can you enable XML RUN =ON setting in WebFOCUS Administration Console,then the fex will run fine.

Nubi,I tried to Debug, the first part of the proc is working fine ,after looping for reading the all appfolders in the directory, its failing,Is this because of too many appfolders or something else.

Thanks in Advance,
Saikumar.


WebFOCUS 8103 Appstudio, Dev Studio MRE
Client Windows 7, Serveron Unix.
Excel, PDF, HTML,AHTML