1. Frankel David
  2. PowerBuilder
  3. Wednesday, 28 July 2021 10:41 AM UTC

is there an issue with pb2017 and Windows Server 2019 ?

We have display performance problems using RDP and windows server 2019 which we do not have with windows 2008.

 

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 28 July 2021 10:56 AM UTC
  2. PowerBuilder
  3. # 1

It could have something to do with the accessibility options.

Try distributing a pb.ini file in the same folder as your EXE and make sure it contains:

[Data Window]
ACCESSIBILITY=0

See also:

https://community.appeon.com/index.php/qna/q-a/is-setting-accessibility-0-in-the-pb-ini-file-a-valid-long-term-solution/oldest

https://www.appeon.com/developers/get-help/knowledgebase/powerbuilder-datawindow-hangs-temporarily-after-retrieve.html

 

Comment
  1. Miguel Leeuwe
  2. Wednesday, 28 July 2021 10:57 AM UTC
Adding this to the same pb.ini file:



[DataStore Behavior]

UseHwnd=No



might also improve performance.

  1. Helpful
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 July 2021 05:49 AM UTC
  2. PowerBuilder
  3. # 2

Hi Frankel,

If you encounter a performance issue.

Firstly, I suggest you set up the pb.ini file referring to Miguel’s suggestion:
Try distributing a pb.ini file in the same folder as your EXE and make sure it contains:
[Data Window]
ACCESSIBILITY=0

Secondly, run the EXE with “Run as administrator” and see if it works normally.

Then, when your client accesses Windows Server 2019 via RDP, set the client scaling to 100% as instructed below to try again.
In Windows 10 client -> Display Settings -> Scale and Layout -> set to 100%

Lastly, I suggest that you upgrade PB 2017 to PB 2019 R3 2703 and see if it still has the issue. Please note that it’s still suggested to set the pb.ini as mentioned above after you upgrade to PB 2019 R3 2703.

 

If you still have the issue, I suggest you submit a ticket to the Appeon Support System (https://www.appeon.com/standardsupport/newbug) and provide the information below there:
1. The detailed version of PB and Windows Server.
2. Elaborate on exactly which part has the performance issue. Like, is it datawindow that has low performance? How much data does it contain? Or is it window that has low performance or elsewhere?
3. Compare with the normal scenario and use numeric for illustration to show how much is the performance lowered.
4. Run PBT in IDE to see if the performance is normal.
5. On the development machine, run the EXE and see if it’s normal.
6. Check If you can reproduce the issue on Windows 2019 by creating a small case. If yes, please provide the small case for us.


Regards,
Ken

Comment
There are no comments made yet.
Frankel David Accepted Answer Pending Moderation
  1. Thursday, 29 July 2021 18:44 PM UTC
  2. PowerBuilder
  3. # 3

Tried the pb.ini move and it seemed to help a bit.

But the improvement was sporadic. Some users claimed improvement and some did not. Then sometimes yes sometime no.

I have downloaded and installed pb19 and will check that next week.

We will also try the windows settings and the hwnd setting and all the other suggestions.

Thanks for all your help.

I will let you know if and what helps.

 

 

d.f.

 

Comment
  1. Ken Guo @Appeon
  2. Friday, 30 July 2021 06:02 AM UTC
Hi Frankel,



Thank you for your feedback. We will be waiting for your further information.



Regards,

Ken
  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.