Statement failed, SQLCODE = -902 cannot attach to password database

By: Borland Staff

Abstract: The license file is missing or incorrect.

Problem:
The license file is missing or incorrect.


Solution:
The information in this article applies to:
  * InterBase v4.x
  * InterBase v5.x

Make sure that you have a valid license file for your system.

For Unix:
----------------
    1) verify that the file exists
             isc_license.dat [Version 4.x]
             ib_license.dat [Version 5.x]

    2) check to make sure that the entry in the file is correct by
       running /usr/interbase/bin/iscinstall and entering the information
       stored in the license file.  If iscinstall returns successfully then
       the license key is ok.  

    3) verify that the node id is correct for this machine (The node id is not
         used for intel platforms).  See Node ID Guide:

                  http://www.interbase.com/tech/docs/node.html


For NT, Win95:
----------------------
    1) verify that the file exists in the interbase directory
             ib_licen.dat [Version 4.x]
             ib_license.dat [Version 5.x]

    2) verify that the registry entry points the the correct InterBase directory

           [4.x] HKEY_LOCAL_MACHINESOFTWAREBorland
                           InterBaseCurrentVersionRootDirectory

           [5.x] HKEY_LOCAL_MACHINESOFTWAREInterBase Corp
                           InterBaseCurrentVersionRootDirectory


Server Response from: ETNASC03