Object error when using SDK during application execution
Description:
This article describes errors you may receive during application runtime if the necessary SDK libraries have not been properly registered with the system.
PRODUCTS
SAFauthenticator SDK 1.0
INFORMATION
When running an application that includes SAFauthenticator SDK code, you may receive an error similar to this (VBScript error sample):
Windows Script Host
Script: C:\SDK_sample\test.vbs
Line: 6
Char: 1
Error: ActiveX component can't create object: 'safsolauth.SAFsolution.Authenticator'
Code: 800A01AD
Source: Microsoft VBScript runtime error
The above error references a function method available in the SAFsolution SDK library and indicates this library is unavailable. To resolve this error, make sure you have properly registered the library with the system by invoking the following command:
(This command assumes the SAFauthenticator SDK is installed in its default path, in your C drive.)
regsvr32 "C:\Program Files\Saflink Corporation\SAFauthSDKv1\bin\safsolauth.dll"
For the SAFmodule SDK library, replace safsolauth.dll above with safmodauth.dll.
ADDITIONAL INFORMATION
All required libraries are registered with the system during installation of the SAFauthenticator SDK. If you are testing or distributing your custom application to a different system, make sure you include the required library files from the SAFauthenticator SDK's 'bin' folder with your software, and that these are registered properly as described below.
Also, please keep in mind the above is provided as a reference and the exact error or behavior may vary, depending on programming environment used, as well as any error-handling functionality you may incorporate into your custom application.
Keywords:
sdk safauthenticator safauth software development kit safsolution safmodule error libraries register object