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!

Intermittent error with Ensure Application Pool



  • I am getting an intermittent Unhandled Exception error for Ensure Application Pool when it gets to it's step of Applying Configuration. This is using all of the same property values, same server, same time of day it's run nightly but it will fail with this error intermittently. It will also occur intermittently when run it manually.

    This app pool does previously exist in the environment this error occurs in. At this time I cannot move to a new environment to see if it occurs there.

    I've been unable to find any other reason for this error, the server is not down - several steps prior to this one succeed on the same server, no event log errors on the server of any kind.

    Here is the error info:

    Applying configuration...
        Unhandled exception: System.Runtime.InteropServices.COMException (0x800710D8): The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at Inedo.Agents.InedoAgentClientBase.<SendMessageAsync>d__28.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.Agents.InedoAgentClientBase.<ExecuteCommandAsync>d__26`1.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.Extensibility.Agents.TcpAgent.<Inedo-Agents-IRemoteJobExecuter-ExecuteJobAsync>d__34.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.Extensibility.Operations.RemoteExecuteOperation.<ExecuteAsync>d__5.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()
    

    Thanks.

    Product: BuildMaster
    Version: 5.6.11



  • Unfortunately it's a bug in IIS/COM API Library. There is no resolution, it "just happens" sometimes.

    On some servers, especially older ones, it seems to happen more frequently. Rebooting tends to fix more persistent ones.

    if it's an issue, then just put in a retry loop with a timeout.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation