早教吧 育儿知识 作业答案 考试题库 百科 知识分享

.NET4.0开启软件后,老是提示这个.unhandledexceptionhasoccurredinyourapplication.ifyouclickontinue,theapplicationwillignorethiserrorandattempttocontinue.ifyouclickquit,theapplicationwillcloseimmediatelymysqldriver

题目详情
.NET 4.0 开启软件后,老是提示这个.
unhandled exception has occurred in your application.if you click ontinue,the application will ignore this error and attempt to continue .if you click quit ,the application will close immediately
mysqldrivercs excetion connection must be open
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
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.
▼优质解答
答案和解析
未知的异常,继续&&退出?
  MySQLDriverCS.MySQLException:MySQLDriverCS Exception:Connection must be open
at MySQLDriverCS.MySQLCommand.ExecuteReader(Boolean CloseConnection)
at MySQLDriverCS.MySQLCommand.ExecuteReaderEx()
MySQLDriverCS.MySQLException:Connection must be open,
貌似connection没打开