Vet inte riktigt vad jag gör för fel, i win loggen får jag detta,
Loggnamn: Application
Källa: SwitchKingScriptExecutorPlugin
Datum: 2011-03-13 10:27:24
Händelse-ID: 0
Aktivitetskategori:Ingen
Nivå: Fel
Nyckelord: Klassiskt
Användare: Saknas
Dator: Kent-dator
Beskrivning:
Failed to read configuration item. Error: Det finns flera rotelement. Rad 35, position 2. (C:\Program Files\Switch King\Switch King Server\Plugins\ScriptExecutorPlugin.dll.config line 35)
Händelsens XML-data:
<Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="SwitchKingScriptExecutorPlugin" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-03-13T09:27:24.000Z" />
<EventRecordID>7579</EventRecordID>
<Channel>Application</Channel>
<Computer>Kent-dator</Computer>
<Security />
</System>
<EventData>
<Data>Failed to read configuration item. Error: Det finns flera rotelement. Rad 35, position 2. (C:\Program Files\Switch King\Switch King Server\Plugins\ScriptExecutorPlugin.dll.config line 35)</Data>
</EventData>
</Event>
Så här ser mitt script ut med endast 1 mottagare & samma namn i Dovadon & Switchking, vrum1.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="switchKing.scriptExecutorPlugin" type="SwitchKing.Server.Plugins.ScriptExecutor.Configuration.ListenerSection, ScriptExecutorPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" allowExeDefinition="MachineToApplication" restartOnExternalChanges="true" />
</configSections>
<switchKing.scriptExecutorPlugin name="Scripts">
<devices>
<!-- Use the tag below to set scripts and arguments for your devices. -->
<!-- Attributes as follows: -->
<!-- deviceName: The name of the device to trigger script for. Must be the same as set in Switch King Client. -->
<!-- onScript: The full path to the executable file to run when device is turned on. -->
<!-- onScriptArgs: Arguments passed to the executable file (example: arg1 and arg2): C:\temp\on.bat arg1 arg2 -->
<!-- offScript: The full path to the executable file to run when device is turned off. -->
<!-- offScriptArgs: Arguments passed to the executable file (example: arg1 and arg2): C:\temp\off.bat arg1 arg2 -->
<!-- dimScript: The full path to the executable file to run when device is dimmed. -->
<!-- use [level] or [dimlevel] in the file name to have different files when dimmed to different -->
<!-- levels, for example C:\temp\dim[level].bat, where level is the dim level in percent. -->
<!-- dimScriptArgs: Arguments passed to the executable file (example: arg1 and arg2): C:\temp\dim.bat arg1 arg2 -->
<!-- waitForExit: Waits for the script to fully execute before continuing the work. (true/false) -->
<add deviceName="Lekrum - Fönsterlampa"
onScript="C:\temp\on.bat" onScriptArgs="Allrum"
offScript="C:\temp\off.bat" offScriptArgs="Allrum"
dimScript="C:\temp\on[level].bat" dimScriptArgs="Allrum"
intercept="false"
waitForExit="false" />
<add deviceName="Köksskåp"
onScript="C:\temp\on.bat" onScriptArgs="Allrum"
offScript="C:\temp\off.bat" offScriptArgs="Allrum"
intercept="true"
waitForExit="false" />
</devices>
</switchKing.scriptExecutorPlugin>
</configuration>
<add
deviceName="vrum1"
onScript="C:\temp\on.bat" onScriptArgs="vrum1"
offScript="C:\temp\off.bat" offScriptArgs="vrum1"
dimScript="C:\temp\on[60].bat" dimScriptArgs="vrum1"
intercept="false"
waitForExit="false" />
Behöver

med detta, har ingen anning om var mina körbara filer ligger.
Kopierade därför i mångt & mycket texten i guiden för pluginet.
Tack på förhand
