November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Installation of EPiServer CMO 2 R2 is done with EPiServer Deployment Center, which is used to handle installation of EPiServer products. This document describes how to upgrade, install and delete EPiServer CMO.
The following prerequisites exist for EPiServer CMO:
Upgrade to EPiServer CMO 2 R2 as follows:
Campaign Monitor and Optimization Core containing the core files of the module (database, pages, logic etc) is mandatory and will be installed automatically.
Note! The aggregation service can write logs during the aggregation process. To activate this feature, you must grant permission to modify the aggregation service folder for the user who will run aggregation service (by default local service). See default installation folder in the section Configuring after the Installation.
Select the EPiServer website in EPiServer Deployment Center on which you want to install EPiServer CMO and click Next.
Define the database settings in EPiServer CMO as follows:
Set up the user interface of EPiServer CMO as follows:
To run EPiServer CMO in a production environment, select the EPiServerCmoLicense.config file (which contains the license information for this module installation) and click Install. This step is optional, you can select the license file afterwards (for example, if you want to run tests in EPiServer CMO first).
Click Close to complete the installation.
The default installation folder for the CMO Windows services is [Path to your EPiServer installation]\Shared\Services\[Name of the CMO Service]\.
Example: C:\Program Files\ EPiServer\ Shared\ Services\ CMO Aggregation Service\.
Check the logging configuration, aggregation service and thumbnail service for EPiServer CMO as follows:
Change the website’s URL and the URLs to the Thumbnail Service and Statistics Handler will be immediately updated on the CMO Admin page.
Uninstallation can be performed manually in the following steps:
The count of uninstallation steps may vary depending on particular module configuration and whether you want to remove the CMO module from one site or from the whole web server. Let’s consider each step in details.
Delete the following files:
On EPiServer site root folder |
Note! CMO pages and controls stored in Program files\EPiServer\{your_episerver_cms_version}\ Install\Modules\CMO2.1.0.*\CMO. Do not delete this folder manually, because it is used on all sites with CMO module installed. |
From the lang folder |
|
From the bin folder |
Note! The files marked with * can be used by other EPiServer modules. By deleting these files, the modules might not work properly. |
.
Remove the following from the web.config file:
<add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add tagPrefix="cmo" namespace="EPiServer.Cmo.UI.Units" assembly="EPiServer.Cmo.UI"/>
<add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI" />
<service behaviorConfiguration="EPiServer.Cmo.Core.WebServices.GenericKpiServiceBehavior"
name="EPiServer.Cmo.Core.WebServices.GenericKpiService">
<endpoint address="" binding="basicHttpBinding" contract="EPiServer.Cmo.Core.WebServices.IGenericKpiService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<behavior name="EPiServer.Cmo.Core.WebServices.GenericKpiServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
IIS 6: Delete following string in /configuration/system.web/httpModules node:
<add name="CMOModule" type="EPiServer.Cmo.Cms.HttpModule.Module, EPiServer.Cmo.Cms" />
IIS 7: Delete the following string in /configuration/system.WebServer/modules node:
<add name="CMOModule"
type="EPiServer.Cmo.Cms.HttpModule.Module, EPiServer.Cmo.Cms"
preCondition="managedHandler" />
IIS 6: Delete the cachedimageservice section in /configuration/system.web/httpHandlers and
/configuration/location[@path=path-to-episerver-ui]/system.web/httpHandlers node.
IIS 7: Delete the cachedimageservice section in /configuration/system.webServer/handlers and
/configuration/location[@path=path-to-episerver-ui]/system.webServer/handlers node.
<add name="cachedimageservice"
verb="GET"
path="cachedimageservice.axd"
type="ComponentArt.Web.Visualization.Charting.CachedImageService,ComponentArt.Web.Visualization.Charting" />
IIS 6: Delete the ChartImageHandler section in /configuration/system.web/httpHandlers node.
IIS 7: Delete the ChartImageHandler section in /configuration/system.webServer/handlers node.
<add verb="GET,HEAD"
name="ChartImageHandler"
path="ChartImg.axd"
type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
IIS 6: Remove the following string in /configuration/system.web/httpHandlers:
<add verb="GET" path="DownloadKpi.axd" type="EPiServer.Cmo.Core.Statistics.DownloadHandler, EPiServer.Cmo.Core" />
IIS 7: Remove the string in /configuration/system.webServer/handlers node:
<add verb="GET"
name="CmoDownloadHandler"
path="DownloadKpi.axd"
type="EPiServer.Cmo.Core.Statistics.DownloadHandler, EPiServer.Cmo.Core" />
<add name="CMO" resourcePath="~/CMO">
<assemblies>
<add assembly="EPiServer.CMO.UI" />
<add assembly="EPiServer.CMO.Gadgets" />
</assemblies>
</add>
<location path="CMO">
<system.web>
…
</system.web>
</location>
<add key="ChartImageHandler" value="storage=memory;timeout=20;" />
<add key="secretkey" value="your-thumbnail-service-secret-key-goes-here" />
<add name="CMOWebServices"
virtualPath="~/CMOWebServices"
physicalPath="C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\CMO2.1.0.*\CMO\..\CmoWebServices"
type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
<add name="CMO"
virtualPath="{cmo-ui-path}"
physicalPath="C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\Modules\CMO2.1.0.*\CMO"
type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
Uninstall Live Monitor as follows:
<service behaviorConfiguration="EPiServer.Trace.Services.TraceServiceBehavior" name="EPiServer.Cmo.Cms.Trace.Services.CmoTraceService">
<endpoint address="" binding="basicHttpBinding" contract="EPiServer.Trace.Services.ITraceService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<behavior name="EPiServer.Trace.Services.TraceServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
IIS 6: Delete the CmoLMTracker section in /configuration/system.web/httpHandlers node.
IIS 7: Delete the CmoLMTracker section in /configuration/system.webServer/handlers node.
<add name="CmoLMTracker" path="LMTrackerHandler.ashx" verb="*" type="EPiServer.Cmo.Cms.Trace.Handlers.TrackerHandler" />
<location path="{cmo-ui-path}/Trace">
<system.web>
<authorization>
<allow roles="WebEditors, WebAdmins, Administrators"/>
<deny users="*"/>
</authorization>
</system.web>
<system.webServer>
<handlers>
<remove name="svc-Integrated" />
<add name="svc-Integrated"
path="*.svc"
verb="*"
type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
resourceType="Unspecified"
preCondition="integratedMode" />
</handlers>
</system.webServer>
</location>
<location path="{cmo-ui-path}/Trace/Handlers">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Remove the following from the connectionStrings.config file:
<add name="CmoEntities"
connectionString="provider connection string="Data Source=.\sqlexpress;Initial Catalog=Cmo;Integrated Security=False;User ID=dbUserCMO;Password= dbUserCMO;Connect Timeout=10";metadata=res://*/Entities.CmoModel.csdl|res://*/Entities.CmoModel.ssdl|res://*/Entities.CmoModel.msl;provider=System.Data.SqlClient"
providerName="System.Data.EntityClient" />
Delete the database and its logins as follows:
Delete the Statistic Handler as follows:
IIS 6: Delete the string in /configuration/system.web/httpHandlers node.
IIS 7: Delete the string in /configuration/system.webServer/handlers node.
<add verb="GET" name="StatisticsHandler" path="StatisticsHandler.axd" type="EPiServer.Cmo.Core.Statistics.StatisticsHandler, EPiServer.Cmo.Core" />
Delete the Thumbnail Service as follows:
Delete the Aggregation Service as follows:
Remove the module from EPiServer CMS Deployment Center by uninstalling the application EPiServer CMS <your CMS version> - EPiServer CMO 2.1.0.* from the Control Panel / Uninstall Programs.
Last updated: 2012-09-04