Jump to content
The simFlight Network Forums

STB doesn't connect anymore over lan


Blaunarwal
 Share

Recommended Posts

Hi

 

I use STB 3.2.1.7 on a second PC and FSX Acceleration with STBDS 3.2.1.5 on the first PC. AI is Mytraffic. Everything is properly configured and I could connect before. Since yesterday STB doesn't connect. When I press the red connect button it becomes yellow. The message window shows "Deleting old STB Flight Plans and Connecting to Flight Simulator X, please wait. I can wait forever, nothing happens. The STB Menu bar is still active, so my conclusion is, the program runs and waits for FSX. Data Port 32123 is used and set on both programs. Also the name of my pc with FSX, RAKETE2 is set. I reinstalled STB and STBDS, run configuraton successfully.

 

The only thing that changed was the installation of Captainsim 777, which installs a cs.sound.dll into dll.xml. But I had other CS aircraft before using the same dll. If I use the local STB, it connects.

 

How can I trace down, what the problem is? 

 

Dan

Link to comment
Share on other sites

StbServer.exe.config

<?xml version="1.0"?>
<configuration>
  
  <configSections>
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="StbDataTransport.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
    </sectionGroup>
  </configSections>
  <appSettings>
  </appSettings>
  
  <system.serviceModel>
    <services>
      <service name="StbDataTransport.StbDataService" behaviorConfiguration="StbDataServiceBehavior">
        <endpoint address="net.tcp://localhost:32123/stbdata/AirportService" binding="netTcpBinding" bindingConfiguration="Binding1" contract="StbDataTransport.IStbAirportData"/>
        <endpoint address="net.tcp://localhost:32123/stbdata/Ut2Service" binding="netTcpBinding" bindingConfiguration="Binding1" contract="StbDataTransport.IStbUt2Data"/>
        <!-- the mex endpoint is exposed at http://localhost:32122/stbdata/service/mex -->
        <!--endpoint address="mex"
                  binding="mexHttpBinding"
                  contract="IMetadataExchange" /> -->
      </service>
    </services>


    <bindings>
      <!-- 
            Following is the expanded configuration section for a NetTcpBinding.
            Each property is configured with the default values.
            See the Message Security, and Transport Security samples in the WS binding samples
            to learn how to configure these features.
         -->
      <netTcpBinding>
        <binding name="Binding1" 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="65536" maxConnections="10" maxReceivedMessageSize="65536">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
          <reliableSession ordered="true" inactivityTimeout="01:00:00" enabled="false"/>
          <security mode="None">
          </security>
        </binding>
      </netTcpBinding>
    </bindings>


    <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
    <behaviors>
      <serviceBehaviors>
        <behavior name="StbDataServiceBehavior">
          <serviceMetadata httpGetEnabled="false"/>
          <serviceDebug includeExceptionDetailInFaults="true"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>


  </system.serviceModel>
  <userSettings>
    <StbDataTransport.Properties.Settings>
      <setting name="FSXInstallPath" serializeAs="String">
        <value />
      </setting>
      <setting name="FSDocumentsPath" serializeAs="String">
        <value />
      </setting>
      <setting name="SimInstallPath" serializeAs="String">
        <value />
      </setting>
    </StbDataTransport.Properties.Settings>
  </userSettings>
</configuration>

TrafficBoardFrontEnd.exe.config

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="UT2Behavior">
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <netTcpBinding>
        <binding name="UT2Binding" 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="196608" maxConnections="10"
                maxReceivedMessageSize="196608">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <reliableSession ordered="true" inactivityTimeout="01:00:00"
              enabled="false" />
          <security mode="None" />
        </binding>
        <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" />
          <reliableSession ordered="true" inactivityTimeout="01:00:00"
              enabled="false" />
          <security mode="None">
            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
            <message clientCredentialType="Windows" />
          </security>
        </binding>
      </netTcpBinding>
    </bindings>
    <services>
      <service behaviorConfiguration="UT2Behavior" name="Ut2Interface.Ut2Server">
        <endpoint address="UT2Data" binding="netTcpBinding" bindingConfiguration="UT2Binding"
          contract="ExternalSharing.IUT2Data" />
        <host>
          <baseAddresses>
            <add baseAddress="net.tcp://localhost:31123" />
          </baseAddresses>
        </host>
      </service>
    </services>
    <client>
      <endpoint address="net.tcp://rakete2:32123/stbdata/Ut2Service"
        binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IStbData"
        contract="IStbUt2Data" name="NetTcpBinding_IStbData" />
      <endpoint address="net.tcp://rakete2:32123/stbdata/AirportService"
        binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IStbData"
        contract="IStbAirportData" name="NetTcpBinding_IStbData" />
    </client>
  </system.serviceModel>
</configuration>
Link to comment
Share on other sites

It's connecting again! :razz:

 

I don't know what it was. I first unistalled on the FSX machine all double Visual C++ 2005 Redistributables, because I had crashes of FSX related to MSVCR80.dll. I then installed a 32 bit VCRedist 2005 again. I also installed a new Nvidia driver (which shouldn't be related). I also connected my wireless adapter, which is redundant, to the network. I use a cable connection on the fsx machine, but hat a wlan adapter plugged in. This gave some errors. I also disabled a virtual network connection (microsoft virtual wifi miniport adapter). That's about all I remember having done this morning and now it works again. I guess it's the visual C+ problem, because I recently installed some before and after I had the problems. After uninstalling all 2005 versions and installing the one FSX is relying on, it works again.

Link to comment
Share on other sites

I'm glad it's working.  You are right that's there's no obvious cause.  I remember I had a few problems with some of the VMWare virtual networks interferring with certain aspects of the crgsim utilities for FSX.  Once I disabled the network adapters, all was good again.

 

Simon

Link to comment
Share on other sites

It's definitely a Microsoft Visual C+ dll, causing the problem. I don't know exactly which one. I assume it's a 2005 64 bit version. I had them in again on the FSX computer and connectivity was gone. After removing all of them and installing the one from the original FSX dvd restored the abillity to connect. Of course Windows 7 does update after the install some security updates to 8.0.61001 and also installs Visual C 2008 64 bit 9.0.30729.6161. If I find out, which VClib is causing problems, I will post here again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.