AGINT006E A problem occurred while trying to complete hash calculation. Reason: Could not load file or assembly 'NetPasswordSDK, Version=12.0.0.0, Culture=neutral, PublicKeyToken=40be1dbc8718670f' or one of its dependencies. The system cannot find the fil

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

AGINT006E A problem occurred while trying to complete hash calculation. Reason: Could not load file or assembly 'NetPasswordSDK, Version=12.0.0.0, Culture=neutral, PublicKeyToken=40be1dbc8718670f' or one of its dependencies. The system cannot find the fil

L4 Transporter

I am getting the above error when I tried to get the hash from the below command;

 

NETAIMGetAppInfo.exe GetHash /AppExecutablesPattern=”C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll”

18 REPLIES 18

L0 Member

check if the NetPasswordSDK.dll file is in the same folder as the NETAIMGetAppInfo.exe

 

If it isn't, place it in the same folder. , then run the command again

L2 Linker

I also got the same issue and the NetPasswordSDK.dll file is in the same location but i am still getting the same error

L4 Transporter

This worked for me in CMD:

D:\CyberArk\ApplicationPasswordProvider\Utils>NETAIMGetAppInfo.exe GetHash /AppExecutablesPattern C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll

This command used to work for me before AAM upgrade, but after AAM upgrade to v12.0 i am getting this error.

L2 Linker

@Niranga Nayanajith​  Are you still facing the error or is the issue has been resolved.

does it require .Net 4.8 maybe? do you have it?

could also try an update to 12.1

L4 Transporter

Hi all,

I also had the same issue after upgrading CCP from 11.7 to version 12.

I used to run the old version of NETAIMGetAppInfo.exe (11.7) to calculate the hash for the new AIMWebservice.dll file. 

@Mustapha EL HACHIMI​ @Datta Pynda​ @Balazs Racz​ @Niranga Nayanajith​ I am facing exact same error, did you all find it? Please advise what troubleshooting steps you took to over come? Thanks.

L0 Member

I just had the same issue happen upgrading to 12.1 from 11.5. after reading this thread I had a thought and renamed the current 12.1 version of NETAIMGetAppInfo.exe by adding the word "new" in the name. Then copied the older 11.5 version over and them reran the command and it worked and gave me the hash. After I got the hash renamed 11.4 with the word old in it and the 12.1 I returned to its original name.

L2 Linker

The problem is in the error message, "Could not load file or assembly 'NetPasswordSDK, Version=12.0.0.0". Your "NETAIMGetAppInfo.exe" file version is mismatched from the "NetPasswordSDK.dll".

L4 Transporter

Hi all,

 

The error massage is clear. But the solution not so.

To fixe this issue after upgrading to AAM 12.1, copy the dll version 12.1 from the ApplicationPasswordSdk folder to the \ApplicationPasswordProvider\Utils folder.

Then rerun hash calculation command.

 

BR

 

Correct. My apologies for assuming if you are installing AIM Webservices you would see the "ApplicationPasswordSDK" folder and the new "NetPasswordSDK.dll".

I have upgraded to v12.1, but still i am facing the error

Yes It worked for me after replacing the NetPasswordSDK.dll file from ApplicationPasswordSdk folder to the \ApplicationPasswordProvider\Utils folder

  • 1879 Views
  • 18 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!