cannot install game

dmjd45

New in town

Posts: 1

Joined: Sat Jun 28, 2008 8:02 am

Post Sat Jun 28, 2008 8:04 am

cannot install game

when I double click on freetrain.exe it gives me this error message:


The type initializer for 'freetrain.framework.MainWindow' threw an exception.
at freetrain.framework.MainWindow..ctor(String[] args, Boolean constructionMode)
at Driver.Driver.Main(String[] args)
The type initializer for 'freetrain.framework.ResourceUtil' threw an exception.
at freetrain.framework.ResourceUtil.loadSystemPicture(String name)
at freetrain.framework.MainWindow..cctor()
Retrieving the COM class factory for component with CLSID {E1211353-8E94-11D1-8808-00C04FC2C602} failed due to the following error: 80040154.
at org.kohsuke.directdraw.DirectDraw..ctor()
at freetrain.framework.ResourceUtil..cctor()

freegamer

User avatar

Site Admin

Posts: 119

Joined: Fri Mar 14, 2008 3:11 pm

Post Sat Jun 28, 2008 11:05 pm

Re: cannot install game

Linux or Windows?
Free Gamer - open source games blog
FreeGameDev forums - open source games development community

DjinNTonic

New in town

Posts: 1

Joined: Fri Jul 04, 2008 3:16 pm

Post Fri Jul 04, 2008 3:27 pm

Re: cannot install game

I am seeing this error in Vista.

Zephyris

New in town

Posts: 1

Joined: Mon Aug 11, 2008 12:52 pm

Post Mon Aug 11, 2008 1:06 pm

Re: cannot install game

I am getting the same error:
The type initializer for 'freetrain.framework.MainWindow' threw an exception.
at freetrain.framework.MainWindow..ctor(String[] args, Boolean constructionMode)
at Driver.Driver.run(String[] args) in c:\dev\freetrain\trunk\FreeTrain\tools\Driver\Driver.cs:line 38
at Driver.Driver.Main(String[] args) in c:\dev\freetrain\trunk\FreeTrain\tools\Driver\Driver.cs:line 26
The type initializer for 'freetrain.framework.ResourceUtil' threw an exception.
at freetrain.framework.ResourceUtil.loadSystemPicture(String name)
at freetrain.framework.MainWindow..cctor() in c:\dev\freetrain\trunk\FreeTrain\core\framework\MainWindow.cs:line 119
Retrieving the COM class factory for component with CLSID {E1211353-8E94-11D1-8808-00C04FC2C602} failed due to the following error: 80040154.
at org.kohsuke.directdraw.DirectDraw..ctor() in c:\dev\freetrain\trunk\FreeTrain\lib\DirectDraw.net\DirectDraw.cs:line 47
at freetrain.framework.ResourceUtil..cctor() in c:\dev\freetrain\trunk\FreeTrain\core\framework\ResourceUtil.cs:line 93


Running Vista Home Premium (32bit), service pack 1 not installed.

Game looks good though! I hope I can get it running, I would like to develop graphics for it :D

Adjutant

New in town

Posts: 2

Joined: Sat Nov 15, 2008 6:30 pm

Post Sat Nov 15, 2008 6:31 pm

Re: cannot install game

Zephyris wrote:I am getting the same error:
The type initializer for 'freetrain.framework.MainWindow' threw an exception.
at freetrain.framework.MainWindow..ctor(String[] args, Boolean constructionMode)
at Driver.Driver.run(String[] args) in c:\dev\freetrain\trunk\FreeTrain\tools\Driver\Driver.cs:line 38
at Driver.Driver.Main(String[] args) in c:\dev\freetrain\trunk\FreeTrain\tools\Driver\Driver.cs:line 26
The type initializer for 'freetrain.framework.ResourceUtil' threw an exception.
at freetrain.framework.ResourceUtil.loadSystemPicture(String name)
at freetrain.framework.MainWindow..cctor() in c:\dev\freetrain\trunk\FreeTrain\core\framework\MainWindow.cs:line 119
Retrieving the COM class factory for component with CLSID {E1211353-8E94-11D1-8808-00C04FC2C602} failed due to the following error: 80040154.
at org.kohsuke.directdraw.DirectDraw..ctor() in c:\dev\freetrain\trunk\FreeTrain\lib\DirectDraw.net\DirectDraw.cs:line 47
at freetrain.framework.ResourceUtil..cctor() in c:\dev\freetrain\trunk\FreeTrain\core\framework\ResourceUtil.cs:line 93


Running Vista Home Premium (32bit), service pack 1 not installed.

Game looks good though! I hope I can get it running, I would like to develop graphics for it :D


I have the exact same problem. Same error too. Does this mean the game is not compatible with Windows Vista? Am I missing something? The compatability mode doesn't really make this work either.

Adjutant

New in town

Posts: 2

Joined: Sat Nov 15, 2008 6:30 pm

Post Sat Nov 15, 2008 7:59 pm

Re: cannot install game

The wonders of google, should've thought of searching this before:

http://www.railforums.co.uk/showthread.php?p=141444

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.