Jump to content
The simFlight Network Forums

STB FAQ and Problem Solving


Recommended Posts

  • 9 months later...

System.IO.FileNotFound Exception:  The specified module could not be found....

This occurs when the SimConnect interface is not correctly installed on your PC (either the FSX PC, or the remote one if you are using STB on another computer). One reason for Windows XP is when FSX is installed before the Microsoft .net framework,

Several solutions may help:
- Install the simconnect interface from the SDK: C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\lib\SimConnect.msi
- Disable the interface and use a different version: In the installation folder for STB, create a file called "IGNORE_SP2.cfg".
- Compare your assemblies and WinSXS folders for SimConnect with a friend's computer, and have them send you the missing files.
- Complete reinstall of FSX (last resort)
- Complete reinstall of Windows (very last resort)


Link to comment
Share on other sites

  • 9 months later...

Airports drop down list is corrupted on Windows 7.

This happens when:

- STB is near the bottom of the screen, so the airports list is drawn above the airports control.

- FSX is underneath the STB window, and occupies the same area as the airports list will be drawn in.

Best thing to do is to move STB to the top of your screen, then the airports list is always drawn downwards and your problems are gone.

More here:


Link to comment
Share on other sites

  • 2 years later...

When running STB and FSX/P3D on separate computers, you get the following error on the STB Computer:

STB.SharedComponents.StbDisconnectException: Unable to contact SuperTrafficBoard Data Server after retry. STB will be disconnected. Additional details below: ---> System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages (1000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. ---> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (1000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.


  1. Locate your STB installation folder;
  2. In there, edit the file TrafficBoardFrontEnd.exe.config
  3. Locate the section shown below, and make the amendments shown in bold (we are setting 3 values to 10,000,000)
  4. Restart STB, and you should be working agin.
  • <binding name="NetTcpBinding_IStbData" closeTimeout="00:01:00"
  • openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
  • transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
  • hostNameComparisonMode="StrongWildcard" listenBacklog="10"
  • maxBufferPoolSize="524288" maxBufferSize="10000000" maxConnections="10"
  • maxReceivedMessageSize="10000000">
  • <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="10000000"
  • maxBytesPerRead="4096" maxNameTableCharCount="16384" />
Link to comment
Share on other sites

  • 10 months later...

Connect to Simulator Error


If you see the following error or similar while connecting to FSX or Prepar3D, it can be resolved by

1) Quitting and restarting STB;

2) Compile Airports Database from Configuration Menu;

3) Connect to FSX/P3D;


System.Runtime.Serialization.SerializationException: Attempting to deserialize an empty stream.
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at (Object , Stream )
   at 䈅쩙愕沉㵥툞⁦.ፓ첗忞냎꓊딈눳(Object , Stream 岬쇵牯吅�댑妩)
   at STB.SharedComponents.FileHelper.Deserialise(Byte[] theByteArray) in C:\Users\Simon Jones\SkyDrive\Flight Simulator\STB\STB V3.2 FSX\Utilities\Utilities\FileHelper.cs:line 538
   at 갆᦯紆⿯섰藓润梐.ᝊ�䒩㠂�龣(Byte[] 岬쇵牯吅�댑妩)
   at FSObjects.AirportCache.膰揾֫븀⺯稥(String 褪Ǜꏂ섧ꙭ暛, Boolean 氥냏䷋ⅹ�锐렵쮢) in C:\Users\Simon Jones\SkyDrive\Flight Simulator\STB\STB V3.2 FSX\FSObjects\FSObjects\AirportCache.cs:line 219
Link to comment
Share on other sites

  • 1 month later...

Ultimate Traffic 2 V2.10, Summer/Fall 2013 Schedule.


If you see the following error (only first few lines shown here):

  • System.Data.SQLite.SQLiteException: File opened that is not a database file.  File is encrypted or is not a database
  • at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
  • at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
  • etc.

You need to upgrade your version of STB for FSX to V3.2.1.15 or later:


Link to comment
Share on other sites

  • 2 years later...

System.IO.FileNotFoundException: Could not load file or assembly 'SimCustom, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies.


This may occur when a DLL required by STB has gone missing from the STB Installation Folder.  SimCustom.dll is one example, but others may appear in this message to.  The first thing to do is to check the activities of your Anti-Virus product in the case of a false positive.  Some Anti-Virus products may be configured to silently delete files they are concerned about, even if in reality they are "false positives".


I have not detected any viruses or other similar problems in STB.  Like most other .net products, STB uses a technique called obfuscation and that is known to occasionally trigger certain anti virus products. 

Link to comment
Share on other sites

  • 4 weeks later...



This is typically the result of corruption in Microsoft net.  A file is mentioned in the message in your STB Local Application Data folder, for example:



Deleting this file described in the exception may resolve the problem.  Minor configuration information is stored in this file, such as the last position and size of the STB window on the desktop and sort order used for flights.

Link to comment
Share on other sites

  • 1 month later...

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Traffic_Board.TrafficBoard.UpdateStbTime(SIM_TIME& nt) in c:\Users\Simon\OneDrive\Flight Simulator\STB\STB V3.4 P3D V3\Client\Traffic Board\TrafficBoard.cs:line 15168


This may occur in STB V3.4 for Prepar3D V3, using Prepar3D V3.2 or later.  The implementation of day numbers changed and a bug in the zulu day handling was introduced leading to the above.  A hotfix is available, please see the following for details:



View AI Command shows the user aircraft cockpit instead of the selected AI.

STB typically uses "HotKeySelect=5" to activate the View AI Camera, however it may use other values also depending on what is already allocated in your camera.cfg.  If there is a duplicate, error or conflict in the camera configuration, the user's cockpit may be shown instead of View AI.  Things to check:

1) Your camera.cfg in the simulator application data folder contains the following (the Camera Definition number and HotKeySelect value may vary):

Title = AI Planes
Guid = {75A8357E-AB58-4294-9416-90C73FAFDD90}
Description = This is the description of the AI aircraft view.



2) Another camera configuration is not taking precedence.  Aircraft.cfg may also define cameras, and if one of those is already using the "HotKeySelect" that STB wishes to use, the View AI request is intercepted by the user aircraft and produces unexpected results.  An example of this is the Aerosoft Airbus add-on, and this can be remedied by

a) Noting the value STB wants to use from the simulator application data folder camera.cfg, as described above.

b) Changing the aircraft.cfg camera definition to use some other value for Hotkeyselect, other than the one STB wants to use.


Error Message when selecting any airport: "Could not load file or assembly 'UltimateTraffic2.exe' or one of its dependencies. The system cannot find the path specified."

This may occur after uninstalling Ultimate Traffic 2 where UT2 files are left behind in the application data folder.  Please ensure that UT2 is completely uninstalled and any left over files are manually deleted before using STB/STB-DS.


Incompatibility with Opus FSI and STB V3.4.0.29 for Prepar3D V3.

STB Uses custom cameras and observers in Prepar3D, which may conflict with other add-ons doing a similar thing.  If you have problems in Opus FSI keyboard commands no longer working as expected, try disabling the enhanced AI views in STB by unchecking the "Enable AI Observer and "Enable Extended AI Cameras" on the AI Views tab in the settings notebook:




Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.