|Applies To||RSA ACE/Server 5.2 Administration API|
Microsoft Windows Server 2003
Microsoft Windows 2000
|Issue||SD_ApiInit() returns result code 2012|
|Cause||The 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|
|Resolution||In 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 ID||a22813|