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!

    Bug: Application Settings → All Settings 500s on every application — 2025.15 (Build 2) /applications/<id>/settings returns 500 for every application, including freshly created ones:

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 5 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.
    • B Offline
      brad.zinser
      last edited by

      The conversion could not be completed because the supplied DateTime did not have the Kind
      property set correctly. … (Parameter 'sourceTimeZone')

      at System.TimeZoneInfo.ConvertTime(DateTime, TimeZoneInfo, TimeZoneInfo, TimeZoneInfoOptions, CachedData) at System.TimeZoneInfo.ConvertTimeFromUtc(DateTime dateTime, TimeZoneInfo destinationTimeZone) at Inedo.BuildMaster.Web.WUtil.FormatUtcDateTime(Nullable`1 dateTime, DateTimeFormat format) at ...ApplicationAllSettingsPage.g__getCiRow|1(SecureResources, SecureResource, CIProject, Boolean) at ...ApplicationAllSettingsPage.GetConnectionsTableAsync() at ...ApplicationAllSettingsPage.CreateChildControlsAsync()

      The throw is in the CI-connection row renderer: a stored date reaches ConvertTimeFromUtc with Kind=Local, which throws unconditionally, so no user or instance time-zone setting can work around it. This page appears to be the only UI route that reads/edits an application's CI project connection, so the defect blocks managing that connection entirely.

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @brad.zinser
        last edited by

        Hi @brad.zinser ,

        I'm having a bit of a hard time reproducing this or figuring out how this might be possible.

        What kind of CI do you have set-up? Did you configure anything via the API? If so, would you be able to share the XML used for the underlying Secure Resource (it's in the SecureResources table if you're poking around in the Database)?

        You can also go to Admin > Secure Resources to get a more "raw" view of this.

        As an FYI, here's the code where it's failing:

        38a275e7-8e5f-4062-992c-61405d435dee-image.jpeg

        However, that property (project.LastSync) is set in exactly one place (project.LastSync = DateTime.UtcNow;), so it doesn't make a lot of sense to me.

        Let us know what you find!

        -- Dean

        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