thắc mắc Lỗi IronXL ai giúp em fix lỗi với ạ

Premium69.click

Junior Member
Chuyện là em có mở 1 folder đồ án tốt nghiệp nhưng khi bấm mở đọc file đuôi csv thì nó báo lỗi như này
Chi tiết lỗi:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
IronSoftware.Exceptions.LicensingException: IronXL must be licensed for deployment outside of the Visual Studio development environment. .NET Excel Library Licensing Terms | IronXL (https://ironsoftware.com/csharp/excel/licensing/) Empty License Key
at IronXL.WorkBook.rwbauj()
at IronXL.WorkBook.Load(String filename, LoadingOptions options)
at IronXL.WorkBook.Load(String filename)
at May_SMT_PLC_FX5U_simple_motion.Form1.ReadExcel(String fileName) in C:confused:Users\nguuy\OneDrive\Data\OneDrive\Desktop\May SMT PLC FX5U simple motion (1)\May SMT PLC FX5U simple motion\Form1.cs:line 69
at May_SMT_PLC_FX5U_simple_motion.Form1.buttonOpen_Click(Object sender, EventArgs e) in C:confused:Users\nguuy\OneDrive\Data\OneDrive\Desktop\May SMT PLC FX5U simple motion (1)\May SMT PLC FX5U simple motion\Form1.cs:line 95
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
May SMT PLC FX5U simple motion
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/May%20SMT%20PLC%20FX5U%20simple%20motion.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
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.8.9236.0 built by: NET481REL1LAST_B
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.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
----------------------------------------
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.9241.0 built by: NET481REL1LAST_C
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
----------------------------------------
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
----------------------------------------
IronXL
Assembly Version: 2024.4.0.4
Win32 Version: 2024.4.0.4
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/IronXL.DLL
----------------------------------------
netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
IronSoftware.Logger
Assembly Version: 2024.1.0.7
Win32 Version: 2024.1.0.7
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/IronSoftware.Logger.DLL
----------------------------------------
System.Configuration.ConfigurationManager
Assembly Version: 6.0.0.0
Win32 Version: 6.0.21.52210
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/System.Configuration.ConfigurationManager.DLL
----------------------------------------
Microsoft.Extensions.Logging.Abstractions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.21.52210
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/Microsoft.Extensions.Logging.Abstractions.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.
Em tìm đủ mọi cách nhưng không tìm được chỗ add nó vào mọi người ai tay to giúp em sinh viên với ạ
 
Chuyện là em có mở 1 folder đồ án tốt nghiệp nhưng khi bấm mở đọc file đuôi csv thì nó báo lỗi như này
Chi tiết lỗi:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
IronSoftware.Exceptions.LicensingException: IronXL must be licensed for deployment outside of the Visual Studio development environment. .NET Excel Library Licensing Terms | IronXL (https://ironsoftware.com/csharp/excel/licensing/) Empty License Key
at IronXL.WorkBook.rwbauj()
at IronXL.WorkBook.Load(String filename, LoadingOptions options)
at IronXL.WorkBook.Load(String filename)
at May_SMT_PLC_FX5U_simple_motion.Form1.ReadExcel(String fileName) in C:confused:Users\nguuy\OneDrive\Data\OneDrive\Desktop\May SMT PLC FX5U simple motion (1)\May SMT PLC FX5U simple motion\Form1.cs:line 69
at May_SMT_PLC_FX5U_simple_motion.Form1.buttonOpen_Click(Object sender, EventArgs e) in C:confused:Users\nguuy\OneDrive\Data\OneDrive\Desktop\May SMT PLC FX5U simple motion (1)\May SMT PLC FX5U simple motion\Form1.cs:line 95
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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: 4.0.0.0
Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
May SMT PLC FX5U simple motion
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/May%20SMT%20PLC%20FX5U%20simple%20motion.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
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.8.9236.0 built by: NET481REL1LAST_B
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.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
----------------------------------------
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.9241.0 built by: NET481REL1LAST_C
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
----------------------------------------
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
----------------------------------------
IronXL
Assembly Version: 2024.4.0.4
Win32 Version: 2024.4.0.4
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/IronXL.DLL
----------------------------------------
netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
IronSoftware.Logger
Assembly Version: 2024.1.0.7
Win32 Version: 2024.1.0.7
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/IronSoftware.Logger.DLL
----------------------------------------
System.Configuration.ConfigurationManager
Assembly Version: 6.0.0.0
Win32 Version: 6.0.21.52210
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/System.Configuration.ConfigurationManager.DLL
----------------------------------------
Microsoft.Extensions.Logging.Abstractions
Assembly Version: 6.0.0.0
Win32 Version: 6.0.21.52210
CodeBase: file:///C:/Users/nguuy/OneDrive/Data/OneDrive/Desktop/May%20SMT%20PLC%20FX5U%20simple%20motion%20(1)/May%20SMT%20PLC%20FX5U%20simple%20motion/bin/Debug/Microsoft.Extensions.Logging.Abstractions.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.
Em tìm đủ mọi cách nhưng không tìm được chỗ add nó vào mọi người ai tay to giúp em sinh viên với ạ
Cái lối to lù lù còn hỏi: "IronXL must be licensed for deployment outside of the Visual Studio development environment - Empty License Key"
 
Vấn đề là em add vào rồi nó vẫn báo như vậy á
Add rồi mà nó vẫn báo có nghĩa là chưa add đúng chứ còn gì nữa
X17vmKo.png
 
Back
Top