Hello
I have a sequence which creates a .Net object, uses a method and retrieves a couple of parameters associated with the object. The problem is that sometimes I get the following error:
Unexpected Operating System Error
Error code: -17501
Source: TSAPI
The sequence also contains steps which use the .Net adapter to call various static methods but these are not causing a problem. If I remove the steps associated with the creation and use of the object there is no longer an error. The sequence also has some LabView steps, so the associated runtime for those also runs.
The object I'm creating does the following:
Creates an IP socket connection
Sends a command via the socket
Returns a couple of parameters on request
If I create and use an equivalent object within the VisualStudio IDE there is no problem (the class was written in C#).
Unfortunately the problem doesn't happen every time and I'm having trouble reproducing it repeatedly.
I'm using the following software:
LabView 8.0
TestStand 3.5
.Net 1.1
WindowsXP
I've searched the forums for this error and there are a number of related posts but none that seem like a solution for this case. Any ideas gratefully received.
Thanks