Try our conversational search powered by Generative AI!

Can not access episerver visitor groups


How can we configure and access Visitor Groups in Episerver 6 R2? In edit mode when we click the Visitor Groups link and then try to add the gadget we get the message:

Statistics are either not available for the selected visitor groups or there are none selected.

Trying to change settings for Visitor Group Statistisk gives the message: No Visitor Group selected.

If we then go to Edit Mode and then click the link Visitor groups, Nothing happens. The page just reloads!

Is there any access path needed in web.config in order to get Visitor Groups to work?

Nov 12, 2012 10:38

You should be in one of the following roles to administer visitor groups:

  • CmsAdmins
  • VisitorGroupAdmins
Nov 12, 2012 10:58

You can change which groups are added to those in episerverframework.config by change the roles attribute.

<add roles="WebAdmins, Administrators" mode="Any" name="CmsAdmins" type="EPiServer.Security.MappedRole, EPiServer" />
<add roles="WebEditors" mode="Any" name="CmsEditors" type="EPiServer.Security.MappedRole, EPiServer" />

Edited, Nov 12, 2012 12:06

Thanks for your reply guys.

Dmytro: are CmsAdmins and VisitorGroupAdmins built in groups in Episerver or we have to create them and then set the access right somewhere?

Per: We use active directory for user authentication and have configured different access levels for administrators and editors at <authorization> block in web.config. In episerverframework.config we have added:

<add name="VisitorGroupAdmins" roles="domain\Ad groupe name" type="EPiServer.Security.MappedRole, EPiServer" mode="Any"/>

But still no progress...

Edited, Nov 12, 2012 12:45

CmsAdmins and VisitorGroupAdmins are kind of default roles.

I think VisitorGroupAdmins is not defined when you install new EPiServer site, you can add it in virtualRoles section in EPiServerFramework.config file or define it in Admin mode.

CmsAdmins should be added by default in virtualRoles section of EPiServerFramework.config, in your case it could be something like 

<add roles="domain\Ad groupe name,WebAdmins" mode="Any" name="CmsAdmins" type="EPiServer.Security.MappedRole, EPiServer.Framework" />


Nov 12, 2012 13:53


I checked episerverframework.config. The CmsAdmins line existed already. As you mentioned in your latest post Dmytro it probably was added by default. I added the next line below for VisitorGroupAdmins role but it didn’t help. Attempting to add the gadget gives the same message (Statistics are either not available for the selected visitor groups or there are none selected) .. Trying to change settings for Visitor Group Statistic gives the message: No Visitor Group selected.

<add name="CmsAdmins" roles="WebAdmins, Administrators, domain\AD group name" mode="Any"  type="EPiServer.Security.MappedRole, EPiServer.Framework" />
        <add name="VisitorGroupAdmins" roles="WebAdmins, Administrators, domain\AD group name" mode="Any" type="EPiServer.Security.MappedRole, EPiServer.Framework" />

Nov 12, 2012 14:24

Ok, maybe I didn't understand your question. I thought that main problem is that you cannot access visitor groups settings by clicking on Visitor Groups section in global navigation menu.

So - can you go to Visitor Groups settings in global menu? Do you have any visitor group defined?

Nov 12, 2012 14:45

I can access the settings for the Visitor Group Statistics Gadget. But we do not have any visitor groups defined. Where do we define these groups?

Nov 12, 2012 14:58

Go to Edit mode and then select CMS / Visitor Groups section in global navigation menu.

Nov 12, 2012 15:03

I think it is something wrong with our Episerver instalation because when we go to Edit mode and then select CMS / Visitor Groups we get redirected to our predefiened "Page-can-not-be-found  page". looks like this functionality does not even exist or correctly configuered. The question is what's needed to get it work.

Nov 12, 2012 15:14

Visitor Groups settings should be available on your site on http://yoursite/path/To/UI/CMS/VisitorGroups

Does your URL to Visitor Group settings look as expected?

Also you could check following:

  • CMS should be defined as protected module in section in your web.config.
  • rootPath attribute value of protectedModules node should be equal to your ~/path/To/UI.
Nov 12, 2012 15:34

This is how section looks like in our web.config file:

        <publicModules rootPath="~/modules/" autoDiscovery="Minimal" />
        <protectedModules rootPath="~/EPi/UI/">
            <add name="Shell" />
            <add name="CMS" />


Trying to go to http://sitename/EPI/UI/CMS/VisitorGroups gives HttpException: Not Found, like the page doesn't exist.

Edited, Nov 12, 2012 15:56

Configuration looks good.

It seems that visitor group controller cannot be resolved, may be CMS module is not initialized properly.

I would try to install new clean EPiServer site on that environment, check how Visitor Group settings works on clean site and what is the difference comparing to the site where VG settings are not available.

Nov 12, 2012 16:06

Sounds like a good idea. Many thanks for your answers.

Nov 12, 2012 16:12

the VisitroGroup link only appears when i am logged in as Administrator of our AD server. but when i log in using my account (which has a Admin role in the intranet) the visitor groups link does not appear

Dec 13, 2013 14:07
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.