Catalog Entry Search Error

Vote:
 

Hi,
When I go to Commerce Manager --> Catalog Entry Search, I get the following error...

Page could not be loaded (HTTP 500)

The page you were trying to access could not be loaded. This could be due to maintenance, please try again later or contact us if this problem continues.

Detailed error information (authorized by permissions to functions)

Error occuredUser IPUser AgentUrlReferer

6/12/2017 2:37:45 PM
162.158.79.13
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
https://commercemanager.edmundoptics.com:443/Apps/Shell/Pages/ContentFrame.aspx?_a=Catalog&_v=CatalogEntrySearch-List
https://commercemanager.edmundoptics.com/Apps/Shell/Pages/default.aspx

directory 'c:\temp\epicphoto-index\ECApplication\catalog' does not exist

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: Lucene.Net.Store.NoSuchDirectoryException: directory 'c:\temp\epicphoto-index\ECApplication\catalog' does not exist

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:

[NoSuchDirectoryException: directory 'c:\temp\epicphoto-index\ECApplication\catalog' does not exist]
   Lucene.Net.Store.FSDirectory.ListAll(DirectoryInfo dir) in d:\Lucene.Net\FullRepo\trunk\src\core\Store\FSDirectory.cs:305
   Lucene.Net.Index.FindSegmentsFile.Run(IndexCommit commit) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\SegmentInfos.cs:628
   Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor) in d:\Lucene.Net\FullRepo\trunk\src\core\Index\DirectoryReader.cs:117
   Mediachase.Search.Providers.Lucene.CachedIndexSearcher..ctor(TimeSpan cacheTimeout, String dirPath) +90
   Mediachase.Search.Providers.Lucene.IndexSearcherPool.Get(String dirPath) +202
   Mediachase.Search.Providers.Lucene.LuceneSearchProvider.Search(String applicationName, ISearchCriteria criteria) +1088
   Mediachase.Search.SearchManager.Search(ISearchCriteria criteria) +275
   Mediachase.Commerce.Manager.Catalog.CatalogEntrySearch.BindGrid(Boolean retryOnSearchException) +845
   System.Web.UI.WebControls.ListView.OnPagePropertiesChanged(EventArgs e) +99
   System.Web.UI.WebControls.ListView.SetPageProperties(Int32 startRowIndex, Int32 maximumRows, Boolean databind) +170
   Mediachase.Commerce.Manager.Core.Controls.EcfListViewControl.Page_Load(Object sender, EventArgs e) +1025
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   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) +3874
#179446
Jun 12, 2017 20:41
Vote:
 

Any idea why this may be happening?

#179447
Jun 12, 2017 20:41
Vote:
 

Does the folder c:\temp\epicphoto-index\ECApplication\catalog exist? It might have accidentally been deleted

#179449
Jun 12, 2017 21:53
Vote:
 

I honestly have no idea where this configuration reference came from. This appears to be from the EpicPhoto github project. We don't even store our IIS files for this website on the C:/ drive.

#179450
Jun 12, 2017 21:54
Vote:
 

Check your Commerce Manager Configs\Mediachase.search.config, that path is configured there. You will probably need to change the path. 

#179460
Jun 13, 2017 8:56
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.