(C# Debug)A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll

Debug 模式下运行程序的时候,Output 窗口出来个错误“A first chance exception of type ‘System.ArgumentException‘ occurred in System.Data.dll”。 但是并没有直接throw错误。无法知道具体在哪一步发生了这个错误。

如果想知道具体的内容,需要enable 这个debug

If you do want to know, in Visual Studio -> Debug (main menu) -> Exceptions dialog, expand to the node Common Lanuage Runtime Exceptions / System / System.ArgumentException, and check the ‘Thrown‘ CheckBox. This will cause the debugger to break then a first chance ArgumentException is happens, and then you can see more information in the exception dialog.

For more information about first and second chance exceptions please refer to this KB article: http://support.microsoft.com/kb/105675

(C# Debug)A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll

时间: 2024-12-07 00:20:13

(C# Debug)A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll的相关文章

Error:Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException

I had the same issue with AX 2012 R2 and SQL Server 2012. When I try to call the "calc" method in SalesQuotationTotals calss by business connectors ,the operation  failed with the following message on the infolog: Microsoft.Dynamics.Ax.Xpp.InfoE

IOS Exception 1(libc++abi.dylib: terminating with uncaught exception of type NSException)

2014-08-05 22:18:46.455 SwiftUI[1329:40871] -[_TtC7SwiftUI14MViewControler clickMe]: unrecognized selector sent to instance 0x10ea15dc0 2014-08-05 22:18:46.458 SwiftUI[1329:40871] *** Terminating app due to uncaught exception 'NSInvalidArgumentExcept

错误代码报错--terminating with uncaught exception of type NSException (lldb)

问题描述:在做搜索栏实验的时候,一点击搜索按钮就停止运行 还有报错代码是: 0x000000010b801145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) singnal SIGABRT 0x109d60580:  movq   0xb53449(%rip), %rax      ; (void *)0x000000010b8f3070: __stack_

【性能诊断】九、并发场景的性能分析(windbg案例,Fist Chance Exception/Crash dump)

经常会碰到这样的场景,自测及单单点的测试时没有任何问题,但在并发环境或生产环境下有时出现没规律的异常.报错等情况.在代码中增加日志是其中一种解决方式:抓取指定异常时的dump,通过windbg也可以快速定位问题. Procdump命令示例:procdump -ma -e 1 –f SqlException w3wp.exe 貌似ProcDump无法抓取Crash的dump文件,看来有时还得回归到windbg带的命令行---adplus adplus -crash -pn w3wp.exe -fu

java-No exception of type ConfigurationException can be thrown; an exception type must be a subclass of Throwable

功能:读配置文件 java菜鸟:导入工程在报名处就开始报错,第一次遇到 import org.apache.commons.lang3.StringUtils; import org.apache.commons.configuration.ConfigurationException; package com.test; The type org.apache.commons.lang.exception.NestableException cannot be resolved. It is

错误代码报错--0x000000010b801145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

问题描述:在做搜索栏实验的时候,一点击搜索按钮就停止运行 还有报错代码是: 0x000000010b801145 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) singnal SIGABRT   0x109d60580:  movq   0xb53449(%rip), %rax      ; (void *)0x000000010b8f3070: __stac

MVC中异常: An exception of type 'System.Data.ProviderIncompatibleException' occurred in EntityFramework.dll的一种解决办法

今天在调试MVC的例子的时候,总是出错(An exception of type 'System.Data.ProviderIncompatibleException' occurred in EntityFramework.dll but was not handled in user code).在这里报Exception.我改了好久connectionString,还是不能解决问题. public ActionResult Index()        {            retur

【maven】Description Resource Path Location Type An error occurred while filtering resources TESTVIDEO line

在maven中构建项目的时候发现了如下错误: Description Resource Path Location Type An error occurred while filtering resources TESTVIDEO line 解决方法,鼠标放在项目上:右键 选择maven 然后 update project 试试 原文地址:https://www.cnblogs.com/appium/p/11082720.html

xcode how to fix the libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

Well first, you need to jump into the view controller scene, in the view controller click the right button and notice the exclamation point,  now use your wisdom to remove it .... I am using OS Sierra 10.12.6 and the latest version of xcode.