Developer forum

Forum » Ecommerce - Standard features » Error to Indexing - Search Index

Error to Indexing - Search Index

George Nelzo Pereira
Reply

Hello people,
I have a configuration with two servers (one for SQL database and one for IIS 8. Both are win server 2012) When is just one server, seems to run fine.
I followed the recommendations on (http://developer.dynamicweb.com/documentation/getting-started/installation-requirements.aspx) IIS 8
When I access the Search Index (Admin / Management Center / Ecommerce / Advanced Configuration / Searching ) I get error in properties screen.

Someone have any Idea?

Error:

Server Error in '/' Application.


Access is denied

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.ComponentModel.Win32Exception: Access is denied

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:
 

[Win32Exception (0x80004005): Access is denied]

[InvalidOperationException: Cannot open log Application on machine .. Windows has not provided an error code.]
   System.Diagnostics.EventLogInternal.OpenForRead(String currentMachineName) +2223189
   System.Diagnostics.EventLogInternal.get_EntryCount() +50
   Dynamicweb.Extensibility.Searching.EventLogProvider.GetEntries(Int32 max) +160
   Dynamicweb.Extensibility.Searching.IndexHelper.IsLastUpdateSucceeded(LogEntry& logEntry, String path) +162
   Dynamicweb.Admin.Manage.IsLastUpdateSucceeded() +123
   Dynamicweb.Admin.Manage.FillInformationTable() +1678
   Dynamicweb.Admin.Manage.LoadDetails() +19
   System.Web.UI.Control.LoadRecursive() +71

Replies

 
Mats Lycken
Reply

You're getting access denied errors from EventLog since that indexing page looks for events there when you open the page.

What application pool account are you using? You could try adding a custom account and then adding that account to the group IIS_IUSRS. After that you select the newly created account as Identity for the application pool the website is using.

Remember also that you need to set read/write permissions for that group so it has access to the files.

BR,
Mats

 

You must be logged in to post in the forum