Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: HandsFree on Tue 08/11/2016 21:08:11

Title: error starting AGS [solved]
Post by: HandsFree on Tue 08/11/2016 21:08:11
Starting AGS 3.3.4.2. I get the following error. Today it worked but after shutting down it won't start anymore...
Any ideas?

An unexpected error occurred trying to start up the AGS Editor. Please
consult the details below and post the error to the AGS Technical
Forum.

Systern.lO.FileNotFoundException: Kan bestand of assembly
AGS.CScript.Compiler, Version: 3.3.4.2, Culture=neutral,
PublicKeyToken=null of een van de afhankelijkheden hiervan niet
laden. Het systeem kan het opgegeven bestand niet vinden.
Bestandsnaarn: AGS.CScript.Compiler, Version: 3.3.4.2, Culture=neutral,
PublicKeyToken=null

bij AGS.Editor.AutoComplete.ConstructCache(Script scriptToCache,
Boolean isBackgroundThread)
bij AGS.Editor.AGSEditor.DoEditorlnitializatio()
bij AGS.Editor.ApplicationController..ctor()
bij AGS.Editor.Program.startupTimer_Ticl<(Object sender, EventArgs e)
bij System.Windows.Forrns.Tirner.OnTicl<(EventArgs e)
bij System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message
& m)

bij System.Windows.Forms.NativeWindow.Callback(lntPtr hWnd,
lnt32 rnsg, lntPtr wparam, lntPtr lparam)
Title: Re: error starting AGS
Post by: Crimson Wizard on Tue 08/11/2016 21:15:23
Is there AGS.CScript.Compiler.dll in AGS program folder? I'd just guess that a file is missing or got corrupt for some reason. Have you tried reinstalling AGS?
Title: Re: error starting AGS
Post by: HandsFree on Tue 08/11/2016 21:21:17
There was no AGS.CScript.Compiler.dll, but there was one in the AGS 3.3.2 folder. So I copied that and now 3.3.4.2. starts again.
Is this ok? Or should I have a newer version of the dll?
Title: Re: error starting AGS
Post by: Crimson Wizard on Tue 08/11/2016 21:51:47
Quote from: HandsFree on Tue 08/11/2016 21:21:17
There was no AGS.CScript.Compiler.dll, but there was one in the AGS 3.3.2 folder. So I copied that and now 3.3.4.2. starts again.
Is this ok? Or should I have a newer version of the dll?
That depends on whether this library changed between these versions. But it is always safer to get all files from one version.
You may download zip archive with AGS 3.3.4.2 in this topic: http://www.adventuregamestudio.co.uk/forums/index.php?topic=52398.0
Title: Re: error starting AGS
Post by: HandsFree on Tue 08/11/2016 22:00:13
Ok, thanks.