i put the pb.ini file in the user install directory
C:\Users\<user>\AppData\Roaming\PBApps\Applications\<myapp.com_appname>
and ran an import process that i can rerun. I have run it many times, so i have start and end times of this process.
with the PB.ini file, i now get an error in the web api:
2023-06-05T21:58:02.629998303Z fail: PowerServer.Api.ServerApiController[0]
2023-06-05T21:58:02.630047916Z 'PowerServer.Api.ServerApiController.DataStoreUpdate (PowerServer.Api)' get result (
2023-06-05T21:58:02.630055711Z {
2023-06-05T21:58:02.630060440Z "IsSuccess": false,
2023-06-05T21:58:02.630064167Z "RequestId": null,
2023-06-05T21:58:02.630067523Z "AppName": "<my app name>",
2023-06-05T21:58:02.630071401Z "NameSpace": "my app namespace>",
2023-06-05T21:58:02.630075118Z "ErrorCode": 0,
2023-06-05T21:58:02.630078754Z "ErrorMessage": "Failed to create the datastore"
2023-06-05T21:58:02.630082201Z }).
tried it 3 times, got this error 3 times. (the process creates a lot of datastores, but only gets this error once).
removed the pb.ini file and ran it again: no error.
so it seems it DOES do something, but not necessarily a good something.
Can you comment on whether those settings in pb.ini file are supported with powerserver 2022? Are they supposed to do the same things as regular PB client/server?
also, the bug report for
[DataStore Behavior]
UseHwnd=no
https://www.appeon.com/standardsupport/search/view?id=10381
The setting in PB.ini is supported in PowerServer too. We will analyze the issue based on the information you provided in the ticket.
Regards
Angie