General

General

How to fix WB project when error about invalid date is given, like: System.FormatException: String was not recognized as a valid DateTime?

    • FAQFAQ
      Participant

      This error can occur when a WB project including BladeGen is setup on a non-English operating system and then transferred to an English operating system. The error message then only contains this line, which points to the Blade Design: — Ansys.Core.DataModel.DataObjects.Persistence.DataObjectPersistenceException: Error reading data object /Blade Design/TurboGeometryProperties:Blade Design Source: Value 01.01.0001 00.00.00 is not valid for field LastModified. String was not recognized as a valid DateTime. The issue is about the wrong entry Value 01.01.0001 00.00.00 for the date. This can be corrected in the file designPoint.wbdp of the WB project. Search for the wrong entry “LastModified”: “01.01.0001 00.00.00” and replace it with a correct one, like: “LastModified”: “01.01.0001 00:00:00” Then re-open the WB-project.