Take the community feedback survey now.

Thomas Krantz
Jan 13, 2011
  6719
(0 votes)

CMO 2.0 and .NET 4 installation problems and solutions

When I installed CMO 2.0 on a CMS 6 site running .NET 4, I had some issues with the installer. Same problems on both my dev and production environment.

After the module installation in Deployment Center, the site does not start. Btw, why can’t I have the option to only install the necessary CMO services and application files? It’s a scary feeling to let an installer do what it wants to my production config files.

Web.config modifications

1. The installer pokes around in Web.config modifying some configSections, namely it adds some sections to system.web.extensions/scripting/webServices sectionGroup.

image

I’m not sure why but once these lines were removed I’m getting the next error.

2. The installer alters the targetFramework and set it to 3.5. I changed this back to 4.0

3. CMO adds some httphandlers that refers to a 3.5 assembly.

I needed to change this handler in order to get Live Monitor and the Thumbnail service working:

<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"/>

Which is located here:

image

Change it to:

<add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, 
System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" 
preCondition="integratedMode" />

KPI Settings throws an Exception

4. This is probably not a 4.0 issue but something caused by some cultureInfo thing. I don’t know.

In CMO/Campaigns/Settings you can click “KPI Settings” to configure KPI.

Iimage

This caused this one…

image

While I probably should have waited for a proper patch, I needed to get this running. So… at my own risk, I patched  C:\Program Files (x86)\EPiServer\CMS\6.0.530.\Install\Modules\CMO2.0.0.0\CMO\Units\Kpi\KpiSettingsEditor.ascx

image

I changed ValueToCompare to “0,01” with a comma instead.

App_Browsers

5. The browser or gateway element with ID “Safari1Plus” cannot be found.

image

I removed Safari.browser and Chrome.browser from the App_Browsers folder.

Done!

Jan 13, 2011

Comments

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP - Opticon London 2025

This installment of a day in the life of an Optimizely OMVP gives an in-depth coverage of my trip down to London to attend Opticon London 2025 held...

Graham Carr | Oct 2, 2025

Optimizely Web Experimentation Using Real-Time Segments: A Step-by-Step Guide

  Introduction Personalization has become de facto standard for any digital channel to improve the user's engagement KPI’s.  Personalization uses...

Ratish | Oct 1, 2025 |

Trigger DXP Warmup Locally to Catch Bugs & Performance Issues Early

Here’s our documentation on warmup in DXP : 🔗 https://docs.developers.optimizely.com/digital-experience-platform/docs/warming-up-sites What I didn...

dada | Sep 29, 2025

Creating Opal Tools for Stott Robots Handler

This summer, the Netcel Development team and I took part in Optimizely’s Opal Hackathon. The challenge from Optimizely was to extend Opal’s abiliti...

Mark Stott | Sep 28, 2025

Integrating Commerce Search v3 (Vertex AI) with Optimizely Configured Commerce

Introduction This blog provides a technical guide for integrating Commerce Search v3, which leverages Google Cloud's Vertex AI Search, into an...

Vaibhav | Sep 27, 2025

A day in the life of an Optimizely MVP - Opti Graph Extensions add-on v1.0.0 released

I am pleased to announce that the official v1.0.0 of the Opti Graph Extensions add-on has now been released and is generally available. Refer to my...

Graham Carr | Sep 25, 2025