Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Lisa Ladvi on Thu 18/08/2016 20:05:18

Title: unexpected error occurred trying to start up the ASG editor
Post by: Lisa Ladvi on Thu 18/08/2016 20:05:18
Hi guys, Well, I do not really know what I did wrong, but I did the installation editor AGS and basically he doesn't want to open at all. This message always appears when I try to run the program:

An unexpected error occurred trying to start up the AGS Editor. Please consult the details below and post the error to the Forum. System adException: Could not load file or assembly AGS Native, Version 0.0.0.0, Culture neutral, PublicKeyToken null 'or one of its dependencies. The application failed to start due to incorrect side by side configuration. See the Application event log or use the sostrace.exe command-line tool for more information. (Exception from HRESULT: 0x800 736B1) File Name: AGS Native Version 0.0.0.0, Culture neutral PublicKeyToken null System.Runtime InteropServices.COMException (0x800736B1): The application failed to start due to incorrect side by side configuration. See the Application event og or use the sxstrace.exe command-line tool for more information. (Exception from HRESULT: 0x800 736B1) AGS. NativeProxy..ctor0 Editor AGS Editor NativeProxy get Instance0 in AGS.Editor, ApplicationController, ctor0 in AGS Editor. Program startup Timer Tick (Object sender, EventArgs System in Windows Forms mer. Tick (EventArgs e) System Windows. Forms, Timer.TimerNativeWindow WndProc Message System in. Windows Forms NativeWindow Callback (IntPtr hwind, Int32 msg, IntPtr w stop, IntPtr lparam )

I'm not very good with it..so, what exactly should I do?

Title: Re: unexpected error occurred trying to start up the ASG editor
Post by: Rockset on Thu 18/08/2016 20:25:53
Yes, I am having the same problem, starting in admin mode or starting in a compatible mode didn't help. I am on Win7-64bit please help ???

edit: AGS 3.2.1 works well, couldn't try the 3.3.4 cause the download links are broken.

(http://image.prntscr.com/image/196422ea738d4e7b969802984389c0a1.png)
Title: Re: unexpected error occurred trying to start up the ASG editor
Post by: arj0n on Thu 18/08/2016 20:44:40
v3.3.4 released (http://www.adventuregamestudio.co.uk/forums/index.php?topic=52398.0)
Title: Re: unexpected error occurred trying to start up the ASG editor
Post by: Crimson Wizard on Thu 18/08/2016 20:51:03
"AGS.Native failed to load" error means that you do not have required VC Redistributable package installed on your system.
I do not remember this exactly, but it is quite probable that AGS 3.3.0 and higher needs different VC Redist version than the AGS 3.2.1.

AGS 3.3.5 should have the correct VC Redist package coming with installer, all you need is just check the corresponding option in installation wizard. (it should be checked by default)

You can also download VC Redist separately, but it may sometimes be difficult to find matching one on microsoft site.
The version you need is exactly 9.0.30729.6161 x86.
I think you may try this link ("Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update"):
https://www.microsoft.com/en-us/download/details.aspx?id=26368


EDIT: I saw what you mean by broken 3.3.4 link, there was some reorganization on downloads page recently, I will get that fixed shortly.
Title: Re: unexpected error occurred trying to start up the ASG editor
Post by: Crimson Wizard on Fri 19/08/2016 00:03:24
[deleted information that seem to be unnecessary]