Server Error in '/' Application.

Could not find index configuration for this website!

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.Exception: Could not find index configuration for this website!

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:


[Exception: Could not find index configuration for this website!]
   WebLib.Utilities.SiteSearch.Search(String searchText, SearchType searchStyle, IEnumerable`1 categories, Int32 startAt, Int32 pageSize, Int32 fragmentSize, Sort sort, Boolean getExplanation, Boolean checkAll, AdditionalQuery[] additionalQueries) in C:\builds\WebProject\Web5.1\WebLib\Utilities\SiteSearch.cs:96
   Web.PageNotFound() in C:\builds\WebProject\Web5.1\WebLib\Web.cs:520
   WebLib.Transparent.XWeb.PageNotFound() in C:\builds\WebProject\Web5.1\WebLib\Transparent\XWeb.cs:53
   Web.Application_BeginRequest(Object sender, EventArgs e) in C:\builds\WebProject\Web5.1\WebLib\Web.cs:431
   WebLib.Transparent.XWeb.Application_BeginRequest(Object sender, EventArgs e) in C:\builds\WebProject\Web5.1\WebLib\Transparent\XWeb.cs:44
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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