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?
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?
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?
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.
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?
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
is working on a reply...