Error in insert comment on a blog

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/7/2005 1:14:00 AM
Gravatar
Total Posts 23

Error in insert comment on a blog

I have the last release but when I make a feedback on a blog post I've this error:
[NullReferenceException: Object reference not set to an instance of an object.]
mojoPortal.Business.Email.SendEmail(String From, String To, String Cc, String Bcc, String Subject, String MessageBody, Boolean Html, String Priority) +184
mojoPortal.Business.Notification.SendBlogCommentNotificationEmail(String MessageTemplate, String FromEmail, String SiteName, String AuthorEmail, String MessageLink) +144
mojoPortal.Web.BlogView.btnPostComment_Click(Object sender, EventArgs e) +492
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292


6/7/2005 2:23:47 AM
Gravatar
Total Posts 18439

Re: Error in insert comment on a blog

The eror is happening after the insert at the point where it is trying to send you email notification. Make sure you set a valid smtp server in your web.config file
6/7/2005 8:30:24 AM
Gravatar
Total Posts 23

Re: Error in insert comment on a blog

I had the error because in my web.config were missing some new keys for the smtp server.
Now it's all right.
Thank's.
You must sign in to post in the forums. This thread is closed to new posts.