nhibernate with ms access in asp mvc

0

how can i fix this error in asp.net mvc?

Syntax error in INSERT INTO statement.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement.

Line 31: retrieve.uhash = query.uhash;
Line 32: retrieve.uua = query.uua;
Line 33: Database.Session.Save(retrieve);
Line 34: return Content("success");

inner exception [OleDbException (0x80040e14): Syntax error in INSERT INTO statement.] System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1164224 System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +189 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +162 System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +107 NHibernate.JetDriver.JetDbCommand.ExecuteNonQuery() +57 NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery(IDbCommand cmd) +328 NHibernate.Id.Insert.AbstractSelectingDelegate.PerformInsert(SqlCommandInfo insertSQL, ISessionImplementor session, IBinder binder) +206

nhibernate
asked on Stack Overflow Apr 21, 2015 by Vondella21 • edited Apr 21, 2015 by sq33G

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0