NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -2147221164 when logging to a database.

I have deployed a runtime teststand sytem. The operator interface and sequences run properly and the test report is created. However when data base logging is enabled an error -2147221164 occurs. This error states "An error occurred calling 'NewUUT' in 'ITSDBLog' of 'TestStnad Database Loggin' Database logging uses the NI Session Manager server to manage shared database connections. A call to create teh Session Manager failed. Please verify that this ActiveX server is properly registered." It occurs at location "step 'New UUT for Databasse logging' of sequence 'Test UUTs' in 'SequentialModel.Seq'

Has any one seen this issue or know why this may be occuring?

Regards,
Chad
0 Kudos
Message 1 of 2
(3,097 Views)
The DLL that is not registered is "C:\Program Files\National Instruments\Shared\Session Manager\NISessionServer.dll".

To manually reregister the DLL, you can run "regsvr32.exe ", where you specify the file above.

You should also be able to use the TestStand Version Selector application located at "C:\Program Files\National Instruments\Shared\TestStand Version Selector\TSVerSelect.exe" and select MakeActive button. One of the steps it does in reregister this DLL.
Scott Richardson
https://testeract.com
Message 2 of 2
(3,084 Views)