NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when logging to MySQL database after windows update

Does anyone have a solution for this problem? I have this on the production rawdata Server..

0 Kudos
Message 11 of 13
(141 Views)

Yes, I have a working solution (or actually two) .

The easiest one is to rebuild the source code for DBLog, the code is shipped with TestStand (e.g. C:\Program Files\National Instruments\TestStand 2023\Components\Models\TestStandModels\Database\DBLog)

Just rebuilding it with latest VisualStudio. (I used VisualStudio 2022 v17.11.5 and Platform Toolset v143 and Windows SDK 10.0.19041.0)

To be able to build the project I updated some patsh to include files:

"C:\Program Files\National Instruments\TestStand 2023\Bin"
"C:\Program Files\National Instruments\TestStand 2023\API\VC"

After registration of the dll the problem was solved for me.

 

I also got a suggestion from NI where the source code was slightly changed, but that wasn't necessary in my experience.

Message 12 of 13
(126 Views)

thank you for your reply, as you said NI does have a solution. for me it was not straight forward since there are dependencies to Windows SDK and another library which have to be installed via the Extension Manager and the Visual Studio installer. I will ask NI to post the solution here if possible

0 Kudos
Message 13 of 13
(113 Views)