Jump to content

DU initialization takes too much time on remote unit


Recommended Posts

Hello Urs,

 

Yes, the DU initialization takes too much time on the remote PC : the wole process takes about 30' and finally DU crashes to desktop.

 

This issue is new as it just happened after installing Airac AIRAC cycle 1102

 

What is strange is that DU is running fine on the local/master PC which makes me think the Airac cycle 1102 in not the cause.

 

Please find below an extract of DU log file from the remote PC (very last lines) :

----------------------------------------------------------------------------------

2011-02-11 18:33:06,171 [1] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Application started: AivlaSoft.Efb.DisplayUnit, Version=1.2.0.14597, Culture=neutral, PublicKeyToken=953442301537c18c

2011-02-11 18:33:10,390 [1] INFO AivlaSoft.Efb.DisplayUnit [(null)] - User settings loaded from 'C:\Documents and Settings\jean-louis\Mes documents\AivlaSoft\EFB\Settings\DisplayUnitSettings.bin'

2011-02-11 18:33:51,937 [11] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Reading airport index file. Please wait ...

2011-02-11 18:40:22,250 [11] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Reading airways file. Please wait ...

2011-02-11 18:43:04,656 [11] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Reading region index file. Please wait ...

2011-02-11 18:48:21,531 [11] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Reading navaids file. Please wait ...

2011-02-11 19:00:50,218 [11] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Reading world data. Please wait ...

2011-02-11 19:01:02,984 [1] INFO AivlaSoft.Efb.DisplayUnit [(null)] - IP-Address is: 192.168.1.11

2011-02-11 19:01:05,671 [1] INFO AivlaSoft.Efb.DisplayUnit [(null)] - Connected with DataProvider

---------------------------------------------------------------------------------

I can confirm after restoring Airac 1101 the issue is still there.

 

Would you please let me know what I can do

 

Best regards from

Link to comment
Share on other sites

Salut Jean-Louis,

 

Would you please let me know what I can do
Speed up your network! 8-)

 

Seriously, it seems that your network performance or the computer that runs the DU is very slow. When the DU is starting up, it reads the data from the folder "\\Computer\Share\....\AivlaSoft.Efb.DataProvider". If that takes - as you describe - 30+ minutes, than I assume that somewhere must be a bottleneck. I can assure that it is not the DU because I have several test computers running the DU separately from the DP without any problems. What are the specs of the DU computer that you run?

Link to comment
Share on other sites

Jean-Louis,

 

Assuming that both DUs are the same version, what Urs said was what I was thinking. :)

 

Could you have an anti-virus or some sort of "protective" software on either machine that might be slowing the file access? (Still, 30 minutes is incredibly slow.)

 

Has the speed in loading the remote DU changed recently? In other words, has it been faster in the past, or has it always been this slow???

 

Regards.

Link to comment
Share on other sites

Thanks to both of you,

 

"Speed up your network!" I suspect something different than a network low speed issue. This morning the DU init process on the remote PC is not that long compared to yesterday, except the DU crashes due to an "Unhandled exception" (details below). Could that be linked to a network low speed issue ?

 

************** Exception Text **************

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at fm.a(kg A_0, Control A_1)

at pn.a(kg A_0, g6 A_1)

at pn.o()

at pj.a()

at ot.b(String A_0)

at lo.j(String A_0)

at ik.a(Object A_0, EventArgs A_1)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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.3615 (GDR.050727-3600)

CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

AivlaSoft.Efb.DisplayUnit

Assembly Version: 1.2.0.14597

Win32 Version: 1.2.0.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/AivlaSoft.Efb.DisplayUnit.exe

----------------------------------------

log4net

Assembly Version: 1.2.10.0

Win32 Version: 1.2.10.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/log4net.DLL

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3614 (GDR.050727-3600)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

DevExpress.Utils.v9.1

Assembly Version: 9.1.4.0

Win32 Version: 9.1.4.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/DevExpress.Utils.v9.1.DLL

----------------------------------------

Rhino.Commons

Assembly Version: 2.0.0.0

Win32 Version: 2.0.0.1414

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/Rhino.Commons.DLL

----------------------------------------

Castle.Windsor

Assembly Version: 1.0.3.0

Win32 Version: 1.0.3.5114

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/Castle.Windsor.DLL

----------------------------------------

Castle.Core

Assembly Version: 1.0.3.0

Win32 Version: 1.0.3.5114

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/Castle.Core.DLL

----------------------------------------

Castle.MicroKernel

Assembly Version: 1.0.3.0

Win32 Version: 1.0.3.5114

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/Castle.MicroKernel.DLL

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

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.3082 (QFE.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Core

Assembly Version: 3.5.0.0

Win32 Version: 3.5.30729.1 built by: SP

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

AivlaSoft.Efb.Common

Assembly Version: 1.2.0.14595

Win32 Version: 1.2.0.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/AivlaSoft.Efb.Common.DLL

----------------------------------------

DevExpress.Data.v9.1

Assembly Version: 9.1.4.0

Win32 Version: 9.1.4.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/DevExpress.Data.v9.1.DLL

----------------------------------------

DevExpress.XtraEditors.v9.1

Assembly Version: 9.1.4.0

Win32 Version: 9.1.4.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/DevExpress.XtraEditors.v9.1.DLL

----------------------------------------

Rhino.Commons.Clr

Assembly Version: 2.0.0.0

Win32 Version: 2.0.0.1414

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/Rhino.Commons.Clr.DLL

----------------------------------------

System.Web

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3618 (GDR.050727-3600)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

----------------------------------------

Castle.DynamicProxy2

Assembly Version: 2.0.3.0

Win32 Version: 2.0.3.5114

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/Castle.DynamicProxy2.DLL

----------------------------------------

AivlaSoft.Efb.WeatherServices

Assembly Version: 1.2.0.38699

Win32 Version: 1.2.0.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/AivlaSoft.Efb.WeatherServices.DLL

----------------------------------------

System.Data

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

DevExpress.XtraGrid.v9.1

Assembly Version: 9.1.4.0

Win32 Version: 9.1.4.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/DevExpress.XtraGrid.v9.1.DLL

----------------------------------------

ChilkatDotNet2

Assembly Version: 9.0.8.0

Win32 Version: 9, 0, 8, 0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/ChilkatDotNet2.DLL

----------------------------------------

msvcm80

Assembly Version: 8.0.50727.4053

Win32 Version: 8.00.50727.4053

CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989/msvcm80.dll

----------------------------------------

DevExpress.XtraRichEdit.v9.1

Assembly Version: 9.1.4.0

Win32 Version: 9.1.4.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/DevExpress.XtraRichEdit.v9.1.DLL

----------------------------------------

AivlaSoft.Efb.IFlightplanHandler

Assembly Version: 1.2.0.24135

Win32 Version: 1.2.0.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/AivlaSoft.Efb.IFlightplanHandler.DLL

----------------------------------------

AivlaSoft.FlightplanHandlers.MsFs2004

Assembly Version: 1.0.0.21008

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/plugins/AivlaSoft.FlightplanHandlers.MsFs2004.dll

----------------------------------------

AivlaSoft.FlightplanHandlers.MsFsX

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/AivlaSoft/EFB/plugins/AivlaSoft.FlightplanHandlers.MsFsX.dll

 

Despite the DU init process seems far better this morning except it crashes everytime, please find below some of the info you have required :

 

"What are the specs of the DU computer that you run?" the remote DU laptop is running XP SP3/WIFI. It has been working fine in the very recent past. The DU init process is not as quick as the one I observe on my desktop running W7-64/WIFI but it's OK

 

The only change I just made is a replacement of my routeur : the former one was a Livebox (7b4c) the new one is also a Livebox with a different name (bb6e). Since this routeur/Livebox replacement the local network is working fine between PCs.

 

"Assuming that both DUs are the same version" Yes, they are ! 1.2.0.14597

"Could you have an anti-virus or some sort of "protective" software on either machine" Yes, Kapersky 20011 is running on both PCs "that might be slowing the file access?" Kap did not slow anything in the very recent past !

 

"Has the speed in loading the remote DU changed recently? Yes, I told you in my first post you this issue is a new one "In other words, has it been faster in the past, or has it always been this slow" Yes, it has been faster in the past. I should have told you a long time ago if it has been that slow.

 

Hope all that stuff will help

 

Best regards

Link to comment
Share on other sites

Salut Jean-Louis,

 

I have to ask those seemingly silly questions to establish a baseline to diagnose from. So the DU used to connect fine and load data from the DP on the FSX PC quickly. Now that it is not doing so, it is clear that something has changed. But what??

 

The crashing of the remote DU could be from one of several things. The first three things that occur to me is: a corrupt DU (things happen) or a bad network connection, or that the data on the FSX machine is corrupt.

 

Now if the local DU can read the DP's data and can otherwise run fine, then there sounds like no problem with the data itself. That does leave the possibility that the data itself can't be easily read by the remote DU.

 

If the network has no other problems, then it obviously seems like there is no problem with the network. One check to make though - especially since you have changed your router recently - on the remote PC, can you ping the FSX PC using the name of the FSX PC as the remote DU uses? Can you also check that the TCP port used from the remote DU to the FSX DP is not being blocked or inspected by your new router?

 

Finally if the data itself is ok and the network is ok, there is the possibility that the remote DU has become corrupt. If all other avenues of possibility have been explored, would you feel comfortable attempt to re-install EFB on the remote PC?

 

Regards,

Link to comment
Share on other sites

Salut Travis et merci beaucoup pour ton soutien !

 

"So the DU used to connect fine and load data from the DP on the FSX PC quickly" not that quickly actually (compared to the local DU) but time to load and connect was acceptable (far better today : approx 2 or 3 min than yesterday : 30 min)

 

Below an example of the issue I'm currently experimenting (Airac 1101):

 

the following route : EHAM DCT LEKKO UN872 NIK UM624 DIK UN852 MIRGU UT407 BLM DCT LSZH is accepted/loaded by both local and remote DUs

 

on the other hand, the route : LFPG NURMO DCT PERON UN874 VEKIN UN873 FERDI UY18 DENUT DCT RIVER DCT EHAM is accepted/loaded by the local DU but not with the remote one and, moreover, it generates the "Unhandled exception" I was talking about in my previous post

 

"One check to make though - especially since you have changed your router recently - on the remote PC, can you ping the FSX PC using the name of the FSX PC as the remote DU use"

 

last ping gives the following results :

envoi d'une requête ping sur jlldesktop avec 32 octets de données

paquets envoyés = 4 reçus = 4 perdus = 0 (perte 0%)

durée approximative des boucles en millisecondes

minimum = 2ms maximum = 3ms moyenne = 2ms

 

"Can you also check that the TCP port used from the remote DU to the FSX DP is not being blocked or inspected by your new router" Just checked with TCPView tool that the common port # 51747 seems to be not blocked/inspected by my new router. 51747 is the DP local-port and 51747 is also the remote-port for boths DUs (local an remote)

 

"would you feel comfortable attempt to re-install EFB on the remote PC"

Yes ! Just a question : as the cumulative update 1.2.1 is already installed on the remote PC, can I run it again or do I need to run the Aivlasoft EFB installer 1.2.1 ? (DU installation only)

 

Last question : I'm sure to run the latest versions of both DP and DU. The corresponding versions numbers are (from System/settings/info about button):

 

DP 1.2.0.14599

DU 1.2.0.14597

 

but I don't understand why those versions numbers are not the ones given in the EFB download section :

 

Latest versions of the binaries after the installation of either the EFB Installer 1.2.1 or the Update are:

 

* DisplayUnit: 1.2.1.19036

* DataProvider:1.2.1.19038

 

I'm missing something for sure !!!

 

Thanks again for investigating !

 

Best regards

Link to comment
Share on other sites

Salut Jean-Louis,

 

If you have installed a base version (e.g. 1.0.0, or 1.1.0 or 1.2.0) then you always can install an update of a higher version. That means that you may download the latest update from the download section, then run this installer on your FSX computer (DisplayUnit AND DataProvider) and also on the remote machine (DisplayUnit only). Then start the DataProvider so it can create the necessary index files and wait until it has been restarted. Then start the DisplayUnit on your local machine, then the DisplayUnit on your remote machine. First of all after everything is up and running, please check the versions as you described in your post (settings/info about). They all must be according to the versions listed on the website. Can you confirm these versions?

Link to comment
Share on other sites

Salut Urs,

 

Just ran this installer EFBUpdate_v1.2.1 on my FSX PC and also on the remote PC.

 

"First of all after everything is up and running, please check the versions as you described in your post (settings/info about). They all must be according to the versions listed on the website. Can you confirm these versions?"

 

Yes I can... the versions numbers are the ones expected :

 

DP 1.2.1.19038

DU 1.2.1.19036

 

don't understand why the previous ones were different ??? I'm not crazy as I am 100% sure I was running the EFB latest versions (Profile view in approach charts/ Descent gradient table in profile view/METAR module/current weather reports from FSX compatible weather engines....and the rest)

 

Now the new problem/issue I'm experimenting is that all the navaids (VOR/DME, NDB) have gone ! except the ones that are part of the planned route. The rest of the EFB chart is blank except the route, rivers and boarder lines.

 

This is true with Airac 1102 or Airac 1101 and whatever the route !

 

My settings (DP/Dus) are just the same as they were before the EFB update performed an hour ago

 

What do I miss ? :?::?::?: What should I do to get all the navaids back on the chart ?

 

Thanks again and best regards

Link to comment
Share on other sites

×
×
  • Create New...