NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment give database error

Hello,

I've done a deployment to my system (CVI7.0+TS3.0) and the application runs OK. The only failure is in the database logging. The sequential model calls the Database.seq and the error appears in the step 'Log Results to Database'.

I'm attaching a pic of the error.

Any suggestion as to what I did wrong or what else to add to the PC with the deployed system?

Thanks
Rafi
0 Kudos
Message 1 of 6
(3,531 Views)
OOps, The attachment didn't go through

Another try
0 Kudos
Message 2 of 6
(3,527 Views)
Some more information regarding this problem....

In order to verify the Datalink and other database components, I copied an identical database WITH data into some other directory. I verified that I can read the data with the Database Viewer located in the TestStand Tools directory.

Thanks again
Rafi
0 Kudos
Message 3 of 6
(3,526 Views)
Rafi -
Verify that the directory C:\Program Files\National Instruments\Shared\Session Manager\ exists on your system. This is where the session manager is installed and you should find the file NISessionServer.dll. If it is there the file did not get registered. To fix this, using the command line prompt, enter:
"regsvr32.exe C:\Program Files\National Instruments\Shared\Session Manager\NISessionServer.dll"

This will register the DLL.
Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 6
(3,517 Views)
Hi Scott and thank you,

I've followed your instructions and indeed this folder was not included in the deployment. I've copied the entire folder and try to register the dll. Strangely enough I got an error message that the file does not exist. I suspect that windows might not recognized a path with spaces in it(?). I'm using win2K. Anyway, after several tries, I gave up and moved the dll to C:\ and I was able to register it successfully.

Everything works fine now.

Thank you

Rafi
0 Kudos
Message 5 of 6
(3,513 Views)
Rafi -
I did some looking into this problem and it appears that the deployment feature for TS 3.0 should install this and it did not. This was fixed in TS 3.1.

As a workaround it is not recommended to manually install the session manager files. The proper way to handle this it to run the following installer: \components\sessionmgr\SessionMgrPart.msi
Scott Richardson
https://testeract.com
0 Kudos
Message 6 of 6
(3,504 Views)