000021406 - SD_ApiInit() returns result code 2012

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 Number000021406
Applies ToRSA ACE/Server 5.2 Administration API
Microsoft Windows Server 2003
Microsoft Windows 2000
UNIX
IssueSD_ApiInit() returns result code 2012
CauseThe Sd_ApiInit() result code 2012 states that Administrator credentials were required to be able to connect to the ACE/Server database; this means an apidemon.ini file has been read by the custom application, which has a setting of REQAUTH=TRUE
ResolutionIn some situations, it is not always obvious which directory the apidemon.ini file will be loaded from. For example, on a Windows system, if you wrap your ACE/Server administration functions as a COM object, it is likely the system will set the load directory to be %SYSTEMROOT%\SYSTEM32.

For more information on how to perform an administrative login prior to calling the Sd_ApiInit() function, see details on the Sd_AdmLogin() and Sd_AdmContinueLogin() functions in the RSA ACE/Server 5.2 Administration Toolkit Reference Guide.
Legacy Article IDa22813

Attachments

    Outcomes