setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

Latest post 02-14-2007 11:33 AM by PifGadget. 5 replies.
  • 01-14-2007 2:17 PM

    • doverton
    • Top 10 Contributor
    • Joined on 10-28-2006
    • UK
    • Posts 33
    • Points 370

    setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

    Hi Nick, two problems in one night - lucky you - sorry for the hassle.  I have been trying to find out what was causing the select tags problem and noticed that if I set the site theme to something other than default (I have copied the default folder to default.cs and copied aero2 to default so aero2 and default both exist in the themes folder) and then try to navigate to the blog page I get the error page.  I have just tried it from the server and got a much better error message.  It means that if anyone changes their theme for my site they can't view my blog.

    I am running Aero 2 with SP applied.

    thanks

    Server Error in '/' Application.

    Could not find matching region for content with ID 'outsidetheform'

    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.Exception: Could not find matching region for content with ID 'outsidetheform'

    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:

    [Exception: Could not find matching region for content with ID 'outsidetheform']
       MetaBuilders.WebControls.MasterPages.ContentContainer.MoveContentsIntoRegions() +278
       MetaBuilders.WebControls.MasterPages.ContentContainer.LoadMasterPage() +96
       MetaBuilders.WebControls.MasterPages.ContentContainer.OnInit(EventArgs e) +13
       CommunityServer.Controls.MPContainer.OnInit(EventArgs e) +347
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Control.InitRecursive(Control namingContainer) +198
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +2067711
       System.Web.UI.ControlCollection.Add(Control child) +146
       MetaBuilders.WebControls.MasterPages.ContentContainer.LoadMasterPage() +88
       MetaBuilders.WebControls.MasterPages.ContentContainer.OnInit(EventArgs e) +13
       CommunityServer.Controls.MPContainer.OnInit(EventArgs e) +347
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Control.InitRecursive(Control namingContainer) +198
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +2067711
       System.Web.UI.ControlCollection.Add(Control child) +146
       CommunityServer.Blogs.Controls.LayoutTemplate.LoadThemedControl() +99
       CommunityServer.Controls.TemplatedWebControl.CreateChildControls() +58
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +41
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
    

     

    • Post Points: 20
  • 01-14-2007 2:30 PM In reply to

    • Nick
    • Top 10 Contributor
    • Joined on 10-11-2005
    • Gilwern, S.Wales, Uk
    • Posts 2,606
    • Points 19,725

    Re: setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

    Ok, that is a really strange error, have neva gotten that one b4 sorry to say, it doesn't look like an aero specific error, might just be something missing from one of the files.  It should happen, this site runs aero, unmodified.  Actually the Aero 2.0 files you get are off this very site, so I can assue you aero works.

     

    The outsidetheform control seems to be missing from of the master pages 

    • Post Points: 20
  • 01-14-2007 6:05 PM In reply to

    • doverton
    • Top 10 Contributor
    • Joined on 10-28-2006
    • UK
    • Posts 33
    • Points 370

    Re: setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

    So you think my CS 2.1 implementation might be a bit screwy?  I wonder if both the errors link to eachother (the tags one and the outside form one).  And yes, to be sure, I re-downloaded the aero 2.0 and sp1 files tonight to be sure I was not missing anything.

    To make Aero the default, I renamed the existing default theme directory to default.cs and copied the aero2 directory to default - is this the correct way to make the default theme aero?  I also copied the themes\galleries directory from the zip into web\themes\galleries for CS - I presume this is what you meant in your instructions.

    I don't think I have modified any of my files, but to be sure I will try rebulding on a 2nd server, reloading the themes and see if I can repro the problem - if not, then I will rebuild my site :-)

     

    thanks again for the fantastic themes.

     

    • Post Points: 20
  • 01-15-2007 2:42 PM In reply to

    • Nick
    • Top 10 Contributor
    • Joined on 10-11-2005
    • Gilwern, S.Wales, Uk
    • Posts 2,606
    • Points 19,725

    Re: setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

    Make sure you did the same for blogs.

    Apart from that I really don't know why this error is happening, sorry to say.

    I'm not planning on releasing another Aero 2.0 release until CS 3.0 is in beta, at which time some of the features of aero will be enabled/tweak
     

    • Post Points: 20
  • 02-14-2007 10:54 AM In reply to

    Re: setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

    Hi,

    I have the same problem.
    It seems related to the blog theme.

    As you did, I also copied Aero to the default folders to enable it as my default themes, including in the blog section.
    The problem is that the Aero "blog theme" must somehow refer to the Aero main theme to display.
    The issue comes from the fact that a user can modify his main theme, but not the blog theme he is using. Thus, when selecting a non Aero theme, CS is still looking for Aero parts when viewing blogs which are still set to be displayed with Aero.

    Do you have an idea to fix that easily, or shall we wait for Aero 2007.
    I have many users who would like to have the ability to chose a lighter theme, especially when browsing under Linux, since Aero makes browsers consume a lot of memory resources.

    Thanks for your great theme and your help Nick Yes

    Edit: The weird thing is that the blog view only crashes if you use basic_blue or alternate1 themes. It works if you use the CS default theme. It must have something to do with the "blue" based themes.

    Filed under: ,
    • Post Points: 5
  • 02-14-2007 11:33 AM In reply to

    Re: setting my site theme to blue, blog to Aero 2 w/ SP1 causes errors when going to the blog

    Good news, I found the bug Smile.

    It's a non declaration of the MPRegion id in the Master.ascx file of the crashing themes.

    To fix it, just replace:

    Line 26 of the Master.ascx file of basic blue and alternate1 themes

    <div id="Common">
    by
    <div id="CommonOuter"><div id="Common">

    Line 56 of the Master.ascx file of basic blue and alternate1 themes

        </div>
       </CS:MPRegion>
      </CS:MPForm>
    by
        </div></div>
      </CS:MPForm>
      <CS:MPRegion id="outsidetheform" runat="server" />

    Et voilà ! Smile

    • Post Points: 5
Page 1 of 1 (6 items) | RSS