SCVMM 2008 R2–Error 2912 – An internal error has occurred trying to contact an agent

I love the “unknown” error things but as all of us know you can NOT handle all error conditions within application coding. Therefore I would like to provide here an possible resolution which you need to confirm if it applies to your environment.

I faced this error and did some research and found out that this could also be related to BITS (Background Intelligent Transfer Service). BITS is being used excessively by VMM for file transfers.

Error (2912)
An internal error has occurred trying to contact an agent on the vmmmserver.yourdomain.com server.
(Unknown error (0x80041001))

Recommended Action
Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.

Possible fix:

import-module BitsTransfer
Get-BitsTransfer -AllUsers

Check for the output if you see any BITS jobs which are not owned by "NT AUTHORITY\SYSTEM" and have status "Suspended".

To delete the failed/corrupt BITS job you need to run:
import-module BitsTransfer
$AllJobs = Get-BitsTransfer -AllUsers
Remove-BitsTransfer -BitsJob $AllJobs

You will receive an "Access Denied" but this is ok as SYSTEM owned jobs cannot be deleted:

Remove-BitsTransfer : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

image

List of known issues for Background Intelligent Transfer Service (BITS)
http://support.microsoft.com/kb/331716/en-us

Tags: , ,

4 Responses to “SCVMM 2008 R2–Error 2912 – An internal error has occurred trying to contact an agent”

  1. Microsoft Most Valuable Professional (MVP) – Best Posts of the Week around Windows Server, Exchange, SystemCenter and more – #21 - TechCenter - Blog - TechCenter – Dell Community Says:

    […] SCVMM 2008 R2–Error 2912 – An internal error has occurred trying to contact an agen… by Ravikanth Chaganti […]

  2. Microsoft Most Valuable Professional (MVP) – Best Posts of the Week around Windows Server, Exchange, SystemCenter and more – #21 - Dell TechCenter - TechCenter - Dell Community Says:

    […] SCVMM 2008 R2–Error 2912 – An internal error has occurred trying to contact an agen… by Ravikanth Chaganti […]

  3. Server King » Dell’s Digest for March 25, 2013 Says:

    […] SCVMM 2008 R2–Error 2912 – An internal error has occurred trying to contact an agen… by Ravikanth Chaganti […]

  4. Lola Says:

    This blog was… how do I say it? Relevant!! Finally I’ve found something that helped me. Cheers!