FSDreamTeam forum

Products Support => GSX Support FSX/P3D => Topic started by: 808CruzControl on November 29, 2012, 05:40:42 am

Title: Couldnt find valid AFCAD data
Post by: 808CruzControl on November 29, 2012, 05:40:42 am
Hey guys,

I just downloaded the latest update. Whenever I am at the FSDT Honolulu Airport and at the gate, I cant open up the GSX window. The green message bar is saying "[FSX] Could not find valid AFCAD data at this position, services are not available"

Before I installed the update, GSX at that very same gate was working perfectly fine. What does this mean exactly?

Thank you,

Kalen
Title: Re: Couldnt find valid AFCAD data
Post by: 808CruzControl on November 29, 2012, 05:56:21 am
okay i found the error. Before I installed the update, i had FSX running under admin rights. I guess the update changed that so i had to reset it. Now FSX runs under admin rights and now everything works again.

Ill leave this for anybody who might have this issue

unless i get told to remove it.
Title: Re: Couldnt find valid AFCAD data
Post by: WinniJets on January 09, 2013, 06:32:57 am
Good morning.
Unfortunately since updating the GSX along with Vancouver (great scenery btw) the same happens to me now. Before the update GSX was working flawless, no matter where I was flying to. Now I am getting this disturbing AFCAD - message ([FSX] Could not find valid AFCAD data at this position, services are not available") wherever I am. I tried your fix (let FSX run in administrator mode), but it did not work for me. De- and reinstalled GSX ... no success. Is there any other way to fix that (besides reinstalling the whole fsx) ? I made the logfile (a s suggested somewhere else) and let it run. It just shows the FSDT airports, I have running in my fsx.

Thanks
Joerg
Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 09, 2013, 11:38:14 am
I made the logfile (a s suggested somewhere else) and let it run. It just shows the FSDT airports, I have running in my fsx.

Can I see it ?
Title: Re: Couldnt find valid AFCAD data
Post by: WinniJets on January 10, 2013, 08:21:52 am
Good Morning Umberto,

am I bad ? Should have posted it right away. Here you go:

couatl v2.0 (build 2337)
log started on Thu Jan 10 06:00:30 2013



Thanks
Joerg
Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 10, 2013, 11:47:36 am
Quote
Error while creating airport cache: can't write to C:/ProgramData/Virtuali/Couatl/meta.txt

That looks like a permission problem on your system, try to remove the C:/ProgramData/Virtuali/ and re-create it.
Title: Re: Couldnt find valid AFCAD data
Post by: WinniJets on January 10, 2013, 09:09:25 pm
Hello Umberto,

that was the clue. It´s working just fine again. Many thanks.

Joerg
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 14, 2013, 10:51:29 pm
Sorry, I 've tried, what wrote. It doesn't help too.

the latest logfile-content:

couatl v2.0 (build 2337)
log started on Tue Jan 15 07:39:20 2013



Airport cache not valid: file meta.txt not found or malformed


What is about this mystery file meta.txt, what is named in the logfile? On my system it is located at folder: C:\ProgramData\Virtuali\Couatl

The file is totaly empty.
Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 14, 2013, 11:15:07 pm
Quote
Error while creating airport cache: can't write to C:/ProgramData/Virtuali/Couatl/meta.txt

That seems to be a problem with your account permissions. Try to remove that folder:

C:/ProgramData/Virtuali/Couatl

then create it again
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 14, 2013, 11:24:20 pm
I have done so, there is no solution...

EDIT:

the log-file-content again:

now it looks so:


Airport cache not valid: file meta.txt not found or malformed

Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 15, 2013, 02:26:17 am
I have done so, there is no solution...

Try to force a complete cache rebuild, by removing the C:\ProgramData\Microsoft\FSX\SceneryIndexes.

Then launch FSX and let BOTH FSX AND GSX rebuild their own caches. It might be possible you'll have to restart FSX another time when everything it's done.
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 15, 2013, 07:51:41 am
What is about this mystery file meta.txt, what is named in the logfile? On my system it is located at folder: C:\ProgramData\Virtuali\Couatl

The file is totaly empty.
Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 15, 2013, 12:23:25 pm
What is about this mystery file meta.txt, what is named in the logfile? On my system it is located at folder: C:\ProgramData\Virtuali\Couatl

The file is totaly empty.

It obviously is, since the program wasn't able to create it, because it couldn't write in that folder. I'm sorry, but I'm still sure there's a problem with your account permissions on that folder, that's the only possible reason it can't write it there.

You must have done something wrong. Try to remove that folder, BEFORE launching FSX:

C:/ProgramData/Virtuali/Couatl

then create it again
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 15, 2013, 02:00:17 pm
Sorry, but I don't think so. Let me describe, what things I 've done because of your suggestions:

At first, FSX was closed completely, I deleted the folder C:\ProgramData\Virtuali\Couatl using the Win7 Explorer.

After this I started FSX. After starting flight in the 3D-Window was shown a red colord textline: "Regenerating airport cache (X %), please wait..." the X % were increasing to 49 % and then GSX had stopped any function.

I closed FSX once more.

I deinstalled GSX comletely usind the Windows control panel. After this I rebooted the system. No folders of GSX-Installation were found after this.

I installed GSX once more. I deleted the folder: C:\ProgramDate\Microsoft\FSX\SceneryIndexes using Win7 Explorer.

After all that I started (launched) FSX.

After loading the flight at the airport the same thing happen: "Regenerating airport cache (X %), please wait..." the X % were increasing to 49 % and then GSX had stopped any function.

Let me say: I am the administrator of my own system. I ve tried both: Strting FSX normally or as administrator especially. No solution until this time. All this has happend since the last update of January 7th...
Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 15, 2013, 02:12:32 pm
At first, FSX was closed completely, I deleted the folder C:\ProgramData\Virtuali\Couatl using the Win7 Explorer.

If you really did what you say here, it's normal it wouldn't work because, I haven't said to JUST delete it.

I've said to delete it AND recreate it! The recreate it part was the most important. If you just delete it and hope GSX would be able to create it itself, it won't obviously work because, as I've said, what is causing the problem is not a "bug" with GSX, but the fact that Windows is blocking write access to that folder because of permissions. But if you create that folder yourself, your user account and all programs you run under that account should be able to write too.

Quote
After this I started FSX. After starting flight in the 3D-Window was shown a red colord textline: "Regenerating airport cache (X %), please wait..." the X % were increasing to 49 % and then GSX had stopped any function.

No, it's not. Nothing has "stopped". That sign stays there for a finite amount of seconds, then it goes away. It will not stay until it reaches 100%, the program was still working.

So, I'll repeat it again:

Try to remove that folder:

C:/ProgramData/Virtuali/Couatl

then create it again


Quote
Let me say: I am the administrator of my own system. I ve tried both: Strting FSX normally or as administrator especially. No solution until this time. All this has happend since the last update of January 7th...

That's not how Windows 7 security works. Even if you "are" the Administrator of your system, when you don't run programs "As Administrator", you are still running as a regular user. Which is why I've told you to RECREATE that folder, as regular user.
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 15, 2013, 03:18:44 pm
...No, it's not. Nothing has "stopped". That sign stays there for a finite amount of seconds, then it goes away. It will not stay until it reaches 100%, the program was still working...

I'm very sorry, but what do you want to tell me?

Yes it stopps. Everytime I press ctrl + 12 to open the GSX popup Window I see the same textline is coming back to the top of the 3D-Window of FSX that shows: "[GSX] Regeneratin airport cache (49 %), please wait..."

Seconds and minutes and hours after start - the same thing. And nothing more happens. And everytime it shows 49 %!

I have deinstalled GSX completely once more. I have rebooted the system. I have defragged the registry database, rebooted the system once more and reinstalled GSX using the newest completeinstaller of GSX from your homepage. The same problem.

I had deleted the virtuali\couatl folder as you described it, after that I created them via folder programdata right click --> new --> folder. Both folders, the virtuali and the subfolder couatl, are empty. The same result in FSX after restart.

What is wrong about this?

Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 15, 2013, 03:42:10 pm
Yes it stopps. Everytime I press ctrl + 12 to open the GSX popup Window I see the same textline is coming back to the top of the 3D-Window of FSX that shows: "[GSX] Regeneratin airport cache (49 %), please wait..."

No, it doesn't. 49% doesn't mean much, it might be 49% of a long process or a very short one, depending if there are many new sceneries to be updated or not.

But your issue is the program can't write to the cache folder ( C:\ProgramData\Virtuali ), because you have a permission problem so, it's not that it has stopped, it never began in the first place.

Quote
I have deinstalled GSX completely once more. I have rebooted the system. I have defragged the registry database, rebooted the system once more and reinstalled GSX using the newest completeinstaller of GSX from your homepage. The same problem.

I don't understand why you keep doing different things to what I've asked. I haven't said anything about defragging the registry, rebooting Windows, etc. If the problem had anything to do with the registry, I would have told you so.

Quote
I had deleted the virtuali\couatl folder as you described it, after that I created them via folder programdata right click --> new --> folder. Both folders, the virtuali and the subfolder couatl, are empty.

If it's empty, then try to remove the whole "Virtuali" folder, and recreate it manually, then try again.

Don't do anything else that I haven't explicitly said to do. Just do this, and launch FSX (with GSX installed, obviously)
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 15, 2013, 04:40:24 pm
Perhaps, it can be, that my English is to poor to communicate with you.

Another once:

I close FSX.

I start Win Explorer.

I go to folder C:\ProgramData. This folder contains the subfolder \Virtuali and this one the subfolder \Couatl. The last one contains two files 1.) files.bin (about 44 kB) 2.) meta.txt (0 kB, empty txt file)

I go back to the ProgramData folder and delete or remove or what ever the Virtuali\Coutal folders completely.

So, there is no Virtuali folder in PrrogramData folder.

The next step: I go to ProgramData folder klick with the right mouse button and go to the popped up item "new" and in the next step to the item "folder". Then I put in "Virtuali" to create the new folder "Virtuali". After doing this I go to the new created Virtuali folder an do the same things as one step before. I put in the name "Couatl". Now there are no files in it. That's all in Explorer. I close it.

Now I start FSX. I let boot it and I start my standard flight. When 3d-window of FSX comes up, the above so much described textline comes to life. at first 21%, then 47%, then 49% in a couple of seconds. Then the textline goes away. After about 10 or 20 minutes I press "ctrl + 12" to open the GSX poup window, and the regenerating textline with the displayed 49% comes back. Nothing more happens.

What shall I do now? What is wrong now?

To clear it up. I have tried this any times without any succes. The other things, I 've described in the post above, I tried hoping to get a positive result for me.



Title: Re: Couldnt find valid AFCAD data
Post by: virtuali on January 15, 2013, 04:51:10 pm
What shall I do now? What is wrong now?

It's possible you have a corrupted AFCAD in your system. Try to DISABLE all items in the Scenery Library which are not default, then exit FSX and enter again, and see if the cache update completes.

If if does, you will then re-enable each item in the Scenery Library, and have it re-create the cache each time (exiting and re-entering FSX each time) until you find in which folder the offending file is.
Title: Re: Couldnt find valid AFCAD data
Post by: Odinsson on January 15, 2013, 05:16:34 pm
Thank you, the disabeling of the Scenery Addons solves the problem at the first. Puh, I beleave there will come a long night (another one) to me to find out, which Addon is the "devil".  ;D Thank you!