NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Test stand 1.03 user error

I get the following error below, however, I am trying to install on Win XP.  Sometime I can get it to install, while other times we have issues.

Seems like the latest batch of Dell PCs that we are getting all have this problem.

When I follow the instructions below to try and register the teapi.dll myself, I get this error: "LoadLibrary("C:\teststand\bin\teapi.dll") failed - Invaild access to memory location."

I noticed that these machines have .net framework 1.1 on them, could this be a conflict?

Else any further help would be appreciated.  Upgrading is not an option at this time, I have 50 machines in service, and the computers are dying, forcing me to get new computers.  I need something that will work for no cost short term.

 

TestStand Installer Fails to Register the Engine Library on Systems with Older REGSVR32.EXE

Primary Software: TestStand
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: When you install TestStand 1.0, the installer may not properly register the TestStand TEAPI.DLL in the <TestStand>\bin\ directory. This is due to a bug in the windows system executable file, REGSVR32.EXE. You see this problem when launching the Sequence Editor or any operator interface. The following Run-time Error dialog box appears when the Sequence Editor invokes the LoginLogout FrontEnd callback sequence:
An error occurred in the 'Login' step of the 'LoginLogout' sequence in 'FrontEndCallback.Seq'.
Library Not Registered. User Defined error code. Error Code: -2147319779.


Solution: Download REGSVR32.EXE system file (from Microsoft or see the attachment below) and manually register the TestStand server as follows:

  1. Quit the Sequence Editor.
  2. Download a newer REGSVR32.EXE file and replace the existing REGSVR32.EXE in the Windows\System directory. (Winnt\System32 for Windows NT)
  3. Register the servers by running the following commands on the command line: "REGSVR32 x:\teststand\BIN\TEAPI.DLL" (where x is the path to your installed TEAPI.DLL)
  4. Launch the Sequence Editor.


Related Links:

Attachments:


regsvr32.exeRegsv32a.txt


Report Date: 12/17/1998
Last Updated: 12/05/2004
Document ID: 1GGERUTL
0 Kudos
Message 1 of 5
(3,865 Views)
You might want to try a clean install of XP without all the additional software that OEMs are adding these days, or perhaps even an older version of Windows. I think you are probably on the right track that there might be some incompatibility with TestStand 1.0.3 and something else on these new machines, after all Windows XP didn't exist when teststand 1.0.3 was released (at least I'm pretty sure it didn't). I'm not aware of any specific conflicts with the .netframework. More likely there are newer versions of MFC, the visual C/C++ runtime, or ole32.dll that are causing compatibility problems. As clean an install of the OS you can get is probably your best bet.

Hope this helps,
-Doug

0 Kudos
Message 2 of 5
(3,842 Views)
Yeah, that is what I have done before, I was just hoping for an easier way out.
0 Kudos
Message 3 of 5
(3,839 Views)
Well, you could try uninstalling things you don't need then try reinstalling teststand and see if that help, but I'm not sure that would be faster than starting with a clean install.

-Doug
0 Kudos
Message 4 of 5
(3,810 Views)

Hmm...I must be good, I figured it out.

The problem was not the windows install, or actually it was a problem with SP2 of Win XP.  I did not have the problem with installs of SP1.  Seems SP2 uses the execute disable bit from bios and that is blocking regsrv32.exe from registering the teapi.dll.

So you need to go into bios and disable the bit, then register the dll, then go back and enable the bit, because it is a good thing to have for security of the system.

I'm glad I figured this out as I was quite dismayed after doing the full blown windows install, chasing down all the dell drivers and loading TS only to see the error message still.

0 Kudos
Message 5 of 5
(3,764 Views)