• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

AIFP "Invalid control registration - MainPanel" error!

Hello,

I used to use AIFP on FS2004 without issue before I was forced to format my PC, but once I reinstalled it, it gives me an error on startup that says "Invalid control registration - MainPanel"... every action I do (whether it's adding bulk aircraft or anything similar..) gives me the same error, "Invalid control registration - SelectAircraft" etc...

It lets me add aircraft to an premade flight plan but the compile option is greyed out... even the compile parameters won't let me save any settings since the "Continue" button is also greyed out...

What do I do??

OS: Windows 10 Pro
Flight simulator: Microsoft Flight Simulator 2004 (Installed on an external hard drive)

1622880989751.png
1622881181537.png
1622881294846.png
 

gadgets

Resource contributor
The underlying problem is that AIFP cannot find FS9. (You'll note the Target Version groupbox on the Main Panel - where you used to see a FS9 radiobutton - is blank. ) Whether it's because FS9 :
  • re-installed in a non-standard manner such that the usual system registry items are not set, or
  • Is unable to access the "external hard drive
is impossible for me to say.

As a workaround, open AIFP.ini with a text editor and find the line that starts "Path to FS9=". If it's not there, add it. Complete the line with the fully qualified path to the folder containing FS9.exe on the external drive. Save the file and restart FS9. If FS9 runs, then you've got registry problems. You don't need to correct this because the workaround will be "adopted" by FS9 - but other apps such as ADE may have similar issues. However, if FS9 doesn't work (and the path you entered is correct), then the hard drive is most likely your problem.

Incidentally, I'm a little surprised that an external drive has sufficiently-fast response time to "power" Flightsim.
 
Thank you so much! it finally works now!
I had to add the path to FS9 to get it working!
I had to transfer my FS9 onto the hard drive (which has 1TB storage) with all of its addons (adding up to 107GB) before I formatted the PC, then decided to keep it on there in case anything similar happens again, and it actually runs great ^^
 

gadgets

Resource contributor
I had to transfer my FS9 onto the hard drive
If by transfer you mean you simply copied your previous FS9 folder onto the hard drive, then I'm not surprised it didn't work. Your system registry still "thinks" FS9 is at its old location. You are likely to have a similar issue with any other program that determines FS9's location from the system registry. The workaround I gave you s specific to my applications.

You should have uninstalled FS9 before moving anything (all your aircraft/add-ons would have remained intact), moved the "remnants" and then re-installed FS9 at it's new location.

I'm not sure you can still uninstall FS9 now that it's no longer where the registry "thinks" it is. You may have to copy FS9 back to its original location (if that's still possible) to uninstall it. You can then re-install it on the external hard drive.
 
If by transfer you mean you simply copied your previous FS9 folder onto the hard drive, then I'm not surprised it didn't work. Your system registry still "thinks" FS9 is at its old location. You are likely to have a similar issue with any other program that determines FS9's location from the system registry. The workaround I gave you s specific to my applications.

You should have uninstalled FS9 before moving anything (all your aircraft/add-ons would have remained intact), moved the "remnants" and then re-installed FS9 at it's new location.

I'm not sure you can still uninstall FS9 now that it's no longer where the registry "thinks" it is. You may have to copy FS9 back to its original location (if that's still possible) to uninstall it. You can then re-install it on the external hard drive.
I might try that and put it back on the PC again.

While I’m on the topic of AIFP, I compiled 4 flightplan files, Tunisair, Nouvelair, Transavia and TUI fly, all from 2018, however only 1 or 2 planes show up at each airport, even though each flightplan is set to 1% activity and the traffic slider is all the way up.

any idea why that might be?
 

gadgets

Resource contributor
You haven't mentioned your method of checking. Without knowing that, all I can suggest are generalities, i.e., inadequate parking (quantity/size), looking at the wrong time. For reliability, you must either check a few minutes before departure or watch the landing - which could be somewhat later than programmed.

The SDK includes a utility called Traffic Toolbox Explorer. If you haven't already done so, I suggest you install it. It will give you the status of every AI aircraft
 
You haven't mentioned your method of checking. Without knowing that, all I can suggest are generalities, i.e., inadequate parking (quantity/size), looking at the wrong time. For reliability, you must either check a few minutes before departure or watch the landing - which could be somewhat later than programmed.

The SDK includes a utility called Traffic Toolbox Explorer. If you haven't already done so, I suggest you install it. It will give you the status of every AI aircraft
I check multiple airports at almost every 30mins , so that’s about 47 times for each airport, and all there is is one or 2 aircraft, with some them (like the A330 or the entirety of the nouvelair fleet ) not showing up at all, even at nouvelair’s hub, monastir airport
 

gadgets

Resource contributor
So what does Traffic Toolbox Explorer tell you about the others?

Incidentally, FS9 doesn't leave aircraft parked for long periods. My recollection is that you would only see then for 1 hour before and after departure and arrival. They will be "sleeping" at other times if not in flight.
 
Last edited:

tgibson

Resource contributor
I have never seen FS9 add or remove aircraft to/from gates, even after several hours of watching.
 
This is the most amount of aircraft I could get to show up at DTTA, an airport that's always swarming with Tunisair, Nouvelair and Transavia aircraft (tunisair's A330s and Nouvelair are still nowhere to be seen)
1623016430323.png
 

gadgets

Resource contributor
You keep repeating that there should be more aircraft appearing - and I'm not disputing that. But, in order to understand why they aren't appearing, you need to know the status of the missing ones. That's why I keep pointing you to Traffic Toolbox Explorer. Until you install that tool and investigate the missing aircraft, there's little more I can do to help you.

Also, you haven't yet commented on the adequacy of parking at the airports.
 

gadgets

Resource contributor
No, it's not normal!

The Traffic Toolbox shows status on every active AI in the system, If it doesn't display the missing aircraft, then, for whatever reason, either the aircraft and/or their flightplans are not in the traffic file. or, perhaps in your case given the situation with your system, (i.e., FS9 isn't where it's reported to be in the system registry) FS9 simply can't find some of the required aircraft on your system.. (My money's on the latter.)
 
I moved FS9 back to the PC and fixed the registry keys, Still no results...

Here are some screenshots of the flight plans of the missing flights, perhaps there is something I'm missing or don't understand...
1623074778815.png
1623074947626.png
 
Last edited:

gadgets

Resource contributor
There's nothing wrong with the displayed FPs and, in the absence of error messages during the compile process, there's nothing wrong with the flight plans generally. I can say with a great deal of certainty AIFP is not the problem.

The most likely cause of your issue is that you copied FS9 from one location to another rather than uninstalling and re-installing. As a consequence, you have a screwed-up registry as far as FS9 is concerned. Then you used FS9 in the new location which will have left remnants of data in AppData and perhaps other places "pointing" to the new location. And, now, instead of re-installing as I suggested (your add-on scenery and aircraft should still be intact), you have:
moved FS9 back to the PC and fixed the registry keys,
Given those actions, I'm amazed that FS9 still runs at all.

Did you update the "Path to FS9" in AIFP.ini? If not, do so and recompile the FPs. If you've already done that, the only additional advice I can offer is to uninstall FS9 from your PC (hopefully you'll still be able do that despite your changes to the registry), re-install FS9 and check that your add-on scenery, aircraft and Tunisian traffic files are still intact.
 
There's nothing wrong with the displayed FPs and, in the absence of error messages during the compile process, there's nothing wrong with the flight plans generally. I can say with a great deal of certainty AIFP is not the problem.

The most likely cause of your issue is that you copied FS9 from one location to another rather than uninstalling and re-installing. As a consequence, you have a screwed-up registry as far as FS9 is concerned. Then you used FS9 in the new location which will have left remnants of data in AppData and perhaps other places "pointing" to the new location. And, now, instead of re-installing as I suggested (your add-on scenery and aircraft should still be intact), you have:

Given those actions, I'm amazed that FS9 still runs at all.

Did you update the "Path to FS9" in AIFP.ini? If not, do so and recompile the FPs. If you've already done that, the only additional advice I can offer is to uninstall FS9 from your PC (hopefully you'll still be able do that despite your changes to the registry), re-install FS9 and check that your add-on scenery, aircraft and Tunisian traffic files are still intact.
I updated the AIFP.ini, and yes , I’m surprised it still works too after what I’ve done to it 😂
And the good news is I’ve sort of figured it out.
There was an issue with the aircraft itself, more specifically the .air file.
I assigned different aircraft to the FP and it worked for them, then replaced the .air files of the faulty aircraft with new ones and added them back in!

For once DTTA and other airports are actually full!!

Thank you so much for your help, I highly appreciate it ^^ I hope I wasn’t a burden in anyways ...
 
Top