fmercet
13th November 2014, 19:36
On BaaN IV C4, I'am using AFS within a VB pgm to run session tfcmg1257m000 : Post Payments.

After continue.process on sub session tfcmg1258s000,I received a msg : Component request pending
"An action cannot be completed because a component (Option Dialog) is not responding. Choose "Switch To" to Activate the component and correct the problem"

when I do a start shell, no more sessions still running in BaaN. If I close BaaN (output to console), my program continue and everything is posted correctly in BaaN.

My question is : how can I avoid this message?

Regards,
Fred

mark_h
13th November 2014, 23:39
Is this something that pops up in the foreground or is the message returned to the session? I know in certain of my programs I code around certain return message and just let the program continue. Or I manually kill a session because of the error, but everything still processes correctly. I do not have anything for those sessions and have never seen anything around option dialog. I currently have one that generates an error to the BW message window but it still works just fine. Luckily when it is complete it will run in batch mode so the users will not get the messages.

There is always a possibility that you might need to update the session or the libraries for stpapi code.

fmercet
14th November 2014, 00:11
HI Mark,
Thanks for your answer.
The message pops up when I run my VB program on debug mode, when the program is executed in batch mode, BaaN is frozen, when I do a shell command (ps) I do not see anymore the sessions tfcmg1257m000 and tfcmg1258s000 and I need to do an output to console to continue the execution of the program.

Fred

fmercet
14th November 2014, 01:25
Please find attached the option dialog console, just after the continue.process action on sub session tfcmg1258s000.

If somebody knows how to analyse that, it will be him to find a olution

Regards,

Fred

bhushanchanda
14th November 2014, 10:40
And I guess this is the Solution (http://support.microsoft.com/kb/240809)

Thats a common processing problem with VB Script.

mark_h
14th November 2014, 18:44
Great find Bhushan. Hopefully that fixes the issue.

fmercet
14th November 2014, 22:22
Hi Bhushan,
Thanks for your reply.
I have tested your solution.
Pop up message is not coming anymore, but BaaN is still open without any sessions running and need to do an output to console to continue the execution of the program.
I do not know what BaaN is frozen after executing the continue.process on sub session tfcmg1258s000

Fred

mark_h
17th November 2014, 03:16
Post a screen of the PS command. And maybe post a copy of the code - maybe someone will see something.

fmercet
19th November 2014, 07:45
Attached ate the PS before and after the instruction "continue.process" on the sub session tfcmg1258s000

Fred

mark_h
19th November 2014, 13:12
Looks like the continue on tfcmg1258s000 closes both tfcmg1257m000 and tfcmg1258s000. Can you post your code? I want to suggest that you just close the baan connection and see if it finishes processing.