000017133 - RKM Client: kmclient.dll can't be found ('The specified module could not be found')

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000017133
Applies ToRSA Key Manager Client
Windows
IssueRKM Client: kmclient.dll can't be found ("The specified module could not be found")
The KMSInit call fails because kmclient.dll can't be found ("The specified module could not be found").
In a Web application, it fails even though kmclient.dll is in both the bin folder and at the root of the Web application.
System.DllNotFoundException: Unable to load DLL(kmclient.dll)
Resolution

For a Web application:

A Google search for "IIS web application put DLL" (http://www.google.com/search?q=IIS+web+application+put+DLL&hl=en&start=10&sa=N) finds

Where to put .NET shared DLL's

http://www.velocityreviews.com/forums/t90045-where-to-put-net-shared-dlls.html

which says to put them in the bin directory or to register them inthe Global Assembly Cache.

This is a general problem with the .NET Web application, not specific to RKM.


If you are running a console application that is started by a Windows shortcut, make sure that the Start in: property specifies the folder where kmclient.dll is located.
Legacy Article IDa42344

Attachments

    Outcomes