Consider the following scenario:
You try to create new environment using Microsoft Test Manager and gets an error TF260095: Team Foundation Server could not find virtual machine or template from SCVMM. It might have been deleted. Try again or contact your administrator. (type VMDeployerObjectNotFoundException)
Same error you get while using other templates or even with new template.
Complete error message:
Exception Message: TF260095: Team Foundation Server could not find virtual machine or template from SCVMM. It might have been deleted. Try again or contact your administrator. (type VMDeployerObjectNotFoundException)
Exception Stack Trace: at Microsoft.TeamFoundation.Lab.Controller.Common.VMManager.GetTemplateObject(Guid templateId)
at Microsoft.TeamFoundation.Lab.Controller.Common.VMManager.GetVMBaseObject(Guid id)
at Microsoft.TeamFoundation.Lab.Execution.LabEnvironmentOperation.DisassociateLSFromSource(Object lo)
Inner Exception Details:
Exception Message: 801: VMM cannot find Template object .
(type LabCmdletFailureException)
Exception Stack Trace: at Microsoft.TeamFoundation.Lab.Controller.VirtualMachineManagerInterface.LabMonadUtilities.CheckAndFireOnErrors(ErrorInfo cmdletError)
at Microsoft.TeamFoundation.Lab.Controller.VirtualMachineManagerInterface.VmmUtilities.FindTemplateById(VMMConnection activeConnection, Guid id)
at Microsoft.TeamFoundation.Lab.Controller.Common.VMManager.GetTemplateObject(Guid templateId)
}
You try to create new environment using Microsoft Test Manager and gets an error TF260095: Team Foundation Server could not find virtual machine or template from SCVMM. It might have been deleted. Try again or contact your administrator. (type VMDeployerObjectNotFoundException)
Same error you get while using other templates or even with new template.
Complete error message:
Exception Message: TF260095: Team Foundation Server could not find virtual machine or template from SCVMM. It might have been deleted. Try again or contact your administrator. (type VMDeployerObjectNotFoundException)
Exception Stack Trace: at Microsoft.TeamFoundation.Lab.Controller.Common.VMManager.GetTemplateObject(Guid templateId)
at Microsoft.TeamFoundation.Lab.Controller.Common.VMManager.GetVMBaseObject(Guid id)
at Microsoft.TeamFoundation.Lab.Execution.LabEnvironmentOperation.DisassociateLSFromSource(Object lo)
Inner Exception Details:
Exception Message: 801: VMM cannot find Template object .
(type LabCmdletFailureException)
Exception Stack Trace: at Microsoft.TeamFoundation.Lab.Controller.VirtualMachineManagerInterface.LabMonadUtilities.CheckAndFireOnErrors(ErrorInfo cmdletError)
at Microsoft.TeamFoundation.Lab.Controller.VirtualMachineManagerInterface.VmmUtilities.FindTemplateById(VMMConnection activeConnection, Guid id)
at Microsoft.TeamFoundation.Lab.Controller.Common.VMManager.GetTemplateObject(Guid templateId)
}