LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Runnign TestStand Engine in a Windows Service

 

{ Sorry, posted message to wrong board! }

 

Greetings!

 

I have a weird and particular problem that I hope you can help me with.

 

I am trying to build a web-based application that uses a 3rd party test database that is only accessible using TestStand.  As a result, I need to run the TS Engine on a server. 

 

I built the applicationand it runs fine in the Visual Studio web server, but it didn't work in IIS -- it seemed that the threads I launched to process the engine events would die after a short while.  I rewrote the application to put the TS Engine into a Windows Service.  This works fine in WinXP (32-bit).  The service works in Visual Studio's WfcSvcHost (a test client) on Windows 2K3 (64-bit), but doesn't work when installed as a Windows Service in 2K3 (64-bit).  The TestStand engine code just hangs at the constructor for the TS Engine ... it doesn't crash, no exceptions are thrown, and if I stop it with the debugger, the thread is in the constructor.

 

Any thoughts on what is going on?

 

(Yes, I know TS is not supported on Win 2K3 64-bit ... but I must use it as all my servers run that.)

 

Thanks,

Tom M.

Message Edited by LabCat on 01-12-2010 03:56 PM
0 Kudos
Message 1 of 3
(2,597 Views)

Hey Tom,

It looks like you posted this question on the TestStand forum and Doug is currently helping you out. Here's the link to the other post for any others who run accross this thread:

 

http://forums.ni.com/ni/board/message?board.id=330&message.id=27306

 

Lars

0 Kudos
Message 2 of 3
(2,556 Views)

Hi Lars,

 

Yes, indeed.  I couldn't figure out how to delete the post, so I put that note before the post to indicate it was in the wrong group.   (It seems that after editing once you can't edit again -- wanted to make the note more obvious!)

 

Sorry!

 

Cheers,

tom m.

0 Kudos
Message 3 of 3
(2,553 Views)