KB Article #176658
Invalid length of identifier in unique ID file
Problem
-- getting such error when executing a DML flow using the function generateNextIdInSequenceERROR 20140310 13.34.49.28 procengine(procengine(map-loader.dll))
[EXE - 16177]: Invalid length of identifier in unique ID file (C:\B2Bi\Share\data/unique/uniqueid)
Resolution
* you are probably :- running in B2Bi 1.5.0 SP11
- using a DML map calling the function generateNextIdInSequence AND an MBC calling the function UNIQUE.GETID (can be in different flows and services)
* actually, the length of the unique identifier has been changed from 10 caracters to 40 characters BUT the change has not been implemented for the DML function.
So DML and MBC isĀ not compatible : the first time the UNIQUE.GETID function is executed in the MBC, the length of the identifier is changed to 40 characters ; then, when generateNextIdInSequence is called in the DML map, it complains about the length of the identifier and returns the error Invalid length of identifier in unique ID file
* 2 possible solutions
- upgrade to B2Bi 1.5.0_SP11 (both DML and MBC are now using the same length (40 characters)
- use 2 separate unique ID files (one for the identifier used in DML, and a separate one for the identifiers used in the MBCs). note that if a same identifier is used by the DML and the MBC, this solution will not work