PSM-ADUC Connection component is throwing error Dispatcher error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PSM-ADUC Connection component is throwing error Dispatcher error

We are trying to integrate PSM connector for Microsoft Active Directory Users and Computers Management Console in our environment, available at CyberArk Marketplace

(https://community.cyberark.com/marketplace/s/#a352J000000eHDrQAM-a392J000003BS5RQAW)

After importing, when I try to launch this connection, I get below error -

PSMGeneriClientWrapper Error : Failed to load DLL

D:\Program Files (x86)\CyberArk\PSM\Components\PSMDispatcherUtils.dll

I have already checked ShadowUser permission, tried modifying the PSMAppConfigureAppLocker.xml and rerunning AppLocker script and all possible solutions that could help with this error but all of no use.

 

Has anyone made it work successfully?

11 REPLIES 11

L6 Presenter

Considering your installation is in the D drive, have you confirmed that the PSMDispatcherUtils.dll entry in AppLocker (if it's there), points to the right path for you and not the default C drive?

 

And ensure that the connection component in the PVWA points to all the right paths for your case (D drive)

Yes, its pointing towards right path.

L4 Transporter

Hi @Himanshu Prahari​ 

 

I have encountered the same error previously, this was following a PSM Upgrade so not starting from the beginning like you have, I will share below steps taken to resolve the issue, hopefully this will apply to you also.

 

System Variables...

 

  1. On the PSM Server, go to the "Environment Variables" and within the System Variables, double click on Path
  2. Move the PSM\Components Path to the top.

 

This should ensure that when searching for .exe & .dll's, the system will find the version of the file in PSM\Components directory before others.

 

Rename dll's...

 

  1. Check to see if the following dll's are in the "Windows" directory.
    1. ssleay32.dll 
    2. libeay32.dll
  2. If they are, rename these - This will ensure that PSM will not look in this directory for the dll's but should instead look within the PSM Components folder instead.

 

Hope this helps

 

Thanks

 

Michael

 

 

 

 

 

 

 

 

Thanks a lot, this suggestion helped to move forward from the PSMGeneriClientWrapper Error : Failed to load DLL error.

 

However, then I encountered another error - 'An attempt was made to reference a token that does not exist', for which I came across this article - ( https://community.cyberark.com/s/article/PSM-ADUC-connector-displaying-An-attempt-was-made-to-refere... ), I thought this will be it and now session would launch.

 

But now the session fails without any error. I initiate session, then I get a little message that says 'Initializing', I also get pop up that says 'You are being recorded' and then suddenly the session window disappears.

Interesting enough, the Console log, Trace log or Component logs...show no information which would help, its like as if nothing has happened.

 

In event however, I see this event - 'PSMPP097E Call to CreateVirtualChannel of the wrapped Protocol Connection failed with code: 2147944165', but no resolution is available on this it seems.

Hi @Himanshu Prahari​ 

 

Interesting that you are getting the message to saying "You are being recorded" and then disappears.

 

My first thought and you may have done this already but have you tried putting AppLocker in Audit Mode?

 

Thanks

 

Michael

Hi @Michael C L McAughey​ 

 

Yes, I tried that.

After putting it in Audit Mode, I don't get the 'You are being recorded' message, however the behavior is same. After a little 'Initializing' message the session window disappears.

 

Thanks,

Himanshu

Hi @Himanshu Prahari​ 

 

I thinking you should get some sort of error if it fails, can I ask if you have the feature RemoteApp enabled? please see screenshot below but this would apply if you are not going through the HTML5 GW.

 

Field_Content_versions_oct20__068Vy00000NmC0AIAV.png 

 

If it is enabled, turn it off, restart the PSM Service and try again.

 

Other than that, we will need to start looking deeper at generated logs to give us an Idea, In this case I would recommend raising a ticket with support and uploading the x-ray logs for deeper investigations.

 

If you are not familiar with the X-Ray, please see below link, this has the tool and demonstrates how to use it.

 

X-Ray - https://community.cyberark.com/marketplace/s/#a352J000000ptyOQAQ-a392J000001h53gQAA

 

Lastly, before you generate the logs, I would personally ensure you have all Trace Levels enabled, once these are enabled, restart the PSM Service, see below on where these are set, once you have finished return the Trace Levels to 0

 

Go to Administration -> Options -> Privileged Session Management -> General settings and set the following:

*Server settings, TraceLevels 1,2,3,4,5,6,7

*Recorder Settings, TraceLevels=1,2

*Connection client settings, TraceLevels=1,2

 

Thanks

 

Michael

 

 

 

Hi @Michael C L McAughey​ 

 

The settings seem to be all fine, I have reverified.

Unfortunately, no log file is capturing any relevant information related to the logs...because session just vanishes.

 

I have raised a Support Case, hopefully I would get some resolution on it.

Hello,

 

Have you heard back from support? I'm having the same problem.

I managed to find a workaround for it by myself.

The PSM Connector package available at (https://community.cyberark.com/marketplace/s/#a352J000000eHDrQAM-a392J000003BS5RQAW) has some problem and does not work, at-least not in my environment.

I came across another PSM Connector package for same AD tools at (https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU) and this worked for me.

 

However the details says that it is for Privileged Cloud but for On-prem below links are helpful -

 

https://community.cyberark.com/s/article/Quick-Wins-on-Protecting-Active-Directory-Credentials-with-CyberArk-PAM-Privilege-Session-Manager-PSM

https://community.cyberark.com/s/question/0D5Ht0000ABrmuaKQB/microsoft-active-directory-users-and-computers-management-console-developed-by-cyberark-psm-plugin

https://medium.com/@leo.magallon/quick-wins-on-protecting-active-directory-credentials-using-cyberark-privilege-session-manager-a2fd005dadb4

@Himanshu Prahari​ 

 

This is how I solve it too, thank you very much.

 

Field_Content_versions_oct20__068Vy00000PfFoCIAV.png

  • 497 Views
  • 11 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!