Jump to content

Unhandled Exception Error


Recommended Posts

Hi

 

Currently using EFB Version 1.6.5 on Windows 10 and Prepar3D V3.0

 

I have an intermittent problem whe I launch the data provider windown (with Admin rights), normally when either the NavData has been updated to a newer cycle or I run the Scenery Updater, as follows:

 

"Only one usage of each socket address (protocol/netwrok address/port) is normally permitted.

 

I am running the Data Provider and the Display Unit on the same PC. This has only started happening with V1.6.5 and, as mentioned above, I can only tie this to either a Nav or Scenery update.

 

The program seems to initialise again without problem after restarting the PC.

 

Any help would be much appreciated.

 

Thanks and regards

 

Ken

 

 

Update! Just noticed that when I closed the Majestic Dash8 Control Panel the problem disappeared so it would appear to be more related to having this running first. So, if I load the Data Provider 1st then the MJC Panel then everything is OK.

 

****************************************************************

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

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

System.Net.Sockets.SocketException (0x80004005): Only one usage of each socket address (protocol/network address/port) is normally permitted

at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

at System.Net.Sockets.Socket.Bind(EndPoint localEP)

at System.Net.Sockets.TcpListener.Start(Int32 backlog)

at er.b(IPEndPoint A_0)

at ic.a(id A_0)

at fe.e()

at fe.a(Object A_0, EventArgs A_1)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded Assemblies **************

mscorlib

Assembly Version: 4.0.0.0

Win32 Version: 4.6.127.1 built by: NETFXREL3STAGE

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

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

AivlaSoft.Efb.DataProvider

Assembly Version: 1.6.5.18356

Win32 Version: 1.6.5.18356

CodeBase: file:///D:/AivlaSoft/EFB/AivlaSoft.Efb.DataProvider.exe

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

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

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

System

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

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

System.Drawing

Assembly Version: 4.0.0.0

Win32 Version: 4.6.93.0 built by: NETFXREL2STAGE

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

Castle.Windsor

Assembly Version: 3.3.0.0

Win32 Version: 3.3.0.2412

CodeBase: file:///D:/AivlaSoft/EFB/Castle.Windsor.DLL

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

AivlaSoft.Efb.Common

Assembly Version: 1.6.5.0

Win32 Version: 1.6.5.0

CodeBase: file:///D:/AivlaSoft/EFB/AivlaSoft.Efb.Common.DLL

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

DevExpress.Utils.v15.1

Assembly Version: 15.1.5.0

Win32 Version: 15.1.5.0

CodeBase: file:///D:/AivlaSoft/EFB/DevExpress.Utils.v15.1.DLL

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

Castle.Core

Assembly Version: 3.3.0.0

Win32 Version: 3.3.3.2300

CodeBase: file:///D:/AivlaSoft/EFB/Castle.Core.DLL

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

Desaware.MachineLicense40

Assembly Version: 2.0.0.0

Win32 Version: 2.0.5.2

CodeBase: file:///D:/AivlaSoft/EFB/Desaware.MachineLicense40.DLL

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

System.Core

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

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

System.Configuration

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

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

DevExpress.Data.v15.1

Assembly Version: 15.1.5.0

Win32 Version: 15.1.5.0

CodeBase: file:///D:/AivlaSoft/EFB/DevExpress.Data.v15.1.DLL

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

DevExpress.XtraEditors.v15.1

Assembly Version: 15.1.5.0

Win32 Version: 15.1.5.0

CodeBase: file:///D:/AivlaSoft/EFB/DevExpress.XtraEditors.v15.1.DLL

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

System.Data

Assembly Version: 4.0.0.0

Win32 Version: 4.6.127.1 built by: NETFXREL3STAGE

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

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

DevExpress.XtraGrid.v15.1

Assembly Version: 15.1.5.0

Win32 Version: 15.1.5.0

CodeBase: file:///D:/AivlaSoft/EFB/DevExpress.XtraGrid.v15.1.DLL

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

System.ComponentModel.DataAnnotations

Assembly Version: 4.0.0.0

Win32 Version: 4.6.93.0

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

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

DevExpress.XtraBars.v15.1

Assembly Version: 15.1.5.0

Win32 Version: 15.1.5.0

CodeBase: file:///D:/AivlaSoft/EFB/DevExpress.XtraBars.v15.1.DLL

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

Microsoft.VisualBasic

Assembly Version: 10.0.0.0

Win32 Version: 14.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

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

System.Xml.Linq

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

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

System.Security

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

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

System.Management

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

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

Microsoft.GeneratedCode

Assembly Version: 1.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

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

UIAutomationClient

Assembly Version: 4.0.0.0

Win32 Version: 4.6.79.0 built by: NETFXREL2

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.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.

Link to comment
Share on other sites

Hi Ken,

 

the message "Only one usage of each socket address (protocol/netwrok address/port) is normally permitted." usually appears if two programs are using the same IP-address and port number. You can change the port number which is used by EFB in the settings of both the DataProvider AND the DisplayUnit. You always have to change the port number on both sides to the same number. Please also read the installation manual, section 3, page 2 and 13.

Link to comment
Share on other sites

Hi Urs,

 

Many thanks for the reply. I will look into changing the port number since I think this is due to running the EFB and Majestic Control panel at the same time; was never a problem prior to installing Majestic.

 

I will give it a go and monitor the situation and report back if not sovled,

 

Thanks again.

 

Ken

Link to comment
Share on other sites

  • 8 months later...

Unhandled exception means that some of the executable programs in the application you are trying to run/install are violating the integrity of the configuration of your system. It will not allow you to proceed but it has no way of informing you what is the exact error message. It could be that it is trying to write on a memory space reserved for the operating system or that some of the program code is corrupted.

 

Walsh

 

Link to comment
Share on other sites

×
×
  • Create New...