+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / The ViewMode ABCampaignsView is not defined for this control

The ViewMode ABCampaignsView is not defined for this control

2 posts, 0 answered
  1. Charles
    Charles avatar
    61 posts
    Registered:
    18 Jul 2012
    10 Oct 2012
    Link to this post
    I'm not sure why but I'm having issues with the AB portionof a 5.1.3450 site.

    The ViewMode "ABCampaignsView" is not defined for this control.
    Description:
    An unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the error and
    where it originated in the code.

    Exception Details:
    System.InvalidOperationException: The ViewMode "ABCampaignsView" is not
    defined for this control.

    Source Error:





    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Stack Trace:





    [InvalidOperationException: The ViewMode "ABCampaignsView" is not defined for this control.]
    Telerik.Sitefinity.Web.UI.ViewModeControl`1.get_CurrentView() +296
    Telerik.Sitefinity.Web.UI.ViewModeControl`1.LoadCurrentView(Control hostControl) +56
    Telerik.Sitefinity.Web.UI.ViewModeControl`1.InitializeControls(Control viewContainer) +91
    Telerik.Sitefinity.Web.UI.Backend.ControlPanel`1.InitializeControls(Control viewContainer) +528
    Telerik.Sitefinity.Modules.Newsletters.Web.UI.NewslettersControlPanel.InitializeControls(Control viewContainer) +54
    Telerik.Sitefinity.Web.UI.ViewModeControl`1.CreateChildControls() +168
    System.Web.UI.Control.EnsureChildControls() +83
    System.Web.UI.Control.PreRenderRecursiveInternal() +42
    System.Web.UI.Control.PreRenderRecursiveInternal() +168
    System.Web.UI.Control.PreRenderRecursiveInternal() +168
    System.Web.UI.Control.PreRenderRecursiveInternal() +168
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    08 Dec 2016
    08 Nov 2012
    Link to this post
    Hi,

    The problem is caused because since version 5.1 A/B Campaigns are no longer accessible via Email Campaigns -> A/B Tests page. This page should be hidden from the menu after upgrade and even if you try to access it you should receive error 404. You can see how to access the A/B Tests from this help article.

    To fix the problem perform these steps.
    1. Navigate to Administration -> Modules.
    2. Locate the Email Campaigns entry.
    3. Deactivate the module.
    4. Once deactivated, uninstall it.
    5. Install it again.

    After that you will be able to use the Email Campaigns module successfully. The content is also saved, so you will not lose any email campaign.

    Greetings,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered