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



  • 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()



  • 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.



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

    Matthew



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation