Share via


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)
https://support.microsoft.com/kb/331716/en-us

Comments

  • Anonymous
    April 23, 2013
    This blog was... how do I say it? Relevant!! Finally I've found something that helped me. Cheers!