- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-29-2021 01:58 AM
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”
01-29-2021 02:27 AM
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
04-15-2021 05:05 AM
I also got the same issue and the NetPasswordSDK.dll file is in the same location but i am still getting the same error
04-15-2021 08:24 AM
This worked for me in CMD:
D:\CyberArk\ApplicationPasswordProvider\Utils>NETAIMGetAppInfo.exe GetHash /AppExecutablesPattern C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll
04-15-2021 08:53 AM
This command used to work for me before AAM upgrade, but after AAM upgrade to v12.0 i am getting this error.
04-15-2021 08:54 AM
@Niranga Nayanajith Are you still facing the error or is the issue has been resolved.
04-15-2021 09:03 AM
does it require .Net 4.8 maybe? do you have it?
could also try an update to 12.1
06-01-2021 11:57 AM
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.
06-15-2021 10:49 AM
@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.
07-08-2021 01:15 PM
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.
07-15-2021 02:37 PM
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".
07-16-2021 05:50 AM
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
07-16-2021 08:08 AM
Correct. My apologies for assuming if you are installing AIM Webservices you would see the "ApplicationPasswordSDK" folder and the new "NetPasswordSDK.dll".
07-21-2021 06:34 AM
I have upgraded to v12.1, but still i am facing the error
07-21-2021 07:30 AM
Yes It worked for me after replacing the NetPasswordSDK.dll file from ApplicationPasswordSdk folder to the \ApplicationPasswordProvider\Utils folder
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!

