Click here to Skip to main content
15,915,509 members
Home / Discussions / C#
   

C#

 
GeneralRe: Connection to access database with C#.net Pin
Robske23-Dec-04 4:25
Robske23-Dec-04 4:25 
GeneralRe: Connection to access database with C#.net Pin
leppie23-Dec-04 4:42
leppie23-Dec-04 4:42 
GeneralRe: Connection to access database with C#.net Pin
Robske23-Dec-04 8:06
Robske23-Dec-04 8:06 
GeneralRe: Connection to access database with C#.net Pin
Rob Graham23-Dec-04 8:56
Rob Graham23-Dec-04 8:56 
GeneralRe: Connection to access database with C#.net Pin
Robske25-Dec-04 1:23
Robske25-Dec-04 1:23 
GeneralRe: Connection to access database with C#.net Pin
Heath Stewart23-Dec-04 5:32
protectorHeath Stewart23-Dec-04 5:32 
GeneralRe: Connection to access database with C#.net Pin
SeMartens23-Dec-04 3:32
SeMartens23-Dec-04 3:32 
GeneralRe: Connection to access database with C#.net Pin
Robske23-Dec-04 4:27
Robske23-Dec-04 4:27 
I Changed a few things but still the same error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.OleDb.OleDbException: The component FROM contains a syntax error.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at AISDBL.Database.getNieuws() in d:\ontwikkelmap\visual studio projects\ais\aisdbl\database.cs:line 33
at AIS.FrmLogin.btnLogin_Click(Object sender, EventArgs e) in d:\ontwikkelmap\visual studio projects\ais\ais\load\frmlogin.cs:line 141
at System.Windows.Forms.Control.onclick(EventArgs e)
at System.Windows.Forms.Button.onclick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
AIS
Assembly Version: 1.0.1818.29878
Win32 Version: 1.0.1818.29878
CodeBase: file:///D:/Ontwikkelmap/Visual%20studio%20projects/AIS/AIS/bin/Debug/AIS.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
AISDBL
Assembly Version: 1.0.1818.29877
Win32 Version: 1.0.1818.29877
CodeBase: file:///D:/Ontwikkelmap/Visual%20studio%20projects/AIS/AIS/bin/Debug/AISDBL.DLL
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.



I dont understand because it's simple code

GeneralRe: Connection to access database with C#.net Pin
Rob Graham24-Dec-04 6:14
Rob Graham24-Dec-04 6:14 
Generalundo implemention Pin
ppp00123-Dec-04 0:34
ppp00123-Dec-04 0:34 
GeneralRe: undo implemention Pin
benjymous23-Dec-04 1:07
benjymous23-Dec-04 1:07 
GeneralCall external COM object, want to catch S_FALSE return code Pin
ohadp22-Dec-04 21:07
ohadp22-Dec-04 21:07 
Questionhow to share class on vss? Pin
montu337722-Dec-04 20:50
montu337722-Dec-04 20:50 
AnswerRe: how to share class on vss? Pin
Alex Korchemniy22-Dec-04 22:42
Alex Korchemniy22-Dec-04 22:42 
GeneralRe: how to share class on vss? Pin
montu337722-Dec-04 23:14
montu337722-Dec-04 23:14 
General[SQL] Using 'Like' operator for prepared statement Pin
ting66822-Dec-04 19:17
ting66822-Dec-04 19:17 
GeneralRe: [SQL] Using 'Like' operator for prepared statement Pin
Heath Stewart22-Dec-04 19:26
protectorHeath Stewart22-Dec-04 19:26 
GeneralDirectX and C# - Display AVI file Pin
Ahindika22-Dec-04 18:50
Ahindika22-Dec-04 18:50 
GeneralRe: DirectX and C# - Display AVI file Pin
Heath Stewart22-Dec-04 20:00
protectorHeath Stewart22-Dec-04 20:00 
GeneralDatagrid with textbox Pin
marck.santos22-Dec-04 15:15
marck.santos22-Dec-04 15:15 
GeneralRe: Datagrid with textbox Pin
Heath Stewart22-Dec-04 19:33
protectorHeath Stewart22-Dec-04 19:33 
GeneralPassing Value Types by Reference Pin
paulsawyer22-Dec-04 15:00
paulsawyer22-Dec-04 15:00 
GeneralRe: Passing Value Types by Reference Pin
Heath Stewart22-Dec-04 19:17
protectorHeath Stewart22-Dec-04 19:17 
GeneralRe: Passing Value Types by Reference Pin
Salil Khedkar22-Dec-04 19:20
Salil Khedkar22-Dec-04 19:20 
GeneralProblem with Stored Procedure Pin
ronin177022-Dec-04 14:29
ronin177022-Dec-04 14:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.