Author Topic: [Solved] Launch Issue: System.IO.FileNotFoundException  (Read 15544 times)

Offline Slothsberry

  • Newbie
  • *
  • Posts: 6
[Solved] Launch Issue: System.IO.FileNotFoundException
« on: October 22, 2009, 03:53:21 am »
10/22/2009 3:08:50 AM (2.0)
-----------------------------------Application_ThreadException-----------------------------------System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at AIWar.GameForm.DrawDirect3D()
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 1428
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 244
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 261
   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].

I just bought the game on steam, and after first time setup and installation of the .NET framework, the game begins to launch, and the profile creation dialogue opens and immediately this error pops up. help would be appreciated.
« Last Edit: October 22, 2009, 06:58:46 am by Fiskbit »

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: Launch Issue: System.IO.FileNotFoundException
« Reply #1 on: October 22, 2009, 03:56:11 am »
Something wrong with .NET 3.5.

You rebooted system after .NET installation? I don't know that it is necessary but it is worth trying.

If it still will not work reinstall .NET manually.
http://www.arcengames.com/dl/dotNetFx35setup.exe

I hope that will help.
« Last Edit: October 22, 2009, 03:58:54 am by AcidWeb »

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Launch Issue: System.IO.FileNotFoundException
« Reply #2 on: October 22, 2009, 04:52:15 am »
Hi, Slothsberry. I'm sorry to hear about the troubles you're having with getting the game running. As AcidWeb pointed out, previous instances of this error have pointed to a lack of Microsoft .NET 3.5. Perhaps a reboot is necessary, or you could try downloading and installing it again, yourself. More information is available in this thread: http://arcengames.com/forums/index.php/topic,26.0.html.

I'm not sure if the version linked to by AcidWeb is .NET 3.5 or 3.5 SP1, but the latter would be better to avoid desyncs in multiplayer (as explained in the thread above). Following the Option A instructions in that thread might be your best bet.

Please let us know if this doesn't work! Thanks, and sorry again for the problems you're experiencing.
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!

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: Launch Issue: System.IO.FileNotFoundException
« Reply #3 on: October 22, 2009, 04:57:14 am »
I'm not sure if the version linked to by AcidWeb is .NET 3.5 or 3.5 SP1 (...)

It is 3.5 SP1  :)

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Launch Issue: System.IO.FileNotFoundException
« Reply #4 on: October 22, 2009, 04:58:52 am »
Ah, well, good. :) Thanks for the info!
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!

Offline Slothsberry

  • Newbie
  • *
  • Posts: 6
Re: Launch Issue: System.IO.FileNotFoundException
« Reply #5 on: October 22, 2009, 06:52:41 am »
Doing a manual install of .NET and a reboot did it. thanks.

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Launch Issue: System.IO.FileNotFoundException
« Reply #6 on: October 22, 2009, 06:58:31 am »
Great, very glad to hear it. I hope you 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!

Offline Mad_Hatter

  • Newbie
  • *
  • Posts: 5
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #7 on: October 22, 2009, 09:24:18 pm »
Hello, I have almost exactly the same error except 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)

Here is the error just 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].


Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #8 on: October 22, 2009, 09:27:20 pm »
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.

Offline Mad_Hatter

  • Newbie
  • *
  • Posts: 5
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #9 on: October 22, 2009, 09:59:03 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 Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #10 on: October 23, 2009, 08:30:15 am »
For those curious or having the same problem, Mad_Hatter's error was solved in this thread: http://arcengames.com/forums/index.php/topic,1851.0.html.
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!

Offline Slothsberry

  • Newbie
  • *
  • Posts: 6
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #11 on: October 25, 2009, 10:59:26 pm »
after i did a manual install of .NET, when i start up AI wars, steam think that it's a first-time setup. steam then proceeds to show me a dialog box telling me this, and that it is installing .NET, for about 5 minutes before the game actually launches.

I remember seeing the workaround of running the game outside of steam by downloading the game again from your site, and using the registration key from the steam download, but i'm curious about the fix for this, or if anyone else is having the same problem.


Whoops, there's already a post on this.
« Last Edit: October 25, 2009, 11:01:44 pm by Slothsberry »

Offline problemz

  • Newbie
  • *
  • Posts: 1
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #12 on: October 26, 2009, 10:00:45 am »
Same issue..

10/26/2009 4:45:31 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].

Win7 Ultimate (64bit)

Currently trying to install SlimDX

Will provide feedback if it works...  Thanks!


Edit: Game launched perfectly!
« Last Edit: October 26, 2009, 10:18:39 am by problemz »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: [Solved] Launch Issue: System.IO.FileNotFoundException
« Reply #13 on: October 26, 2009, 11:36:07 am »
Excellent!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!