I generate an app to install my android phone, but when i try to login, it shows a error message: The UPDATE statement conflicted with the FOREIGN KEY constraint "OSFRK_OSUSR_OMI_USERIMAGE_OSSYS_USER_USERID". The conflict occured in database "MPPLXL002", table "dbo.ossys_User",column "ID". The statement has been terminated.

This happened when i update the module and changed a android keystore.

I don't understand the meaning of the error.

Anyone can help me?

Solution

Hi yongjin li,

From that message, it seems you are trying to write/update a UserImage entity record, but are forgetting to assign its UserId attribute, could that be your problem?

Solution