Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Unable to create a build

    Scheduled Pinned Locked Moved Support
    buildmastererrordeployments
    4 Posts 1 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      I'm getting the following error when creating a new build:

      System.ArgumentException: String was not recognized as a valid DateTime.Couldn't store <2012/10/15 10:36:10:AM> in DATE Column. Expected type is DateTime. ---> System.FormatException: String was not recognized as a valid DateTime.

      My deployment plan has one action which is to execute database change scripts. The change script executed without errors in the change script window.

      Call stack info:
      at System.Environment.get_StackTrace()
      at Inedo.BuildMaster.Diagnostics.Logger.DatabaseErrorMessenger.Inedo.BuildMaster.Diagnostics.IMessenger.Message(MessageLevels messageLevel, String messageOrFormat, Object[] args)
      at Inedo.BuildMaster.Diagnostics.Logger.Message(MessageLevels messageLevel, String messageOrFormat, Object[] args)
      at Inedo.BuildMaster.Windows.ServiceApplication.PlanExecuter.executionThread_Execute(Object execIdObj)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart(Object obj)

      Message:
      System.ArgumentException: String was not recognized as a valid DateTime.Couldn't store <2012/10/15 10:36:10:AM> in DATE Column. Expected type is DateTime. ---> System.FormatException: String was not recognized as a valid DateTime.
      at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
      at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
      at System.Data.Common.DateTimeStorage.Set(Int32 record, Object value)
      at System.Data.DataColumn.set_Item(Int32 record, Object value)
      --- End of inner exception stack trace ---
      at System.Data.DataColumn.set_Item(Int32 record, Object value)
      at System.Data.DataRow.set_Item(DataColumn column, Object value)
      at Inedo.BuildMaster.Templating.ActionPropertiesVariableReplacer.ToDataContext()
      at Inedo.BuildMaster.Templating.ActionPropertiesVariableReplacer.ApplyVariableReplacementsToActionProperties(ActionBase action)
      at Inedo.BuildMaster.Windows.ServiceApplication.PlanActionExecuter..ctor(DataRow buildExecActionExRow, ExecutionContext execContext)
      at Inedo.BuildMaster.Windows.ServiceApplication.PlanExecuter.executionThread_Execute(Object execIdObj)

      Please help as I cannot see what I'm doing wrong.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        What region is your server set to?

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Server locale was set to South Africa. I have changed to US and now it works. Do you plan to support regions other than US?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Yes we do support other regions, we will file this as a bug targeted for the next release. Thank you for the report.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation