无法运行SqlConnection,Win CE 6.0

时间:2015-06-02 04:55:45

标签: mysql .net

我从Microsoft Visual Studio 2008发布我的程序。 它有效。但是当尝试连接到MySql数据库服务器时,我收到错误:

  

错误TRF.EXE SqlException   在System.Data.SqlClient.SqlConnection.OnError(SqlException异常,TdsParserState状态)   System.Data.SqlClient.ThrowExceptionAndWarning()在System.Data.SqlClient.TdsParser.Connect(String host,   SqlInternalConnection connHandler,Int32 timeout)at   System.Data.SqlClient.SqlInternalConn ection..ctor(SqlConnection   连接,Hashtable connectionOptions)at   System.Data.SqlClient.SqlConnection。打开()   TL.User.set_Password(String value)at   TRF.LoginForm.textBoxPassword_Key Down(对象发送者,KeyEventArgs e)     在System.Windows.Forms.Control.WnProc(WM wm,Int32 wParam,Int32   IParam)在System.Windows.Forms.Control._InternatWnProc(WM wm,   Int32 wParam,Int32 IParam)at   Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)at at   System.Windows.Forms.ShowDialog()在TRF.MainForm.login()处   TRF.MainForm.buttonShip_Click(Object sender,EventArgs e)at   System.Windows.Forms.Control.OnClick(EventArgs e)at   System.Windows.Forms.Button.OnClick(EventArgs e)at   System.Windows.Forms.ButtonBase.WnProc(WM wm,Int32 wParam,Int32   IParam)在System.Windows.Forms.Control._InternatWnProc(WM wm,   Int32 wParam,Int32 IParam)at   Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)at   TRF.Program.Main()上的System.Windows.Forms.aplication.Run(Form fm)

0 个答案:

没有答案