Server Error in '/' Application.

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

Source Error:


Line 20: 
Line 21: 
Line 22:     <%=ESCMS.Language.TitleAndMeta%>
Line 23:     <%=ESCMS.Tools.CommonFunction.LinkCSS(ESCMS.Config.WebURL+"css/common.css")%>
Line 24:     <%=ESCMS.Tools.CommonFunction.LinkCSS(ESCMS.Config.WebURL + "css/theme.css")%>

Source File: c:\inetpub\vhosts\chesuoigiang.vn\httpdocs\Default.aspx    Line: 22

Stack Trace:


[OleDbException (0x80040e07): Conversion failed when converting the nvarchar value 'chesuoigiang.vn' to data type int.]
   System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) +1601064
   System.Data.OleDb.OleDbDataReader.NextResult() +456
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +319
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +143
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +214
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +180
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +126
   ESCMS.SQLConnect.GetData(OleDbCommand cmd, String constr) in D:\project\Core\SQL_DB\Class1.cs:50
   ESCMS.Database.Store.getDetail(String iProductID) in D:\project\Core\CMS Module\Store\Store\Class1.cs:109
   ESCMS.Language.get_TitleAndMeta() +330
   ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\vhosts\chesuoigiang.vn\httpdocs\Default.aspx:22
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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