Unhandled Error

Started by pslim, Mon 01/12/2008 04:13:36

Previous topic - Next topic

pslim

This happens when I attempt to run any game, whether compiled or uncompiled previously, demo game included, from the editor:

Error: No process is associated with this object.
Version: AGS 3.1.0.60

System.InvalidOperationException: No process is associated with this object.
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_HasExited()
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_ExitCode()
   at AGS.Editor.Tasks._testGameProcess_Exited(Object sender, EventArgs e)
   at AGS.Editor.Tasks.RunEXEFile(String exeName, String parameter, Boolean raiseEventOnExit)
   at AGS.Editor.Tasks.TestGame(Boolean withDebugger)
   at AGS.Editor.InteractiveTasks.TestGame(Boolean withDebugger)
   at AGS.Editor.Components.BuildCommandsComponent.TestGame(Boolean withDebugger)
   at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
   at AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
   at AGS.Editor.MainMenuManager.MenuEventHandler(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



After that I can't quit the editor because it thinks I'm still in the test game. I'm running Vista, and have installed AGS outside of the program files directory.


 

Pumaman

When did this start happening to you? Have you just upgraded from a different version or did it just start happening randomly?
Has this happened to anyone else?

pslim

I had just upgraded from 2.72, but I hadn't used 2.72 in a long time. I can't remember to be honest whether I actually used the 2.72 editor on my Vista machine or not. I've used so many versions of AGS over the (wonderful) years that it's a blur.  :=

This occurred the first time I tried to run the demo game in the editor of the new version to see what had changed, and any subsequent times I tried to run any project in progress, whether I compiled it first or not, whether it was the demo or some one room no-script draft I opened to test it.


I'm so sad !  I want to use AGS. I'm afraid it's some catastrophic problem on my end but I don't know what or what to do about it.
 

Pumaman

Was it you that reported problems opening the manual in the General forum? It could be that for some reason the files in your AGS folder are blocked/inaccessible, which is why AGS can't run the game. Try re-installing from the EXE installer and make sure that you haven't got any programs running like anti-virus which might be blocking the files for some reason.

pslim

Yeah, that was me.

I tried uninstalling it and reinstalling it again (which makes about three times) from the EXE, in C:\AGS, and made sure my anti-virus software was off, but I got the same error.  :-\
 

SMF spam blocked by CleanTalk