05-22-2002 09:08 PM
05-23-2002 01:58 PM
05-25-2002 03:00 AM
01-30-2008 08:49 PM
(OS Ref: MS Windows XP)
The installation of LabWindows/CVI software programs that use SQL functions to communicate with databases via the intranet has always been "iffy". That's because the cvidb32.dll (and cviauto.dll) file must be included in the installation and copied to the Windows/system32 directory. And the MS ODBC ADMIN must have the database name added to the SYSTEM DSN file list (odbcad32.exe or Start/Settings/Control Panel/Administrative Tools/Data Sources (ODBC))
In my experience, the target PC usually does not have my login permission set for writing files to the Windows/system32 directory. The NI installer will NOT error or display a message when the file is not copied to the target PC. This results in a failure to connect to the database when running the application even when the MS ODBC ADMIN/SYSTEM DSN list shows a successful connection.
The fix is to manually copy the files over to Windows.system32 directory and get the IS rep to add your name permanently to the admin group.
- Bill