Blogs: The parameter 'address' cannot be an empty string.

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.
9/26/2009 11:56:11 PM
Gravatar
Total Posts 9

Blogs: The parameter 'address' cannot be an empty string.

I'm installing latest versión of mojoportal on an production server. I'm testing blog module, but when I try to give a feedback, application crashes and shows the following messages, what else must I configure in order to solve this problem?

 

Server Error in '/' Application.

The parameter 'address' cannot be an empty string.

Parameter name: address

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.ArgumentException: The parameter 'address' cannot be an empty string.

Parameter name: address

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

[ArgumentException: The parameter 'address' cannot be an empty string.

Parameter name: address]

System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) +1098157

System.Net.Mail.MailAddress..ctor(String address) +8

mojoPortal.Net.Email.SendEmailNormal(SmtpSettings smtpSettings, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority, String[] attachmentPaths, String[] attachmentNames) +621

mojoPortal.Net.Email.SendEmailNormal(SmtpSettings smtpSettings, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority) +122

mojoPortal.Net.Email.SendEmailNormal(SmtpSettings smtpSettings, String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority) +77

mojoPortal.Net.Email.SendEmail(SmtpSettings smtpSettings, String from, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority) +595

mojoPortal.Net.Notification.SendBlogCommentNotificationEmail(SmtpSettings smtpSettings, String messageTemplate, String fromEmail, String siteName, String authorEmail, String messageLink) +200

mojoPortal.Web.BlogUI.BlogViewControl.btnPostComment_Click(Object sender, EventArgs e) +2256

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

 

 

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

9/27/2009 9:07:07 AM
Gravatar
Total Posts 18439

Re: Blogs: The parameter 'address' cannot be an empty string.

Hi,

This is a bug because the comment notification is enabled by default in the settings for the blog but there is no email address entered in the settings to for sending comment notification. You can either enter an email address to receive the comment notification or disable comment notification, or upgrade to mojoPortal 2.3.1.9 released today, which has this fixed.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.