Issue:

ERROR: "Invalid template or unsupported template format" with error code 1135 (IENGINE_E_BADTEMPLATE).  

Cause:

This error occurs often because of IDKit version conflict between client software (which utilizes IDKit PRO) and ExpressID AFIS.

Solution:

It's important to have both client and ExpressID AFIS with same version of IDKit (NOTE: ExpressID AFIS is built with IDKit and logs the version number into its log file at startup).  

IDKit and ExpressID AFIS transfer user record to each other utilizing IEngine_SerializeUser and IEngine_DeserializeUser methods. For example if user programmer calls IEngine_FindUser(userX), IDKit serializes userX via, transfers it via network, AFIS receives the serialized userX and deserializes it. With IEngine_GetUser method the situation is contrary (vice versa).  

We guarantee backward compatibility (what means that newer version of IEngine_DesiarializeUser method will process user record data serialized by older versions of IEngine_SerializeUser), but not forward compatibility (that older versions of IEngine_DesiarializeUser method will process user record data serialized by newer version of IEngine_SerializeUser).