Server Error in '/' Application.

Conversion failed when converting the nvarchar value 'tuc' to data type int.

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: Conversion failed when converting the nvarchar value 'tuc' to data type int.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OleDbException (0x80040e07): Conversion failed when converting the nvarchar value 'tuc' to data type int.]
   System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) +1593284
   System.Data.OleDb.OleDbDataReader.NextResult() +439
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +332
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +138
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +201
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +178
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +122
   TatThanhJsc.Database.SQLDatabase.GetData(OleDbCommand cmd) +394
   TatThanhJsc.Database.Groups.GetGroups(String top, String fields, String condition, String orderby) +576
   _Default.GetCate() +194
   _Default.GetTitle() +133
   _Default.Page_Load(Object sender, EventArgs e) +368
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0