Scriptexecutor installation

Hjälp med plugins, tillägg (exempelvis webbtillägget) och exempelkod som inte ingår i Switch Kings officiella installationspaket
Forum rules
För att kunna hjälpa dig med supportfrågor behöver vi så mycket information som möjligt.
Innan du skapar en ny tråd, läs gärna:
viewtopic.php?f=10&t=20
hakha4
2 stars
2 stars
Posts: 21
Joined: Mon 29 Nov 2010, 19:24

Scriptexecutor installation

Post by hakha4 » Sun 11 Dec 2011, 17:31

Hej!
Var hittar jag installationsguiden till scriptexecutor plugin?,länken fungerar inte på hemsidan

Mvh Håkan

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Scriptexecutor installation

Post by Martin » Sun 11 Dec 2011, 20:39

Under "Support" - "Konfiguration" (eller sök på Script Executor på webbplatsen).

Tack för informationen om länken!
Martin | Switch King

hakha4
2 stars
2 stars
Posts: 21
Joined: Mon 29 Nov 2010, 19:24

Re: Scriptexecutor installation

Post by hakha4 » Sun 11 Dec 2011, 22:07

Hej och tack för svar,kör med EventListener som fungerar ok förutom att tjänsten stänger av ibland och är lite 'seg'. Får inte Scriptexecutor pluginet att starta. Behöver man skriva något i SW's config-fil?
Mvh Håkan

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Scriptexecutor installation

Post by Martin » Sun 11 Dec 2011, 22:10

Switch Kings konfigurationsfil behöver inte ändras.
Plugin som läggs i katalogen "Plugins" startar automatiskt samtidigt som Switch King startas. Om pluginet misslyckas med att starta så skrivs information antingen i Switch Kings serverloggar eller i Windows loggbok.
I loggarna hittar du även information _om_ pluginet startats.
Martin | Switch King

hakha4
2 stars
2 stars
Posts: 21
Joined: Mon 29 Nov 2010, 19:24

Re: Scriptexecutor installation

Post by hakha4 » Mon 12 Dec 2011, 08:44

Hej igen
Jag går bet på att få pluginet att starta.Jag har inaktiverat EventListener tjänsten och startat om servern och får detta resultat i loggen. Någon hint vad som felas ?

Method used is TellStickWrapper.
{Hub Communicator Service - Shutdown} --<Status> -- 2011-12-12 08:38:23 -- Service shut down requested
{Hub Communicator Service - Shutdown} --<Status> -- 2011-12-12 08:38:23 -- Service shut down gracefully
{REST Service - Shutdown} --<Status> -- 2011-12-12 08:38:24 -- Service shut down requested
{REST Service - Shutdown} --<Status> -- 2011-12-12 08:38:24 -- Service shut down gracefully
{Invocation Service - Shutdown} --<Status> -- 2011-12-12 08:38:25 -- Service shut down requested
{Data Collector Service - Shutdown} --<Status> -- 2011-12-12 08:38:27 -- Service shut down requested
{Framework Service - Shutdown} --<Status> -- 2011-12-12 08:38:32 -- Service shut down requested
{Framework Service - Shutdown} --<Status> -- 2011-12-12 08:38:32 -- Service shut down gracefully
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Running version 2.0.1.0 of server and version 2.01 of DB.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Build date and time for this version is 2011-10-25 22:01:12.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Telldus version is 2.1.0.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Validating database version and executing upgrade scripts.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- No upgrade performed. Database version is already up to date.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Status of license is Valid.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Opening service channel for Framework.
{Framework Service - Startup} --<Status> -- 2011-12-12 08:38:34 -- Service channel for Framework opened.
{Plugin Loading} --<Warning> -- 2011-12-12 08:38:35 -- Failed to load assemblies. Error:
System.Reflection.ReflectionTypeLoadException

Level 1) Det går inte att läsa in en eller flera av de begärda typerna. Hämta egenskapen LoaderExceptions om du vill ha mer information.

StackTrace for Level 1:
vid System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
vid System.Reflection.Assembly.GetTypes()
vid SwitchKing.Server.Plugins.PluginLoader.GetPluginTypes(List`1 assemblies, Type pluginType, Type attributeType)
{Plugin Loading} --<Warning> -- 2011-12-12 08:38:35 -- Failed to load assemblies. Error:
System.Reflection.ReflectionTypeLoadException

Level 1) Det går inte att läsa in en eller flera av de begärda typerna. Hämta egenskapen LoaderExceptions om du vill ha mer information.

StackTrace for Level 1:
vid System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
vid System.Reflection.Assembly.GetTypes()
vid SwitchKing.Server.Plugins.PluginLoader.GetPluginTypes(List`1 assemblies, Type pluginType, Type attributeType)
{Plugin Loading} --<Warning> -- 2011-12-12 08:38:35 -- Failed to load assemblies. Error:
System.Reflection.ReflectionTypeLoadException
..............

Mvh Håkan

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Scriptexecutor installation

Post by Martin » Mon 12 Dec 2011, 08:58

Något i Windows loggbok?

(flyttat inlägget till rätt kategori)
Martin | Switch King

hakha4
2 stars
2 stars
Posts: 21
Joined: Mon 29 Nov 2010, 19:24

Re: Scriptexecutor installation

Post by hakha4 » Mon 12 Dec 2011, 10:07

Finns loggat INNAN uppdatering av servern som jag gjorde igår,inget därefter så ngt har väl hänti smb med uppdateringen,frågan är vad?

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Scriptexecutor installation

Post by Martin » Mon 12 Dec 2011, 10:30

Kan inte säga orsaken till att det inte laddas, tyvärr. Just ScriptExecutor har inte förändrats något sedan release.
Det enda jag kan tipsa om är nog att gå upp till 2.0.2. Från 2.0.2 så ligger alla plugins med i installationspaketet (installeras i katalogen "Repositories/Plugins/Bin" och de man vill aktivera kopieras till "Plugins"-katalogen).
De nedladdningsbara pluginen som finns i installationspaketet kommer därför att försvinna från webbplatsen.
Martin | Switch King

hakha4
2 stars
2 stars
Posts: 21
Joined: Mon 29 Nov 2010, 19:24

Re: Scriptexecutor installation

Post by hakha4 » Mon 12 Dec 2011, 16:35

Har installerat 2.02 men samma problem kvarstår. Lite som att leta efter en nål i en höstack.Googlat på problemet och förefaller ha ngt med NET 4.0 att göra,reparerat denna installation men ingen ändring. Någon annan som haft samma problem och kan ge lite tips hur man ska lösa detta ?
Mvh Håkan

Martin
Administrator
Administrator
Posts: 2655
Joined: Tue 09 Nov 2010, 20:25

Re: Scriptexecutor installation

Post by Martin » Mon 12 Dec 2011, 16:45

Skicka gärna din konfigurationsfil i ett PM eller ett mail. Funderar på om det kan vara ngt där som ger detta problem men att det signaleras lite tokigt i loggen.
Martin | Switch King

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests