VDA is unable to Register with DDC with error: Failed to start WCF services

VDA is unable to Register with DDC with error: Failed to start WCF services

book

Article ID: CTX255201

calendar_today

Updated On:

Description

Server VDA machine does not get registered. Following Error is thrown on the  VDA Event viewer 
 

Error details:

Failed to start WCF services. Exception 'Object reference not set to an instance of an object.' of type 'System.NullReferenceException'

COM component was unable to Load StackManager.ConnectToStackControlComServerAndVerify: COM exception System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Citrix.StackControlService.StackControl'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{BEE5F9CD-A777-47C7-BA5A-CDD82FFEC4D8}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). at Citrix.Cds.BrokerAgent.AgentToStack.ConnectToStackControlCOMServer() at Citrix.Cds.BrokerAgent.StackManager.ConnectToStackControlComServer(StackCapabilities& actualStackCapabilities, Int32 retryCount)

Resolution

Replace the C:\Program Files\Citrix\Virtual Desktop Agent\ IStackControlCallback.tlb to the folder C:\Program Files\Citrix\ICAService and check if this works.

If the above steps fails, the OS image is corrupt and will need to be rebuilt.

Problem Cause

This issue is caused due to  COM  component  is not available or not Loaded.