It's Sage 50 US, 2022
I'm using the latest .NET desktop SDK, in a Visual Studio 2015 VB.net.
The behavior is as described above, but here it is again:
The development program connects to the company, its status is pending access, permanent access permission is granted, the program connects correctly to the company.
So far so good.
When the program starts a new session, after a rebuild, the 'permanent' access permission disappeared, and has to be granted again, as if it was a one time access permission.
David L.