I have no problem when connecting my scope to ACP. But scheduler raises an exception when connecting the mount
The scope is connected after the error thou.

The script:
2021-04-19 12:57:11.2: ++ Observatory Startup ++
2021-04-19 12:57:11.2: Weather safety is now disabled
2021-04-19 12:57:11.2: Start ACP Sequencer's StartupObs script
2021-04-19 12:57:11.2: ACP.RunScript(StartupObs, ):
2021-04-19 12:57:11.2: Script ShutdownObs is loaded, and
2021-04-19 12:57:11.2: the console is idle.
2021-04-19 12:57:11.2: In start loop, i = 0
2021-04-19 12:57:11.2: Console is now idle
2021-04-19 12:57:11.2: Loaded C:\Users\Public\Documents\ACP Config\Scheduler\StartupObs.js successfully
2021-04-19 12:57:11.2: Script started successfully
2021-04-19 12:57:21.2: Sequencer is now active
2021-04-19 12:58:49.6: Sequencer is no longer active
2021-04-19 12:58:49.6: ** ACP script "StartupObs" failed:
2021-04-19 12:58:49.6: **Script Error (Tracking has been stopped)**
Source: ACP Observatory Control Software
Message: ==== Startup failed, cannot continue
Location: line 142 column 5.
Script Context:
139: } else {
140: Console.PrintLine("Telescope already connected");
141: }
=> 142: } catch(ex) {
^
143: Console.PrintLine("**Failed to connect to the Telescope:");
144: Console.PrintLine(" " + ex.description);
145: throw new Error(0x80040001, "==== Startup failed, cannot continue");
-- end --

2021-04-19 12:58:49.6: Weather safety is re-enabled

Where should I search for an error? It works in ACP and the mount is connected. This only happens when i start scheduler and the scope is disconnected.
I have an 10 micron mount.

Best regards Niklas