Server Error in '/' Application.

@P0 : 206http://www.anandway.com/articles.aspx?View=Manali_in_January,206 - Input string was not in a correct format.

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.FormatException: @P0 : 206http://www.anandway.com/articles.aspx?View=Manali_in_January,206 - Input string was not in a correct format.

Source Error:


Line 23:         ' MessageBox.Show(Scmd.CommandText)
Line 24:         ' InputBox("", "", Scmd.CommandText)
Line 25:         Sad.Fill(SDst)
Line 26:         Return SDst.Tables(0)
Line 27:     End Function

Source File: C:\HostingSpaces\zqaiwxpo\anandway.com\wwwroot\App_Code\DCEx.vb    Line: 25

Stack Trace:


[FormatException: @P0 : 206http://www.anandway.com/articles.aspx?View=Manali_in_January,206 - Input string was not in a correct format.]
   System.Data.SqlServerCe.SqlCeCommand.FillParameterDataBindings(Boolean verifyValue) +1629
   System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options) +721
   System.Data.SqlServerCe.SqlCeCommand.ExecuteDbDataReader(CommandBehavior behavior) +35
   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
   DCEx.SelectTSQL(String TStr, String PStr) in C:\HostingSpaces\zqaiwxpo\anandway.com\wwwroot\App_Code\DCEx.vb:25
   Articles.RedirectRoutes() in C:\HostingSpaces\zqaiwxpo\anandway.com\wwwroot\Articles.aspx.vb:21
   Articles.Page_Load(Object sender, EventArgs e) in C:\HostingSpaces\zqaiwxpo\anandway.com\wwwroot\Articles.aspx.vb:49
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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