Support forum
Hello Peter,
Status 'Initializing' of a Scripting Connector indicates that the 'OnLoad(IScriptHost host)' initialization method in the C# script is not finished. There is probably a line in this method that blocks the method from finishing.
To find out which line causes the problem you can add debug lines that writes a text to the event log (PostEventLog) or to a trace file (PostTraceLog) before and after the line that you suspect. This makes clear which line are being executed and where it stops. It is also a good idea to use a try..catch statement in each method and write the exception text in the catch statement to the event log so that you see the scripting errors in the event log.
Regards, Henk
2:48 pm
I was updating a .ps1, that a connector calls through C#, but it did not take the changes a made in the .ps1 into affect.
So I decided to restart the service to see if that'd help, but now the Connector is stuck on the status "Initializing", is there a way to figure out why it's stuck?
I've tested the gateway and it says it's okay.
1 Guest(s)