1

Closed

System.Data.OleDb.OleDbException was unhandled on running query

description

System.Data.OleDb.OleDbException was unhandled
Message="Invalid object name 'a'."
Source="Microsoft SQL Native Client"
ErrorCode=-2147217865
StackTrace:
   at System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr)
   at System.Data.OleDb.OleDbDataReader.NextResult()
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.OleDb.OleDbCommand.ExecuteReader()
   at SqlBuddy.Main.OleDbRunQuery(String qry) in C:\Documents and Settings\Oscar\My Documents\SQLBuddy\SQLBuddy\SqlBuddy\Main.cs:line 354
   at SqlBuddy.Main.Execute_Click(Object sender, EventArgs e) in C:\Documents and Settings\Oscar\My Documents\SQLBuddy\SQLBuddy\SqlBuddy\Main.cs:line 432
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.PerformClick()
   at System.Windows.Forms.Button.ProcessMnemonic(Char charCode)
   at System.Windows.Forms.ContainerControl.ProcessMnemonic(Char charCode)
   at System.Windows.Forms.Form.ProcessMnemonic(Char charCode)
   at System.Windows.Forms.ContainerControl.ProcessDialogChar(Char charCode)
   at System.Windows.Forms.Form.ProcessDialogChar(Char charCode)
   at System.Windows.Forms.Control.ProcessDialogChar(Char charCode)
   at System.Windows.Forms.Control.ProcessDialogChar(Char charCode)
   at System.Windows.Forms.Control.ProcessDialogChar(Char charCode)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at SqlBuddy.Program.Main() in C:\Documents and Settings\Oscar\My Documents\SQLBuddy\SQLBuddy\SqlBuddy\Program.cs:line 17
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Closed Aug 26, 2009 at 11:38 PM by oscarleeper
fixed

comments