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

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)

Related:

Virtual Apps 7.15 CU5: VDAs are not registering with Delivery Controller.

Virtual Apps 7.15 CU5: VDA is not registering with Delivery Controller.

VDA health assistant tool check will have following error:

Exception ‘Object reference not set to an instance of an object.’ of type ‘System.NullReferenceException’

Following registration event id is logged:

The registration request was rejected by DDC. CdsEventWorkerUnknownRegistrationError is logged in the traces. Reason is “internal error”

DDC CDF trace has following event:

XXXX,X,YYYY-MM-DD hh:mm:ss:xxxxx,xxxxx,xxxxx,x,BrokerComponent,,0,,1,Error,”IRegistrar.Register(S-x-x-xx-xxxxxxxxxx-xxxxxxxxx-xxxxxxxxx-xxxx): Exception System.DllNotFoundException: Unable to load DLL ‘CredentialSecurity.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Related:

Session Recording stopped due to insufficient Disk space. Events logged : Event ID 1004 (Citrix Session Recording Logging) and Event ID 2005 (Citrix Session Recording Storage Manager)

Description: The storage to save recordings ran out of available disk space.

Event ID : Event ID 1004 (Citrix Session Recording Logging)

The description for the event ID “1004” from the source “Citrix Session Recording Logging” was not found. Either the component that triggers this event is not installed on the local computer, or the installation is damaged. You can install or repair the component on the local computer.

If the event occurred on another computer, the display information had to be saved with the event.

The following information was saved with the event:

Exception caught while in unknown context. Exception caught by unhandled exception handler.

— Exception Details —

Type: System.Runtime.InteropServices.COMException

Message: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))

Stack trace:

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal (Int32 errorCode, IntPtr errorInfo)

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (Int32 errorCode, IntPtr errorInfo)

at System.Management.SinkForEventQuery.Cancel ()

at System.Management.ManagementEventWatcher.Stop ()

at System.Management.ManagementEventWatcher.Finalize ()

And

Event ID 2005 (Citrix Session Recording Storage Manager)

Data lost while recording file: E:SessionRecordings20191113i_e571b4cf-###-###-##########.icl

3779688 bytes missing.

Session Recording does not save even after the disk space is increased.

Related:

Virtual Apps 7.15 -VDA is unable to Register with DDC

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)

Related:

Upgrade Version 14.2 build 770

I need a solution

After upgrade to Version 14.2 build 770 (14.2.770.0000) 2 days ago, we are having a serious problem.
All the notebooks can’t communicate with SEPM servers, and in the SEPM console regardless of the group they belong to, seem to be offline although many of them are online

Running symdiag we receive details:

‘The client cannot comunicate with any of the confiured manager

port 8445 Protocol HTTPS  Response-Error:Exception from HRESULT : 0x80072FOC

port 443   Protocol HTTPS Error Timeout

All the SEPM servers – one of them DMZ are online

All the other workstations that are online can be seen in the SEPM console.

On the other side of the clients on which the SEP was installed appears the notification:” There is one problem – Memory Exploit Mitigation is disable Click Fix “even though MEM policies are disable
 
 
Click Fix – fix this problem but I need to be logged in as Admin

Please help me to solve this critical issue!

0

Related:

Citrix Server VDI : Failed to start wcf services. Exception object reference not set to an instance of an object

The following System.InvalidCastException is thrown as BrokerAgent starts up, creates our StartWorkerAgentThread, Initializes LaunchManager, and attempts to ConnectToStackControlCOMServer:

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)).

This is caused either by a missing StackController type library or by incorrect registry entries relating to the same.

Related:

7023022: Error after applying individual FTF via a share drive

This document (7023022) is provided subject to the disclaimer at the end of this document.

Environment

ZENworks Configuration Management 2017

Situation

After applying a dll or exe replacement for any ZENworks agent binary, error occurs on agent restart.

ERROR (in zmd-messages.log)
[Assembly.LoadFrom(C:Program Files (x86)NovellZENworksbinmodulesfilename.dll) threw exception during module loading
Type: System.IO.FileLoadException
Message: Could not load file or assembly ‘file:///C:Program Files (x86)NovellZENworksbinmodulesfilename.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Resolution

Unblock the exe or dll by right click / properties / security / Unblock. Restart the ZENworks Agent Service.

Cause

The problem is unrelated to the actual patch. Windows may block any dll or exe when copied remotely via a share. This won’t happen using bundle method to install the FTF.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.

Related:

mvscan – XML Control File Issues

My company uses mvscan to process nightly batches from field offices. These are tif files with ingestion driven by control file (set_metadata_types (“XML”) action). We have a program that creates the XML files nightly, grouped by file prefix (location #).

Occasionally, we are running into issues where we get the following error and the batch gets stuck in running:
***************************************************************************************
21:22:11.559 Cannot create lock file \vnx01094p00ECM_ScanshareMFP_ScanOpticalOP-W00222_2017_12_12_15_19_36_182.tif.lock
21:22:11.559 The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
***************************************************************************************
However, I can see the lock file getting created and this only ever happens on a corrupt image (But not every corrupt image). Sometimes I will also see this error in batches where it handles the error and keeps moving no issue.

What we see after this is concerning: The next batch will then pick up the same XML file, process the remaining files from that XML, then immediately pick up the next XML and process all of those files as well. Now we end up with files from two different XMLs co-mingling in one batch. Since we have set_max_docs set to 1, I am surprised that this could happen.

We have 700 distributed locations, so corrupt files will occasionally happen. Sometimes I see validation moving them to the error folder successfully as well.

Has anyone else experienced similar? If so, what would you suggest as a way to prevent this from occurring? It seems to me that even if there is a way around this from a configuration standpoint, perhaps this is also a bug in the mvscan module that should be corrected (allowing more than one xml in a single batch).

If set_move_wait_time is used, will it always wait the full duration for each file? If so, this wouldn’t work great for thousands of files.

I’m working with support on this as well, just running it down multiple avenues. Any feedback is much appreciated.

Version info:
mvscan v. 9.0.0.118
IBM Datacap 9.0.0.3
Build: v 9.0.0.72

Thanks.

Related:

Cannot read data file – AMOS

When I attempt to select a data file for either an existing SEM model or a new model, the data file cannot be opened and an error message is displayed. “Unable to load DLL ‘Amos.GraphicsU.dll’: The specified module could not be found. (Exception from HRESULT:0x8007007E)”

Currently using the AMOS 25 Trial version – wanted to test out before buying for my dissertation. Makes me kind of glad I did. Please advise. Thanks.

Related: