The problem has now been fixed by simply reinstalling the program. It seems like that that the problem started due to a former reinstalling which was done in the following way:
Installing the dmg from USB.
Before endnote was opened the USB was removed, which seemed to have coursed some problems.
Apparently the error code I posted was not the only error the user had with Endnote X7.