Author Topic: [Solved] UnhandledError on startup  (Read 5353 times)

Offline Mad_Hatter

  • Newbie
  • *
  • Posts: 5
[Solved] UnhandledError on startup
« on: October 22, 2009, 09:27:19 pm »
Hello, I have almost exactly the same error as another thread with a few differences.  Also, I don't even get to the profile creation page.  This error pops up as soon as I try to start the game.  I downloaded the demo from a mirror provided on the AI War site.  (AIWarSetup2000)   I've tried uninstalling and reinstalling the .NET 3.5 SP.1 several times with restarts, along with reinstalling the demo several times and there is no change.  I have tried downloading the "AIWar1000To1301" update but when i try to run it I get the same error.  Anything else I should be trying here?
I am running Vista 64.

Any help would be very much appreciated.  (I would likely buy the game)  Sorry for posting this in the other "solved" thread.

Here is the error so you can see:

22/10/2009 9:12:57 PM (2.0)
-----------------------------------Application_ThreadException-----------------------------------System.IO.FileNotFoundException: Could not load file or assembly 'SlimDX, Version=2.0.7.41, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9' or one of its dependencies. The system cannot find the file specified.
File name: 'SlimDX, Version=2.0.7.41, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9'
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
« Last Edit: October 23, 2009, 05:45:38 am by Fiskbit »

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: UnhandledError on startup
« Reply #1 on: October 22, 2009, 09:55:33 pm »
Hey,

Have you had any luck with the suggestion in the original thread? http://arcengames.com/forums/index.php/topic,1841.msg11554.html#msg11554

Hi Mad_Hatter,

The error would seem to indicate a missing or corrupt install of the SlimDX environment, I recommend downloading and installing SlimDX separately to see if that fixes the issue. Link here - http://arcengames.com/forums/index.php/topic,1811.0.html

Regards,
Revenantus.
« Last Edit: October 22, 2009, 09:57:18 pm by Revenantus »

Offline Mad_Hatter

  • Newbie
  • *
  • Posts: 5
Re: UnhandledError on startup
« Reply #2 on: October 22, 2009, 10:17:14 pm »
Hey thanks for the quick response, btut I tried installing that from there and it gets right to the end and then gives me this error:

 "There is a problem with this windows installer package.  A Program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."

I tried downloading it a couple of times, didn't help.  Anything you can help me with?
thanks.

Offline Mad_Hatter

  • Newbie
  • *
  • Posts: 5
Re: UnhandledError on startup
« Reply #3 on: October 23, 2009, 02:45:41 am »
Hey I found a solution.  After a lot of searching around I found a random forum and found out that i needed to download a directx redistributable from here:

http://www.microsoft.com/downloads/thankyou.aspx?familyId=9226a611-62fe-4f61-aba1-914185249413&displayLang=en&hash=p6fAz1hO0llopJBACzAJSsfhJzsfD4fKCDZKLJnZAPx4TV8J9lUUTEZ300LIzzJEkW8zrlwugrT8UnYPwkljPA%3d%3d

..and install it into:

C:\Users\name\AppData\Local\Temp\DirectX Redist

Then i installed Slimdx from the link you sent and it worked fine, game started and now i'm playing.
Thanks for your help identifying the problem.

Heres the link to the thread if your interested.

http://www.gamedev.net/community/forums/topic.asp?topic_id=536680&whichpage=1�

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: UnhandledError on startup
« Reply #4 on: October 23, 2009, 02:47:00 am »
Thanks very much for the link - glad to hear that the issue's been resolved.

Enjoy playing AI War!

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: UnhandledError on startup
« Reply #5 on: October 23, 2009, 05:45:11 am »
It's great to hear that you got this figured out. Nice job finding that thread and solution; I figure it might be of help for other users, too.

Sorry for the trouble you had getting this working, but I hope the gameplay makes up for it. Enjoy the game!
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!