Sign in to follow this  
mibmab

Flight fails to start - occasionally

Recommended Posts

I've been using flight with the toolkit 1.0.25.17696. Most of the time it works fine - superb work by stonelance! But occasionally I get the following error message while the first splash screen is shown - and Flight fails to start:

"Games for Windows - LIVE failed to initialize. Another Games for Windows - LIVE title may be running, or your product installation may be corrupted. You may need to repair or reinstall Microsoft Flight. (80004005)"

A restart of the system does not resolve the issue. But then after a few days flight suddently works again with no problems. Has anyone else this problem? Could it be linked to an issue with the toolkit - or something else?

Andreas

 

 

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi Andreas.

 

I also get this.

 

taSMF7M.png

 

When I uninstall the toolkit, Flight works fine. Flight version 1.1.1.30063

 

Doesn't seem to matter what version of the toolkit I try.

 

Dick

Share this post


Link to post
Share on other sites

This is also happening to me. It just started happening today - I have tried to reinstall Flight to no avail.

Share this post


Link to post
Share on other sites

This happened to me the first time today. I attempted a reinstall/repair of the Flighttoolkit without success.

 

I also attempted a system restore to a few days ago when the non-GFWL Flighttoolkit modified Flight was working fine but before a Windows update but again no success.

 

I just found Flight a few weeks ago and appreciate stonelance's (and others') efforts to keep this enjoyable program available. Thank You!

 

I don't have the time available to dedicate to a hard-core sim system but love Flight!

Share this post


Link to post
Share on other sites

Same here. I suspect this is  another one of the infamous "Microsoft Security Updates" that has kludged something. I had a few updates several days ago and another this morning. Probably one of them. Hope someone can sort this out.

Share this post


Link to post
Share on other sites

Same exact experience.  For me this started yesterday.  I don't remember if I tried it the day before.

I'm holding off on a re-install of Flight until we hear something from the devs.

Has anyone out there (on toolkit 1.0.25.x) been able to  run Flight today?

Share this post


Link to post
Share on other sites

Same here, the non-GFWL version on my laptop will not start after the splash screen comes up. I also had recent updates applied. However, the multiplayer version on my main machine is running currently with eight people buzzing around Lanai Airport when I checked a few minuets ago. Many others scattered around both Hawaii and Alaska.

 

Steve

Share this post


Link to post
Share on other sites

Yep.

 

It's the non-GFWL versions that fail. Version FlightToolkit_1_0_23_0 seems to work OK.

 

Dick

Share this post


Link to post
Share on other sites

OK. I managed to get to the root of this problem within 2 minutes after posting! New time for me. 

 

Solution (for now!):

 

Rough conclusion: The problem appears to be coming from the xlive.dll file in the Main Microsoft Flight folder which is installed by the toolkit to over-run the GFWL-one. 

 

Short Term Solution -

1. Install the Multiplayer version of the Toolkit

    or...

2. Delete and BACKUP, xlive.dll from the root Microsoft Flight version folder to revert to Multiplayer enabled mode.

 

This is a global problem with the Toolkit. Steve should get to it soon. Until then, there is no use in reinstalling the Toolkit if you have the GFWL-Less version... 


Note: It is fine for Flight to say that the game is corrupted. It really isn't. The Flight Toolkit installs three new files into the main folder which does not correspond to the check sum algorithm which is performed on start-up. You are allowed to add files into the main game folder but the original files cannot be altered.

Share this post


Link to post
Share on other sites

Yes.

 

You can go to the Flight folder and rename xlive.dll as xlive.dll.bad and it will work.

 

Dick

Share this post


Link to post
Share on other sites

Yes.

 

You can go to the Flight folder and rename xlive.dll as xlive.dll.bad and it will work.

 

Dick

That works, but you lose all your progress and start over at the beginning again. Is there a way to do it without losing everything? If so, please explain because I suspect many of our pilots will be faced with this.

Share this post


Link to post
Share on other sites

Hi Folks

It's not a global problem with the non-GFWL FTK.

Across yesterday, from very early morning, till late,
I launched a total of 26 different Flight sessions.

Only once did Flight fail to load & launch a mission/job, (I think late morning UTC),
and that was possibly model related.

I'm running FTK 1.0.25.5.
xlive.dll is dated 26/10/2014 10:49
Flight is installed to a non-UAC location.
OS is Windows 7 Ultimate, 64bit.

I've no pending Windows Updates to apply.
I've rebooted, and Flight is still working today, (4 sessions).

HTH
ATB
Paul

Share this post


Link to post
Share on other sites

Sure would be interesting to see what's causing this if some of us aren't affected. I've tried again this morning, and still get the error. I too am using the 1.0.25.5 version.

Share this post


Link to post
Share on other sites

It's not a global problem with the non-GFWL FTK.

 

      That's why there is a solution to revert back to the non-GFWL version... I know that there is no problem with the non-GFWL version.

 

 

Flight is installed to a non-UAC location.

 

     I tried moving my Flight installation to a separate HHD but the same problem occurs...  :mellow:

Share this post


Link to post
Share on other sites

I had the problem first, I think about a week ago. And as I wrote in my original post, flight suddently started working again after that. In fact it was suddently loading much quicker, just as it used to without the toolkit. Then yesterday the error appeared again. So it seems to be an intermittent problem, at least for me. If, as KavindaJD suggests, the error message may be triggered by a failed checksum as files were added/modified in the flight folder, I'm surprised to see this alternating behaviour - so maybe a link to MS updates?

A

Share this post


Link to post
Share on other sites

I restored my system back to pre-update condition of 11/22, and still Flight will not start.

 

I used the xlive.dll rename trick and Flight started, but put me back at square one. I'm afraid I might have lost my progress to date, EP's, aerocaches, landings, etc....

 

I should have been thinking and backed up my career files before trying it, but didn't. My bad. But, it might not be bad to start over anyway. That will extend the life of Flight for me by at least two more years to get back to where I was. :)

Share this post


Link to post
Share on other sites

Hi Folks
 

That's why there is a solution to revert back to the non-GFWL version...
 
I know that there is no problem with the non-GFWL version.

 
LOL.
Do you ever read the posts you reply to ?   :lol:
 
Example non-GFWL failures -

I also attempted a system restore to a few days ago
when the non-GFWL Flighttoolkit modified Flight was working fine
but before a Windows update
but again no success.

i.e. non-GFWL fails
 

Same here, the non-GFWL version on my laptop will not start after the splash screen comes up.

i.e. non-GFWL fails
 

It's the non-GFWL versions that fail.

i.e. non-GFWL fails
 

I've tried again this morning, and still get the error.
I too am using the 1.0.25.5 version.

i.e. non-GFWL fails

Going by the version numbers cited,
the issue is being reported for both GFWL and non-GFWL versions.
 
 



For anyone who's been experiencing this error
taSMF7M.png
 
The error is GFWL failed to initialize.
 
The remainder is only one possible reason why GFWL failed to initialize.
Not the definitive reason.
 
 

Maybe someone could try the following -
 
Close the dialog.
Close Flight.
Stop your GFWL service, (Task Manager - Services - wlidsvc - Right-click - Stop).
Do not restart wlidsvc. (If Flight needs it, launching Flight should restart it for you.)
 
Reinstate any disabled / deleted dlls.

Start Flight.
Does the error occur now ?
 
 


I'd have thought

users of the non-GFWL FTK shouldn't be getting this error at all.
 
Does the default shortcut to launch Flight,
contain a call to launch GFWL ?
 
My shortcut is one I'd made, directly to the flight.exe.
 
 
 
HTH
ATB
Paul

Share this post


Link to post
Share on other sites

LOL.

Do you ever read the posts you reply to ?   :lol:

 

Nope.. :P

Sorry about that, I mean the Multiplayer enabled version. i.e. the GFWL enabled version! The solution that I posted enables you to revert so that GFWL is once again a dependency.

 

Steve, said that the GFWL version works fine and he has all of his data. Deleting the xlive.dll does not truly revert the FTK, it just enables GFWL for the GFWL -Less version! 

 

So I'll have to diagree with:

the issue is being reported for both GFWL and non-GFWL versions.

 


I also tried by starting GFWL on it's own and then running Flight and it doesn't work either way... so the other possibility is that the Flight installation is corrupt which is reported when there is an error in the root install directory. Flight launches GFWL in it's internal code.

 

     When xlive.dll is removed from the install directory, why does Flight then start? 

 


This is a "global" problem. In computing terms it is affecting more than one local computer.  :lol:

 


A shortcut does not call upon two executables. You call upon Flight.exe which then directs GFWL to open.

 

In a way this still happens. You cannot completely get rid of the connection between GFWL and Flight. Flight has been compiled with a dependency wih GFWL.exe.

 

The FTK just tells Flight to ignore this.

Share this post


Link to post
Share on other sites

OK, I did that and got the same error.

 

 

 

----Quote----

Maybe someone could try the following -
 
Close the dialog.
Close Flight.
Stop your GFWL service, (Task Manager - Services - wlidsvc - Right-click - Stop).
Do not restart wlidsvc. (If Flight needs it, launching Flight should restart it for you.)
 
Reinstate any disabled / deleted dlls.

Start Flight.
Does the error occur now ?

Share this post


Link to post
Share on other sites

Hi Folks

 

Tom -

Which FTK version are you using, GFWL or Non-GFWL ?

 

 

 

What version are your GFWLive & Client exes ?

Version # is displayed at the bottom of the GFWMarketplace - Settings page.

 

My current working GFWLive.exe version is 3.5.0067.0.

 

 

 

If your version is older than 3.5.0067.0,

Kavinda had previously posted instructions

for fully uninstalling, then downloading & installing the latest GFWL version components.

See his post at - Just Flying Fun

 

 

 

HTH
ATB
Paul

Share this post


Link to post
Share on other sites

Don't rename or delete xlive.dll is the replacement for GFWL.  If you are having problems with the non-GFWL version, then try uninstalling it and install the GFWL version instead.  Renaming that file could cause the uninstall to fail next time you install a new version of the toolkit.

 

That error occurs whenever LIVE fails to start.  For the non-GFWL toolkit, this means my replacement is failing to start.  It should be writing a xlive.log file into %localappdata%\Flight Tools\Flight Toolkit\xlive.log.  Please post the contents here if the last time you ran Flight you got the initialization error.  It gets overwritten every time, so if you tried running Flight again after an error, or after renaming xlive.dll, then it won't haven anything useful.

 

My guess is that it can't connect to one of the servers, but not sure.

 

Edit: Just a couple seconds of testing and I am getting it now too.  It can't connect to the database.  I'll try to get it fixed soon, and change the code for the next version so that it can handle missing connections to the DB.

 

Next time, instead of renaming files, please check the logs...

Share this post


Link to post
Share on other sites

This is my xlive.log:

 

Initializing Live...
  Loading Title ID
  Title ID is 4D5308D2
  Determining installed DLC list...
  Enabled content: 09f31425a816b0a0b0e1bc32c64297b7b4ada251
  Enabled content: 1d41d3a9122ea6e86b140300399fa28a33db2114
  Enabled content: 208ff0a175569d6e76ae2019a6eae54f04a486f9
  Enabled content: 2b2a32fce7efc6806355990bc540d1b586ce2a78
  Enabled content: 33ed0905e4a724475213b37ec4fe5a1442df7271
  Enabled content: 34B73A79B8261EBF8FE072E64E912C5428E5B535
  Enabled content: 4474540481d064a2637e3c596d960ee101256722
  Enabled content: 6ceb63a6f8e30eb01603d1695f0ddc14ae95c8b1
  Enabled content: 786c79e0d4e4028749854f20655dd40dde80f7ff
  Enabled content: a956054769629e09f0159d73dbf23b351f59b859
  Enabled content: b2101d64f9b60be2baa0671d710c0c957cfd3da4
  Enabled content: ccac8d9a6ff8adebe8ee9452a5fa89ac8dfdcf15
  Enabled content: de89bcc501a1909cd3b5648582e66811b93831bc
  Enabled content: e08efa1dee5774b44aea7baf1a4d49c766f4fc4c
  Enabled content: f46f1f00385fad61777b8749716572f7511a311a
  Enabled content: f4cde55c9a4158c4915759b1b3c00a49719ec8ff
  Initializing SQL
  Connecting to SQL DB
  Error: Failed to connect to SQL DB: Unknown MySQL server host 'flive.db.10499026.hostedresource.com' (0)
Error: Failed to initialize Live...

 

@stonelance: As you write, it fails to connect to the database. I hope this helps in determining the cause of the error.

A

Share this post


Link to post
Share on other sites

Thanks for the confirmation.

 

I'm really confused as to why this is no longer working any more.  I didn't change anything on my end.  Is anyone familiar with MySQL databases?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this