Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David 39 posts 119 karma points
    Sep 30, 2013 @ 23:41
    David
    0

    Ublogsy and Umbraco6 MVC setup problem

    I hope you can help, I have a clean install of Umbraco6 and having trouble getting uBlogsy to work.

    Before installation of uBlogsy I changed the defaultRenderEngine to Mvc then after install copied and replaced the dlls as instucted in the release notes, but when I try to view any page i get a configuration error below;

    Am I missing something? any help on this would be appreciated.

    Thanks in advance.

    Regards

    D|avid

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Sections must only appear once per config file.  See the help topic <location> for exceptions.

    Source Error:

    Line 21:       </namespaces>
    
    Line 22: </pages> Line 23: <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 24: </system.web.webPages.razor> Line 25: <appSettings>
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 01, 2013 @ 12:18
    Anthony Dang
    1

    "Sections must only appear once per config file."

    It seems that your web.config somehow has a duplicate xml element.

    Find and replace the duplicate.

     

  • David 39 posts 119 karma points
    Oct 01, 2013 @ 13:42
    David
    0

    Anthony,

    Thanks for your reply.

    I have indeed removed the duplicate line, but I get another error.

    The two duplicate sections seems to be one version 4 and the other version 3, (FYI this web.config is in the views folder (may or may not be relevant) this is my first venture into MVC after using web forms for some years, so please excuse my ignorance.

    I'm trying to setup Umbraco 6 locally with uBlogsy using MS Visual Studio 2010, I have been putting off MVC for a long time and have now decided to take the plunge. It is very exciting learning again from scratch but just a little frustrating, so thanks for your support.

    I'll go through tonight and remove the duplicate sections, I'll keep you posted.

    Thanks
    Regards
    David

  • David 39 posts 119 karma points
    Oct 01, 2013 @ 21:16
    David
    0

    Anthony,

    I have removed the duplicate sections, this cleared the error however I'm getting another error now (Below) I think this may be related to this post http://our.umbraco.org/projects/starter-kits/ublogsy/ublogsy-bugs/40928-Clean-install-Umbraco-605-uBlogsy-MVC-3-fails

    I have replaced the DLLs again as instructed within the release notes;

    - IMPORTANT : After installation, download the uBlogsy3.0_RC_Patch.zip (http://our.umbraco.org/FileDownload?id=6173) patch and replace the DLLs in your bin.

    Note: You must set your RenderMode to Mvc in /config/umbracoSettings.config before you install this package. There is a bug in Umbraco 6.0 which means MVC packages do not import correctly.

     

    I'm still getting the error below, am I copying the correct DLLs?

    Thanks

    Kind regards

    David

     

     

    Server Error in '/' Application.


    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1501: No overload for method 'GetSiteRoot' takes 2 arguments

    Source Error:

     
    Line 7:  @{
    Line 8:      // get title of page - uBlogsySiteRoot to the alias of your root, otherwise this script will try to find the uBlogsy landing node up the tree.
    Line 9: var landing = DataService.Instance.GetSiteRoot(Model.Content, "uBlogsySiteRoot") ?? DataService.Instance.GetLanding(Model.Content); Line 10:     <header id="uBlogsy_header">
    Line 11:         <h1>

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 02, 2013 @ 12:33
    Anthony Dang
    100

    Those are old dlls...

    I think you need to start from scratch.

    Install a clean umbraco 6.1.6. Ensure you can log into the back office.

    Install uBlogsy.

     

     

  • David 39 posts 119 karma points
    Oct 02, 2013 @ 13:17
    David
    0

    Anthony,

    Thanks for your help, i'll start from scratch.

    Regards

    David

Please Sign in or register to post replies

Write your reply to:

Draft