Thomas Krantz
Jan 13, 2011
(2 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.


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="*" 
System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
resourceType="Unspecified" preCondition="integratedMode"/>

Which is located here:


Change it to:

<add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, 
System.ServiceModel.Activation, Version=, 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.


This caused this one…


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


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


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


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


Jan 13, 2011


Jan 14, 2011 04:00 AM


Another way to solve the validation error without changing CMO source code (In case you are not enable English language).

1. Enable English language
2. Modify your EpiserverFramwork.config as below:

Jan 20, 2011 09:15 AM

I get the same error on a standard CMS 6 installation with CMO 2.0 running .net 3.5. I am not sure of the reason though (might have something to do with the date format) but this is what I have found out;

The error occurs if the user logged in has a different "Display language" than system language (e.g.. "en") and is not a part of the group "administrators".

Changing the display language to "system language" (en) fixed the issue on my installation.

Karoline Klever
Karoline Klever Feb 3, 2011 02:14 PM

Very useful blogpost! I got the KPI Settings exception as well, but this fixed it :)

You didn't happen to have any problems with the Thumbnail service? It worked like a charm on my laptop, but when I installed it in production the thumbnails created are images of an error page displaying "Navigation to the webpage was cancelled".

Feb 7, 2011 06:00 PM

Thank you! We will do our best to fix these things.

Karoline, request to thumbnail service can take some time, it deppends also on environmant configuration and network settings. Default image is returned if request to thumbnail service is too long. In this case we try to generate thumbnail asynchronously to display it next time.
Please let me know if you still have problem with thumbnail generation, it can be also related to server security settings.

May 11, 2011 07:37 PM

Hi all,

I have published workaround for CMO 2.0 that should solve localization issues. You can find it here:

See also description of additional configuration for Thumbnail service installed on Windows Server 2008 R2:

Please login to comment.
Latest blogs
Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Content Delivery API – The Case of the Duplicate API Refresh Token

Creating a custom refresh provider to resolve the issues with duplicate tokens in the DXC The post Content Delivery API – The Case of the Duplicate...

David Lewis | Sep 29, 2022 | Syndicated blog

New Optimizely certifications - register for beta testing before November 1st

In January 2023, Optimizely is making updates to the current versions of our certification exams to make sure that each exam covers the necessary...

Jamilia Buzurukova | Sep 28, 2022

Optimizely community meetup - Sept 29 (virtual + Melbourne)

Super excited to be presenting this Thursday the 29th of September at the Optimizely community meetup. For the full details and RSVP's see the...

Ynze | Sep 27, 2022 | Syndicated blog