Here's a simple script as a start point, simply returning a list of jobs and their triggers. I added the references to the two VC dlls and the using statements. It compiles, and when I hit Run, I get this error: "An error occurred: Object reference not set to an instance of an object." Ive isolated it down to the server not being instantiated, so apparently it's the Connect(). What other commands or parameters am I missing?

I'll try the reconnect settings (hmmm, didn't see them there). What is the option Ignore Server Off (always run) for?

The code (lines 3-6) was taken from the sample, but doesn't seem to work for me. I haven't tried from with VisualStudio because I want this to run as a script task and VC isn't installed on my dev machine.

Thanks for the clarification. I bumped up the reconnect settings to 500 attempts (the max) and 300secs between. We'll see how this works out.

VS and the script task are both referencing the DLLs in the server installation folder. I looked at the sample TestClient\frmTest.cs again. I used the code in btnConnectLocal_Click() for a local connection. VS builds and the script task compiles in VC, so I'm assuming the code itself is ok, so it seems something else is wrong as I'm not getting a server instance from Connect() in the script task.

I finally got around to this. I increased the retry times and period on all the file triggers and so far so good.

Concerning my API connection issue, the sample test project can connect to localhost, but the remote server connection fails with the message "A connection attempt failed because the connected party did not properly respond..." The debugger is sitting at line 176 in frmTest.cs

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.