Server Error in '/' Application.

Index spillprevention_news_index was not found

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: Sitecore.ContentSearch.Exceptions.IndexNotFoundException: Index spillprevention_news_index was not found

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:


[IndexNotFoundException: Index spillprevention_news_index was not found]
   API.SpillPrevention.Search.IndexSearch.GetContentSearchItems(String indexName, String searchTerm, IEnumerable`1 templateNames, IEnumerable`1 tagNames) in C:\DevOps\API.SpillPrevention\Search\SpillPreventionSearch.cs:812
   API.SpillPrevention.Search.IndexSearch.GetNewsItems(String tagName) in C:\DevOps\API.SpillPrevention\Search\SpillPreventionSearch.cs:824
   API.SpillPrevention.Presentation.Sublayouts.SpillPrevention.Listings.ListingNews.Page_Load(Object sender, EventArgs e) in C:\DevOps\API.SpillPrevention\Presentation\Sublayouts\SpillPrevention\Listings\ListingNews.ascx.cs:62
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Control.LoadRecursive() +251
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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