David Lenkovitzki Posted April 20, 2022 Posted April 20, 2022 I'm developing in VB.net, using desktop .net API against a 2022 Sage 50 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, the 'permanent' access permission disappeared, and has to be granted again, as if it was a one time access permission. What's happening? Any insight will be very welcome. David L.
Conway, James Posted April 25, 2022 Posted April 25, 2022 Hi David, hope you are well. Sage 50 is available in different regions so could you confirm what region of Sage 50 you are integrating with? I.E UK, US etc. Also, could you confirm what integration method you are using? I.E SDK, SData, ODBC, API? Additionally, could you please provide some screenshots of the behaviour you are experiencing? Once the above is provided I can assist you further. Cheers, James.
David Lenkovitzki Posted April 25, 2022 Author Posted April 25, 2022 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.
John Kingsbury Posted April 25, 2022 Posted April 25, 2022 When you allow access in Sage 50 US, it stores the signature of the program used to connect and grants permissions based on the program signature (not sure how the signature is generated, probably some kind of hash on the calling exe/dll). When you modify/rebuild the program, the exe/dll will be different so Sage 50 will pick up a different signature, and since it doesn't have any permission info for that signature, it will need you to grant permissions for the "new" program. 3
Conway, James Posted April 28, 2022 Posted April 28, 2022 Hi David, Thanks for providing this information. If you still require further assistance with this or you have any further questions about the Sage 50 US SDK. I would recommend contacting the relevant team directly who can assist you further. They can be contacted here: [email protected] Kind Regards, James.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now