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

Forums / Bugs & Issues / ContentView control is in Master mode and no MasterViews exist in the Views collection defined by this control

ContentView control is in Master mode and no MasterViews exist in the Views collection defined by this control

6 posts, 0 answered
  1. Dana
    Dana avatar
    7 posts
    Registered:
    16 Mar 2015
    20 Oct 2015
    Link to this post

    Hi,

     We're running Sitefinity 8.1.5810.0 and recently upgraded Feather to version 1.3.350.0.  After upgrading, when trying to access Content > Images > [image library name], we are getting the following error:

    Server Error in '/' Application.

    ContentView control is in Master mode and no MasterViews exist in the Views collection 
               defined by 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: ContentView control is in Master mode and no MasterViews exist in the Views collection 
               defined by 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: ContentView control is in Master mode and no MasterViews exist in the Views collection defined by this control.] Telerik.Sitefinity.Web.UI.ContentUI.ContentView.DetermineCurrentViewName() +477 Telerik.Sitefinity.Web.UI.ContentUI.ContentView.CreateChildControls() +69 System.Web.UI.Control.EnsureChildControls() +83 System.Web.UI.Control.PreRenderRecursiveInternal() +42 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248

     

    Here is my error log:

    ----------------------------------------
    Timestamp: 10/19/2015 9:39:49 PM

    Message: HandlingInstanceID: fe3a5ff2-4fc4-4667-b094-ebf7a33f20f9
    An exception of type 'System.InvalidOperationException' occurred and was caught.
    --------------------------------------------------------------------------------
    10/19/2015 15:39:49
    Type : System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : ContentView control is in Master mode and no MasterViews exist in the Views collection 
                defined by this control.
    Source : Telerik.Sitefinity
    Help link : 
    Data : System.Collections.ListDictionaryInternal
    TargetSite : System.String DetermineCurrentViewName()
    HResult : -2146233079
    Stack Trace :    at Telerik.Sitefinity.Web.UI.ContentUI.ContentView.DetermineCurrentViewName()
       at Telerik.Sitefinity.Web.UI.ContentUI.ContentView.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Additional Info:

    MachineName : 214592L
    TimeStamp : 10/19/2015 9:39:49 PM
    FullName : Telerik.Sitefinity.Utilities, Version=8.1.5810.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/2/ROOT-7-130897615230086448
    ThreadIdentity : webmaster
    WindowsIdentity : CA\dcottrea
    Requested URL : http://localhost:60876/Sitefinity/Content/Images/LibraryImages/default-album/?provider=OpenAccessDataProvider


    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: 214592L

    App Domain: /LM/W3SVC/2/ROOT-7-130897615230086448

    ProcessId: 8980

    Process Name: C:\Program Files (x86)\IIS Express\iisexpress.exe

    Thread Name: 

    Win32 ThreadId:15044

    Extended Properties: 
    ----------------------------------------

     

    I've tried deactivating and re-activating the Libraries module as well and un-installing it and reinstalling it and neither of those solutions have worked.  Any suggestions before I start a roll back process?

  2. Velizar Bishurov
    Velizar Bishurov avatar
    143 posts
    Registered:
    23 Sep 2016
    23 Oct 2015
    Link to this post
    Hi,

    Please inspect your LibrariesConfig.config file for any <config:lazy> lines and comment them out. After that please reinstall the Libraries module again by removing the version attribute in the SystemConfig. You can refer to the following KB article how to do this: http://www.sitefinity.com/developer-network/knowledge-base/details/reinstall-sitefinity-module

    Please make sure to attempt this on a backup of the project first.

    Regards,
    Velizar Bishurov
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Dana
    Dana avatar
    7 posts
    Registered:
    16 Mar 2015
    26 Oct 2015
    Link to this post
    That worked.  Thanks.
  4. Hristiyan
    Hristiyan avatar
    1 posts
    Registered:
    07 Jul 2015
    12 Apr
    Link to this post

    Hello Velizar,

     

    We're currently experiencing the same issue but with the News module. Commenting out the <config:lazy lines seems to work, even without reinstalling the module, but can we get an explanation about the cause? Can this be prevented from happening?

     

    We're currently running SF 8.2.5906.0

     

    Regards,

    Hristiyan

  5. Max
    Max avatar
    2 posts
    Registered:
    11 May 2016
    15 Jul in reply to Hristiyan
    Link to this post

    We would also like an update as to the cause of this issue.

     

    We experienced this on SF 9.1 even without updating. We simply created a new library and this issue started appearing.

     

    Any way to permanently resolve this and stop it from happening in the future?

  6. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    06 Sep
    Link to this post

    Anyone has this fixed? I'm having this after upgrading to 9.1.

    My Dynamic Module isn't working anymore and I'm getting this error.

6 posts, 0 answered