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!

    On production BM server when we try to deploy the build is failing

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 7 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.
    • A Offline
      aleksandarsh_4585
      last edited by

      When we try to deploy a new build we get an error message:

      25d1c6a5-6a46-40f9-8db9-ee27f966ebaf-image.png

      Please check the whole error message below.

      Unhandled exception: System.InvalidOperationException: The ConnectionString property has not been initialized.
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClient.RunJob(ITcpAgentCommand command, Action2 log) at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.Inedo.Agents.IRemoteMethodExecuter.InvokeMethodAsync(MethodBase method, Object instance, Object[] parameters) at Inedo.Agents.RemoteMethodExecuter.InvokeFunc[TResult](IRemoteMethodExecuter agent, Func1 method)
      at System.Lazy1.CreateValue() at System.Lazy1.LazyInitValue()
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.<.ctor>b__7_1()
      at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at Inedo.BuildMaster.Extensibility.Agents.LegacyRemoteFileOperationsExecuter.GetBaseWorkingDirectoryAsync() at Inedo.Agents.FileOperationsExecuter.GetBaseWorkingDirectory(IFileOperationsExecuter agent) at Inedo.BuildMaster.Extensibility.Agents.AgentExtensions.GetExecutionBaseDirectory(IFileOperationsExecuter agent, IGenericBuildMasterContext context) at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.BuildMasterExecutionContext.DetermineWorkingDirectory() at System.Lazy1.CreateValue()
      at System.Lazy`1.LazyInitValue()
      at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.BuildMasterExecutionContext.ResolvePath(String path)
      at Inedo.BuildMaster.Extensibility.Operations.Artifacts.DeployArtifactOperation.<ExecuteAsync>d__42.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__25.MoveNext()

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        Hmm... that's odd. I don't know. Could be a regression in the Legacy BuildMaster agent, or an unrelated problem.

        Can you just upgrade it to the Inedo Agent?

        https://inedo.com/support/kb/1039/comparison-of-buildmaster-agents

        1 Reply Last reply Reply Quote 0
        • A Offline
          aleksandarsh_4585
          last edited by

          We have tried to downgrade the agent on one server in order to check whether that will resolve the issue.
          We have the old agent installation on the server so we have uninstalled the agent which we think that is upgraded and installed the agent with the version from the BM server but we get new error message.
          Can you please check the error message and advise.

          e515293d-a693-480a-b7dc-036589ed3195-image.png

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            aleksandarsh_4585 @aleksandarsh_4585
            last edited by

            I just want to let you know that our BM and the re-installed agent from the server got the communication and the build passed successfully. So we can close this issue. Thanks a lot for the fast answers.

            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