Copied to clipboard

Flag this post as spam?

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


  • Rasmus Trumf 78 posts 160 karma points
    Nov 25, 2013 @ 20:40
    Rasmus Trumf
    0

    Install package to U7

    When installing this package to Umbraco 7.0 I get this error:

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    Line 182:        MemberGroup newGroup3 = MemberGroup.MakeNew("Client2", getUser());
    Line 183:
    Line 184:        newGroup1.Save();
    Line 185:        newGroup3.Save();
    Line 186:        newGroup3.Save();


    Source File: d:\Arbit\Umbraco\umbraco.kvartover\kvartover\usercontrols\StandardWebsiteInstall.ascx.cs    Line: 184 

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.web.Access.RenameMemberShipRole(String oldRolename, String newRolename) +110
       umbraco.cms.businesslogic.member.MemberGroup.Save() +164
       usercontrols_StandardWebsiteInstall.SetupClientArea(Int32 clientAreaId, Int32 loginPageId, Int32 errorPageId) in d:\Arbit\Umbraco\umbraco.kvartover\kvartover\usercontrols\StandardWebsiteInstall.ascx.cs:184
       usercontrols_StandardWebsiteInstall.Page_Load(Object sender, EventArgs e) in d:\Arbit\Umbraco\umbraco.kvartover\kvartover\usercontrols\StandardWebsiteInstall.ascx.cs:166
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnLoad(EventArgs e) +92
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

     

    Besides for this error which is in line 184 should line 185 not be newGroup2.save instead of newGroup3.save ??

     

    Thanks in advance

    Rasmus

  • Graeme W 113 posts 289 karma points
    Dec 06, 2013 @ 11:25
    Graeme W
    0

    Hi Rasmus. Did you manage to solve this?

    I've installed this package on v 6 but also need to try out v 7.  Ideally I'd like to install this package on v7 too if it's possible

  • Rasmus Trumf 78 posts 160 karma points
    Dec 09, 2013 @ 20:28
    Rasmus Trumf
    0

    Hi Graeme

    No I did nok solve this. Though I read somewhere that there is some problems with membergroups from U6.1.x wich might be related to this also.

    Rasmus

  • Brandon Hines 15 posts 45 karma points
    Dec 13, 2013 @ 05:22
    Brandon Hines
    0

    I would like to use this with 7 as well.

  • Graeme W 113 posts 289 karma points
    Dec 17, 2013 @ 19:45
    Graeme W
    0

    I've managed to get a bit further running  this using version 7.0.1

    I got the same error message on installation but it did actually seem to create everything (?) if I refresh the page.

    On running the site I got The layout page "SW_Master.cshtml" could not be found at the following path: "~/Views/SW_Master.cshtml".

    There was a file in that folder called SWMasters.cshtml. I renamed it to match the above and the site now runs and all the pages can be viewed. This was a bit strange as I'm sure I didn't have to do that with v 6

    However if I try and create a new page I get this error

    Server error: Contact administrator, see log for full details.
    Failed to retreive data for empty content item type Standard 

     

  • Chaitanya Gadkari 27 posts 66 karma points
    May 11, 2015 @ 11:39
    Chaitanya Gadkari
    0

    I have used this package with umbraco 7.2.1 and it works fine.

    There is installation error in latest version(i think its 7.2.4) which breaks at content publish

                contentService.SaveAndPublish(root);

                contentService.PublishWithChildren(root);

     

    which is not a big problem, If i go to content and publish home with its child nodes the package works.

Please Sign in or register to post replies

Write your reply to:

Draft