Server Error in '/' Application.

Null or empty full-text predicate.

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.SqlClient.SqlException: Null or empty full-text predicate.

Source Error:


Line 83:                 cq.SearchKey = urlSearch
Line 84:                 cq.OrderText = "InStock Desc"
Line 85:                 Dim srchProducts = DBProduct.SearchProducts("", Nothing, cq)
Line 86:                 If (srchProducts.Count > 0) Then
Line 87:                     Dim tmpPtah = KobiMaster.WebUtil.GetProductListTemplatePath("") 'Default

Source File: C:\domains\hobi24.com\wwwroot\errorpages\404.ascx    Line: 85

Stack Trace:


[SqlException (0x80131904): Null or empty full-text predicate.]
   System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) +3121
   System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) +187
   System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +410
   System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute(Expression expression) +39
   KobiMaster.DataContext.Helper.DBProduct.SearchProducts(String Path, Nullable`1 CatalogID, ConstructedQuery CQuery) +322
   ASP.errorpages_404_ascx.Page_Load(Object sender, EventArgs e) in C:\domains\hobi24.com\wwwroot\errorpages\404.ascx:85
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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