Advertisement
Guest User

error

a guest
May 8th, 2013
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. MySql.Data.MySqlClient.MySqlException was unhandled
  2. ErrorCode=-2147467259
  3. Message=You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys WHERE id= 1' at line 1
  4. Number=1064
  5. Source=MySql.Data
  6. StackTrace:
  7. at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
  8. at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
  9. at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
  10. at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
  11. at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
  12. at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
  13. at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
  14. at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
  15. at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
  16. at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
  17. at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
  18. at connectDB.retriveData.btnRetriveData_Click(Object sender, EventArgs e)
  19. at System.Windows.Forms.Control.OnClick(EventArgs e)
  20. at System.Windows.Forms.Button.OnClick(EventArgs e)
  21. at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  22. at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  23. at System.Windows.Forms.Control.WndProc(Message& m)
  24. at System.Windows.Forms.ButtonBase.WndProc(Message& m)
  25. at System.Windows.Forms.Button.WndProc(Message& m)
  26. at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  27. at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  28. at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  29. at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
  30. at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  31. at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  32. at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  33. at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
  34. at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
  35. at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
  36. at connectDB.My.MyApplication.Main(String[] Args)
  37. at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
  38. at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
  39. at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
  40. at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  41. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
  42. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  43. at System.Threading.ThreadHelper.ThreadStart()
  44. InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement