Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Connector stuck in Initializing after restarting Service
sp_NewPost Add Reply sp_NewTopic Add Topic
November 15, 2023
8:57 pm
Henk Helmantel
Admin
Forum Posts: 1492
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

November 15, 2023
2:48 pm
Peter
Guest
Guests

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.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 674

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1143

Posts: 3908

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1492