Installing the Thumbnail Service

Product version:

EPiServer CMO 1.1

Document version:

1.0

Document last saved:

Thumbnail service is a windows service application used for page thumbnail generation.

The installation files for the thumbnail service can be downloaded from EPiServer World.

  1. Create folder where thumbnail service will be installed. Default installation folder is [Path to your EPiServer installation]\ Shared\ Services\ Thumbnail Service, for example:
    C:\Program Files\ EPiServer\ Shared\ Services\ Thumbnail Service.
  2. Copy all files from Thumbnail Service folder to service installation folder. Copy log4net.dll assembly from “bin” package folder to service installation directory.
  3. Service can be installed using standard .NET framework utility InstallUtil. By default InstallUtil can be fiund in .NET Framework 2 folder c:\Windows\Microsoft.NET\Framework\v2.0.50727
    Run command:
    InstallUtil.exe [Path to your thumbnail service files]\IECaptSvc.exeIt is preferred to create a local user and run the service as that user.

Configuration

You can update “secretkey” parameter in appSettings section. This string is used to decrypt credential to login to CMS site.
CMS site must contain the same setting in web.config file:
  <appSettings>
    <add key="secretkey" value="1E73FFB0-0F78-4e8e-8D15-3F11B979B5A9"/>
  </appSettings>

You can also change WCF settings for service, for example change service port. See WCF configuration reference for that.
 

<system.serviceModel>
      <behaviors>
        <endpointBehaviors>
          <behavior name="webHttp">
            <webHttp/>
          </behavior>
        </endpointBehaviors>
      </behaviors>
        <services>
            <service
                name="IECaptSvc.IECaptWCF">
                <endpoint address="" binding="webHttpBinding" contract="IECaptSvc.IIECaptWCF" behaviorConfiguration="webHttp">                   
                </endpoint>
                <host>
                    <baseAddresses>
                        <add baseAddress="http://0.0.0.0:8731/IECaptWCF/" />
                    </baseAddresses>
                </host>
            </service>
      </services>
  </system.serviceModel>


Service has to be restarted after configuration changes.
Service configuration file contains default service configuration and is included to module package.

Removing Service

Run following command to remove Thumbnail service using standard framework utility:

InstallUtil.exe /u [Path to your thumbnail service files]\IECaptSvc.exe