cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trying to connect to PB2022.db using ODBC I get 'missing license file'

KT991
Newcomer
0 Kudos
110

When using ODBC to connect to Powerbuilder demo databases PB2022R3.db,

KT991_0-1747073965407.png

I get 

KT991_1-1747073992154.png

What license(s) I'm I missing?

View Entire Topic
chris_keating
Product and Topic Expert
Product and Topic Expert
0 Kudos

It is most likely one of the following

  • SQL Anywhere requires license files - dbeng17.lic and dbsrv17.lic depending on engine type. Those files should be in the same directory as the binary. 
  • SQLANY17 environment variable should be set and pointing to the directory c:\Program Files\SQL Anywhere 17 (based on the start line you screen capped)
  • There is a version mismatch between the binaries - specifically dbserv17.dll and dbrsa17.dll should be the same version -- but if there is a mismatch in any of the binaries, that could be problematic. 
    • the license file is encrypted and if dbrsa17 is a mismatch to the engine dll, the license file cannot be read. 
    • some of the binaries are expected to differ (old unload binaries, SAP Crypto or Open SSL depending on the underlying encryption libraries)

If you do find mismatched binaries, you might be able to run the install and perform a repair but you may be forced to do a fresh install.