Copied to clipboard

Flag this post as spam?

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


  • lonehorseend 24 posts 71 karma points
    Jul 31, 2013 @ 20:48
    lonehorseend
    0

    Object reference not set to an instance of an object

    Installed this on Umbraco 6.0.5. Got it displaying where I wanted, entered a comment, hit submit and I get a nice little error message that says "An error has occurred. Please try again later." No noticiation via email, but comment able to be approved in the backend.

    Here's what's in the tracelog:

    2013-07-31 11:44:26,214 [44] INFO  umbraco.BusinessLogic.Log - [Thread 41] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 1342 | Comment: Object reference not set to an instance of an object.

       at umbraco.cms.businesslogic.Content.CreateContent(ContentType ct)

       at umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String LoginName, String Email, MemberType mbt, User u)

       at umbraco.cms.businesslogic.member.Member.MakeNew(String Name, String Email, MemberType mbt, User u)

       at uCommentsy.BusinessLogic.SubscriptionService.SubscribeToPost(IPublishedContent node, CommentInfo commentInfo, Boolean subscribe) in D:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 68

       at uCommentsy.BusinessLogic.CommentService.SubmitComment(HttpRequestBase request, IPublishedContent node, CommentInfo commentInfo, Boolean subscribe) in D:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\CommentService.cs:line 105

    This makes me think I'm supposed to set something in the configuration file, but what?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 02, 2013 @ 12:30
    Anthony Dang
    0

    This normally happens when the member type doesnt exist.

    If this is so, then something went wrong during the package install... try uninstalling and installing again.

     

  • lonehorseend 24 posts 71 karma points
    Aug 02, 2013 @ 22:53
    lonehorseend
    0

    Hey, thanks for you help.  We are working through some server permissions issues with Umbraco, so the reinstall failed due to a timeout (this is after it worked perfectly the first time a few days ago).  You wouldn't have any insights on directory permissions for Umbraco running under IIS would you?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 27, 2013 @ 16:16
    Anthony Dang
    0

    Generally permission to IIS_IUSRS and possibly Network_Service is all you need. I grant to all the files and folders.

    You could try this package for some diagnostic help:

    http://our.umbraco.org/projects/developer-tools/diagnostics

     

     

Please Sign in or register to post replies

Write your reply to:

Draft