Copied to clipboard

Flag this post as spam?

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


  • Bex 444 posts 555 karma points
    Feb 28, 2012 @ 16:20
    Bex
    0

    String was not recognized as a valid DateTime

    Hi

    I had an existing 4.5.2 site that already uses membership and I wanted to use nForum so I upgraded it to 4.7.1.

    The site seems to be working find and nForum seemed to install ok.
    I have added a forum node on the root of the site but there is something wrong. The forum home page shows but If I click in "Topic you participated in" or "Edit Profile" or if I add a forum category in the back end and try to click on it I get this error:

    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) +10264970
       System.Convert.ToDateTime(String value) +83
       nForum.BusinessLogic.Models.ForumMember..ctor(Nullable`1 memberId) +879
       nForum.BusinessLogic.MembershipHelper.ReturnMember(Nullable`1 memberid) +97
       nForum.BusinessLogic.BaseForumUsercontrol.get_CurrentMember() +36
       nForum.usercontrols.nForum.ForumParticipatedTopics.ShowActiveTopics() +43
       nForum.usercontrols.nForum.ForumParticipatedTopics.Page_Load(Object sender, EventArgs e) +36
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +18
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3488
    
    I'm not sure where to check to see what I've done wrong as it could be the upgrade of the nforum or both?
    Any help would be much appreciated?
    Bex

     

     

     

  • Bex 444 posts 555 karma points
    Feb 28, 2012 @ 17:08
    Bex
    0

    Worked out why this is happening.. nothing to do with the upgrade.. 

    see this question: http://our.umbraco.org/projects/website-utilities/nforum/general/29240-Working-with-pre-existing-site-members

  • Lee 1130 posts 3088 karma points
    Feb 28, 2012 @ 19:46
    Lee
    0

    Glad you fixed it

  • SebB 1 post 21 karma points
    Sep 13, 2013 @ 07:24
    SebB
    0

    I made a clean install of umbraco 6.1.5.  I install nforum 16.  Everything is fine until I make one category.  I get the same error as above.  When I remove the category the error goes away.  Could you help?

     

    Thanks,

    Seb

  • Lee 1130 posts 3088 karma points
    Sep 13, 2013 @ 16:10
    Lee
    0

    nForum v1.6 does not support v6 of umbraco. v1.7 of nForum will be released later today which supports it.

Please Sign in or register to post replies

Write your reply to:

Draft