Resolving System.IndexOutOfRangeException During WOAI Installer Setup

Pro Member Trainee
KSDenton Trainee

when I run the installer this is what I get?  The blue circle for a long time can you help?         See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at WOAI_Installer.frmMain.ReadPackage()
   at WOAI_Installer.frmMain.btnNext_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(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)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9174 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
WOAI Installer
    Assembly Version: 2.4.0.0
    Win32 Version: 2.4
    CodeBase: file:///C:/Users/cottm/Downloads/Compressed/woains24/WOAI%20Installer.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.9157 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.84.0.0
    Win32 Version: 0.84.0.0
    CodeBase: file:///C:/Users/cottm/Downloads/Compressed/woains24/ICSharpCode.SharpZipLib.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Answers 1 Answers

Jump to latest
Pro Member Captain
Ian Stephens (ianstephens) Captain
Ian Stephens is an expert on this topic. Read his bio here.

It seems like you're encountering a System.IndexOutOfRangeException, which is common when the application tries to access an element of an array or collection with an index that exceeds the boundaries. Given that you're working with the WOAI Installer for Microsoft Flight Simulator X, let's troubleshoot this step by step.

Firstly, ensure that your operating environment meets the basic requirements for running the WOAI Installer:

  • Windows OS with .NET Framework 2.0 or higher installed
  • Administrative rights on the system to ensure proper installation of packages
  • Sufficient storage space to accommodate the install and temporary files during setup

Step-by-Step Guide to Resolve the Issue:

  1. Run as Administrator: Right-click on the installer executable and select 'Run as Administrator'. This ensures that the installer has the necessary permissions to write to all required directories.
  2. Check .NET Version: Since the WOAI Installer and Microsoft Flight Simulator X are built on older platforms, ensure that your system's .NET version supports legacy applications. You can download and install older frameworks from the official Microsoft website if needed.
  3. Disable JIT Debugging: As indicated in the error message, JIT debugging might interfere with the application process. Disable JIT debugging by modifying the 'machine.config' file as follows:
    <configuration>
    <system.windows.forms jitDebugging="false" />
    </configuration>

  4. Reinstall WOAI Installer: If the issue persists, uninstall the current version of the installer, redownload the setup file, and try installing again. This can help eliminate any issues caused by corrupted download files.
  5. Check for Updates: Ensure that all your system drivers and OS updates are current. Sometimes, legacy software experiences issues due to outdated system components.

If the problem continues after trying these steps, it might be helpful to manually examine the logs generated by the installer for more specific clues. Alternatively, reaching out to the software provider's support team can also provide insights based on known issues or patches that might be available.

Remember, handling legacy software like Microsoft Flight Simulator X and its associated tools can sometimes be tricky, but with the right steps, you can usually get everything running smoothly.

For Future Reference:
It's always a good idea to keep backup copies of critical installation files and settings, especially when dealing with older software platforms that might not be supported with updates as frequently.

Should you need further assistance or have more questions, feel free to ask here!

Happy flying!

Still does not answer your question? Ask a new question!

If the question and answers provided above do not answer your specific question - why not ask a new question of your own? Our community and flight simulator experts will provided a dedicated and unique answer to your flight sim question. And, you don't even need to register to post your question!

Ask New Question...

Search

Search our questions and answers...

Be sure to search for your question from existing posted questions before asking a new question as your question may already exist from another user. If you're sure your question is unique and hasn't been asked before, consider asking a new question.

Related Questions

Flight Sim Questions that are closely related to this...