大网数据广告活动
启动与系统组件

Starting a new VMM job fails with error 2606

· 52CE 我爱测

Fixes an issue in which you can't start a new job in System Center Virtual Machine Manager (VMM) and receive error 2606.

This article fixes an issue in which you can't start a new job in System Center Virtual Machine Manager (VMM) and receive error 2606.

Original product version:   System Center Virtual Machine Manager
Original KB number:   2795040

Symptoms

When starting a new job in System Center Virtual Machine Manager, the following error may be generated:

Error (2606)
Unable to perform the job because one or more of the selected objects are locked by another job.

Recommended Action
To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.

A VMM trace will show lines similar to the following:

48412,04:24:10.457 02-10-2014,0x097C,0x05BC,4,CarmineObjectLock.cs,822,0x00000000,CarmineObjectLock; Task <Task ID 1> Failed Acquiring Delete lock on VM object with ID <Object ID> because Task <Task ID 2> has Write lock,{00000000-0000-0000-0000-000000000000},1,

Cause

This error is caused by locked records in the VMM database due to another job placing a lock on the objects that this job is attempting to access. This is by design.

Resolution

To see what object locks currently exist, use the following VMM database query:

SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'

If any records are present, make a backup of the database and run the command:

DELETE FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'

For example (from the error above):

DELETE FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='<Task ID 2>'

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/09/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。