1. Juan Jara
  2. PowerBuilder
  3. Wednesday, 22 September 2021 12:36 PM UTC

Hello,


We have passed our application programmed with powerbuilder 2019 R3 to be executed through remote desktop in Window 2019 Server and we find that closing the response windows takes about 30 seconds to close the window and there is no code apparently running.


With remote desktop and Window 2012 Server it does not happen.


Any idea how to fix this?


Thank you in advanced,


Juan

 
Juan Jara Accepted Answer Pending Moderation
  1. Wednesday, 22 September 2021 16:41 PM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

Thanks for your answer.

I have put the pb.ini with the information in the same folder as the exe and it remains the same. This is a window that has a datawindow with 600 records and when closing the window it is frozen between 30 and 60 seconds.


This happens if I run it through remote desktop if I do it by console, the same exe, works fine.

Regards, Juan

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 22 September 2021 17:25 PM UTC
Hi Juan;

Thank you for trying those PB.ini settings. These often cure RDP and Citrix related remote session performance.

It sounds like from your description that the entire issue might be RDP related. However, I am not sure why. Maybe worth a discussion with your operations team as to possible RDP and/or W2019 settings that might alleviate this resource (i think) constraint problem.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 22 September 2021 14:21 PM UTC
  2. PowerBuilder
  3. # 2

Hi Juan;

  What build number of PB 2019R3 are you using?

Regards ... Chris

Comment
  1. Juan Jara
  2. Wednesday, 22 September 2021 14:46 PM UTC
Hi Chris,



The build is: PB 2019R3 build 2728



Regards, Juan
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 22 September 2021 15:29 PM UTC
Hi Juan;

That should be a great build to use as it includes he latest MR. Did you also build your own PB.INI file and deploy it with your App EXE in the same folder?

You custom PB.ini should have the following (my suggestions) ...



[DataStore Behavior]

; No = do NOT use MS-Window handles in DS processing (Default is yes). "No" gives much better performance!

UseHwnd=no



; Can improve the speed for large row retrievals ...

; 0: Disable both MSAA and Microsoft UI Automation - 1: Enable both - 2: Enable Microsoft UI Automation only - 3: Enable MSAA only

Accessibility=0



HTH

Regards ... Chris



  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.