Return to doc.sitecore.com

Where do I find the version number of Sitecore Intranet Portal?

Q:

Where do I find the version number of Sitecore Intranet Portal.

A:

The easiest way is to look for the version number in Sitecore's log file. Open the log file and search for "Sitecore started". If you find such an entry, scroll down until you see some lines similar to this:
13204 11:29:38 INFO  L:\Intranet\SIP220_solution\Website\bin\Sitecore.Client.dll (Sitecore 5.3.1.0, 11/05/2007 09:53:49)
13204 11:29:38 INFO  L:\Intranet\SIP220_solution\Website\bin\Sitecore.Kernel.dll (Sitecore 5.3.1.0, 11/02/2007 16:29:37)
13204 11:29:38 INFO  L:\Intranet\SIP220_solution\Website\bin\Sitecore.Intranet.dll (Sitecore Intranet Portal 2.1.0 rev. 071213, )
In this case, the Sitecore Intranet Portal version is 2.1.0 rev. 071213.

What if the Sitecore.Intranet.dll is not listed?
If the line with Sitecore.Intranet.dll is not listed in the log file, you have to configure Sitecore to output this information.

Luckily, this is very easy to do. Simply add a line to the web.config file:

<processor type="Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel">

  <assemblies hint="list:AddAssembly">

    <assembly>/bin/Sitecore.Client.dll</assembly>

    <assembly>/bin/Sitecore.Kernel.dll</assembly>

    <assembly>/bin/Sitecore.Intranet.dll</assembly>

  </assemblies>