Tuesday 19 December 2017

~/App_Config/include has no config with fresh instance: sitecore 9

sitecore-config-info



It's strange but noticed that now with sitecore 9, there is no configs at path ~\App_Config\Include\
As per my understanding, now there is a config at path ~\App_config\Layer.config
which has following statements like:

  <layer name="Modules" includeFolder="/App_Config/Modules/" />
  <layer name="Custom" includeFolder="/App_Config/Include/" />
  <layer name="Environment" includeFolder="/App_Config/Environment/" />

that mean from sitecore 9, layer structure introduced for modules, custom, environment and others.
Since currently after fresh instance with sitecore 9 there is no custom configs that's why
~\App_Config\Include\ has no configs, and if we wanted to add some of the custom configs then will come under the custom Layer.


Saturday 9 December 2017

Windows could not start the solr service on Local Computer: Sitecore 9 Installation

While Creating solr service with nssm-2.24.zip then service is created by but while trying to restart/start getting error as

Windows could not start the solr service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator.

I also faced same issue and to fix this here we have two approaches:
First one is - Please make sure command prompt is closed (where earlier you may ran solr start ), if not closed then first close the command prompt and then again restart solr service. It will work.

Second approach will have below steps:

1. from the cmd (as admin) at the path ~/nssm-2.24/win64 run the command as
> nssm remove solr

Now check from services that solr service is removed or not, if not
 then firstly stop solr service from service setting manually and then run the above command hope   will work.

2. after this, remove the existing nssm-2.24(from directory) and download this version of NSSM and extract at the same place.

3. now again create the solr service via this nssm version Issue will be resolved.

Let me know if any issue.

Have a Good Day!!!