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!

    Error Running Database Change Scripts

    Scheduled Pinned Locked Moved Support
    databasesbuildmaster
    3 Posts 1 Posters 6 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

      I am getting the following error with executing database change scripts. My database connections are set, active, tested, and initialized. I tested executing a script through the SQL Change Scripts window, and that also worked. Any suggestions on how to proceed?

      Thanks,
      Matthew

      An unhandled exception occurred while executing this action: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: providerId at Inedo.BuildMaster.Util.Providers.CreateProviderFromId(Int32 providerId, Boolean createProxy) at Inedo.BuildMaster.Util.Actions.<>c__DisplayClass13.<GetAgentInterfacesRequiredForAction>b__11(Type t) at Inedo.Linq.Enumerable.<>c__DisplayClass212.<Select>b__20(TSource item, Int32 i) at Inedo.Linq.Enumerable.<SelectYield>d__232.MoveNext() at Inedo.Linq.Enumerable.FirstImpl[TSource](IEnumerable1 source, Func1 empty) at Inedo.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at Inedo.BuildMaster.Util.Actions.GetAgentInterfacesRequiredForAction(ActionBase action) at Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteActionExecuterBase.remoteAction_InitializeRemoteConfiguration(Object sender, RemoteConfigurationEventArgs e) at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.<.ctor>b__0(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteOnce()

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

        Can you double-check that the action isn't referencing a provider that was deleted and re-added? If you're not sure, just re-save the action selecting the correct provider name. At the moment that's the only way I could imagine that error would occur.

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

          Yes, deleting and readding the action step fixed this bug. I should have tried that, I suppose. Thanks!

          Matthew

          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