My website has run for some time and do not have problem, but today when I want to add a new page, an error come out. The error message is:
Server Error in '/' Application.
String was not recognized as a valid Boolean.
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: String was not recognized as a valid Boolean.
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:
[FormatException: String was not recognized as a valid Boolean.]
System.Boolean.Parse(String value) +7663730
System.String.System.IConvertible.ToBoolean(IFormatProvider provider) +15
System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) +7601248
System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType) +4872946
[FormatException: Failed to convert parameter value from a String to a Boolean.]
System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType) +4872143
System.Data.SqlClient.SqlParameter.GetCoercedValue() +32
System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc) +100
System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters) +118
System.Data.SqlClient.SqlCommand.BuildRPC(Boolean inSchema, SqlParameterCollection parameters, _SqlRPC& rpc) +70
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteScalar() +139
mojoPortal.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +135
mojoPortal.Data.SqlParameterHelper.ExecuteScalar() +20
mojoPortal.Data.DBPageSettings.Create(Int32 siteId, Int32 parentId, String pageName, String pageTitle, String skin, Int32 pageOrder, String authorizedRoles, String editRoles, String draftEditRoles, String createChildPageRoles, Boolean requireSsl, Boolean allowBrowserCache, Boolean showBreadcrumbs, Boolean showChildPageBreadcrumbs, String pageKeyWords, String pageDescription, String pageEncoding, String additionalMetaTags, Boolean useUrl, String url, Boolean openInNewWindow, Boolean showChildPageMenu, Boolean hideMainMenu, Boolean includeInMenu, String menuImage, String changeFrequency, String siteMapPriority, Guid pageGuid, Guid parentGuid, Boolean hideAfterLogin, Guid siteGuid, String compiledMeta, DateTime compiledMetaUtc, Boolean includeInSiteMap, Boolean isClickable, Boolean showHomeCrumb, Boolean isPending, String canonicalOverride, Boolean includeInSearchMap, Boolean enableComments) +1622
mojoPortal.Business.PageSettings.Create() +723
mojoPortal.Business.PageSettings.Save() +22
mojoPortal.Web.AdminUI.PageProperties.SavePageData() +3450
mojoPortal.Web.AdminUI.PageProperties.Apply_Click(Object sender, EventArgs e) +34
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Anyone have the idea of why this error happen?