This project is read-only.
2
Vote

Error when creating new campaign

description

I am using Umbraco 4.5.2. and the beta 2 release of the newsletter. Upon creating a new campaign, I am immediately greeted by this error message:
 
String was not recognized as a valid DateTime.
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.FormatException: String was not recognized as a valid DateTime.
 
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:
 
[FormatException: String was not recognized as a valid DateTime.]
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +2836682
System.Convert.ToDateTime(String value) +98
Designit.Umb.Newsletter.Bll.MailSettings.Get() +2771
Designit.Umb.Newsletter.Custom.plugins.designit.newsletter.CreateNewsletterCampaign.Page_Load(Object sender, EventArgs e) +124
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +49
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
I'd try and debug, but it seems like I need visual studio 2010, which I don't have.
 
-Ferdy

comments

ferdyhoefakker wrote Jan 27, 2011 at 9:09 AM

Okay, problem solved by changing the way the lastcheck was formatted in the mailsettings.config. Changed it from mm/dd/yyyy to dd-mm-yyyy.

wrote Aug 31, 2011 at 9:21 PM

wrote Feb 13, 2013 at 7:52 PM