Copied to clipboard

Flag this post as spam?

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


  • Johan 188 posts 380 karma points
    Jun 21, 2011 @ 12:06
    Johan
    0

    Changing language for user generates error

    When changing from English (uk) to Swedish for a user i get the attached error message when trying to access an area with named user where the image cropper is used. I'm using Image Cropper 0.95 an Umbraco 4.0.4.1.

     

    Server Error in '/' Application.

    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) +2844850
       System.Convert.ToDateTime(String value) +98
       Kenny.Umbraco.DataTypes.ImageCropper.DataEditor.OnInit(EventArgs e) +2343
       System.Web.UI.Control.InitRecursive(Control namingContainer) +333
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +198
       System.Web.UI.ControlCollection.Add(Control child) +80
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\editContent.aspx.cs:352
       System.Web.UI.Control.InitRecursive(Control namingContainer) +333
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
    



    Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420

     

  • Martin 18 posts 73 karma points
    Sep 20, 2011 @ 10:01
    Martin
    0

    i get the same error, but only one one document type!

     

    help!

  • Thomas Kahn 602 posts 506 karma points
    Oct 18, 2011 @ 09:43
    Thomas Kahn
    0

    I can verify this error and I get it in Umbraco 4.7.1 when I add an image cropper to the acutal image media type.

    To reproduce it, go through the following steps:

    1. Add an image cropper to the image media type.
    2. While logged in as a user with the language set to English(uk), upload an image an generate the crops.
    3. Alter the language for the user to Swedish and log out, then log in again.
    4. Go to the media section and try editing one of the images. The error you get is the one described above.

    The only solution I've found so far is sticking to the English (uk) language setting for the user.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 18, 2011 @ 09:45
  • Thomas Kahn 602 posts 506 karma points
    Oct 18, 2011 @ 10:09
    Thomas Kahn
    0

    Hi Jeroen!

    Thanks for referring me to the codeplex issue! I have now voted for it.

    /Thomas

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Dec 22, 2011 @ 14:27
    Jeroen Breuer
    0

    Looks like it will be fixed in Umbraco 4.7.1.1 http://umbraco.codeplex.com/workitem/30273.

    Jeroen

  • Osman Coskun 164 posts 398 karma points
    Nov 23, 2013 @ 23:57
    Osman Coskun
    0

    I have the same error while trying to create a data type or document typre with the user back-office language Turkish.

    Any advice?

Please Sign in or register to post replies

Write your reply to:

Draft