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!

    Service failed to start after server restart and BM deploy

    Scheduled Pinned Locked Moved Support
    2 Posts 2 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.
    • T Offline
      testing.avram1_6229
      last edited by

      I have an application which I am deploying on my home Windows server through BuildMaster and lately an error occurs while deploying. Mostly the error is when I restart the server and after several minutes the error seems to disappear when deploying again. The problem occurs while services are stopping. Also some of the services are not started at server start
      I have tried adding permissions, no luck.

      Stopping service CustomerHost... 
      An unhandled exception occurred while executing this action: System.IO.FileNotFoundException: Could not load file or assembly 'Windows' or one of its dependencies. The system cannot find the file specified. 
      File name: 'Windows'    
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClient.RunJob(ITcpAgentCommand command, Action`2 log)    
      at System.Threading.Tasks.Task`1.InnerInvoke()    
      at System.Threading.Tasks.Task.Execute()
      --- End of stack trace from previous location where exception was thrown ---    
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Inedo.TaskExtensions.Result[TResult](Task`1 task)   
       at Inedo.Agents.RemoteJobExecuter.ExecuteJob(IRemoteJobExecuter jobExecuter, RemoteJob job)    
      at Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args)    
      at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)
      
      Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll Running under executable  C:\BuildMasterAgent\Agent\bmtcpagent.exe
      --- A detailed error log follows. 
      
      
      === Pre-bind state information === LOG: DisplayName = Windows  (Partial) 
      WRN: Partial binding information was supplied for an assembly: 
      WRN: Assembly Name: Windows | Domain ID: 1 
      WRN: A partial bind occurs when only part of the assembly display name is provided. 
      WRN: This might result in the binder loading an incorrect assembly. 
      WRN: It is recommended to provide a fully specified textual identity for the assembly, 
      WRN: that consists of the simple name, version, culture, and public key token. 
      WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. 
      LOG: Appbase = file:///C:/BuildMasterAgent/Agent/ 
      LOG: Initial PrivatePath = NULL Calling assembly : InedoLib, Version=521.0.0.0, Culture=neutral, PublicKeyToken=********.
      === 
      LOG: This bind starts in default load context. LOG: Using application configuration file: C:\BuildMasterAgent\Agent\bmtcpagent.exe.Config 
      LOG: Using host configuration file:  
      LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. 
      LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). 
      LOG: Attempting download of new URL file:///C:/BuildMasterAgent/Agent/Windows.DLL. 
      LOG: Attempting download of new URL file:///C:/BuildMasterAgent/Agent/Windows/Windows.DLL. 
      LOG: Attempting download of new URL file:///C:/BuildMasterAgent/Agent/Windows.EXE. 
      LOG: Attempting download of new URL file:///C:/BuildMasterAgent/Agent/Windows/Windows.EXE. Action Group 0: All Deployables 
      Action 0:  Custom Variables: (none) 
      Initializing server 2... 
      Server ShoppingServer (ID: 2) initialized.
      
      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @testing-avram1_6229,

        Can you please tell me what version of BuildMaster you are using and what version of the BuildMaster agent you have installed? Also, if you change the BuildMaster agent to a Delayed Start instead of an Automatic start on your remote server, do you see the same issue?

        Thanks,
        Rich

        Products Engineer, Inedo

        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