Hello,
I encountered the following error log while running a WinForms-based program.
The issue occurs on another user's PC, and the OS is Windows 11 24H2.
The program works fine on Windows 10, but after the update to Windows 11, the error log appears, and the program crashes.
Since I am developing the program, I replicated the same setup on my PC. I did some debugging on Windows 11 Pro 24H2, and the program works without any issues.
I cannot debug directly on the problematic PC, so I am wondering how to resolve this issue.
It seems the problem is related to a class involving WiFi, and it works on my environment but fails on other PCs. I am curious as to why this happens.
It would be great if you could provide a list of potential solutions or steps to try.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Access is denied
at NativeWifi.WlanClient..ctor()
at NDMSPro.COMM.Interface.WirelessManager.ScanConnectedSSID()
at NDMSPro.COMM.Interface.VehicleAUTOCommSettingDialog.portNameComboBox_DropDown(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
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: 4.0.0.0
Win32 Version: 4.8.9290.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DMS-5
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DMS-5.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9256.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DevExpress.Utils.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.Utils.v15.2.DLL
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DevExpress.BonusSkins.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.BonusSkins.v15.2.DLL
----------------------------------------
DevExpress.Data.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.Data.v15.2.DLL
----------------------------------------
DevExpress.XtraBars.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraBars.v15.2.DLL
----------------------------------------
DevExpress.XtraEditors.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraEditors.v15.2.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
DMS-5.resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/en/DMS-5.resources.DLL
----------------------------------------
DMS-5.resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/en-US/DMS-5.resources.DLL
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Web.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
DevExpress.XtraGrid.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraGrid.v15.2.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.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.XtraCharts.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraCharts.v15.2.DLL
----------------------------------------
DevExpress.Charts.v15.2.Core
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.Charts.v15.2.Core.DLL
----------------------------------------
DevExpress.XtraCharts.v15.2.UI
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraCharts.v15.2.UI.DLL
----------------------------------------
DevExpress.Printing.v15.2.Core
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.Printing.v15.2.Core.DLL
----------------------------------------
DevExpress.XtraCharts.v15.2.Wizard
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraCharts.v15.2.Wizard.DLL
----------------------------------------
DevExpress.XtraLayout.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraLayout.v15.2.DLL
----------------------------------------
System.DirectoryServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
DevExpress.XtraNavBar.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraNavBar.v15.2.DLL
----------------------------------------
System.Data.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
----------------------------------------
DevExpress.XtraPdfViewer.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraPdfViewer.v15.2.DLL
----------------------------------------
DevExpress.Pdf.v15.2.Core
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.Pdf.v15.2.Core.DLL
----------------------------------------
DevExpress.Pdf.v15.2.Drawing
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.Pdf.v15.2.Drawing.DLL
----------------------------------------
DevExpress.XtraTreeList.v15.2
Assembly Version: 15.2.9.0
Win32 Version: 15.2.9.0
CodeBase: file:///C:/Users/brand/AppData/Local/Apps/2.0/YLTPYY3L.2JK/4V97TE74.T3Y/dms-..tion_d93c94131213fb7e_0002.0003_a1257e8152826c25/DevExpress.XtraTreeList.v15.2.DLL
----------------------------------------
UIAutomationClient
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.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:
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.