Well the first thing to check is that you have the correct and up to date version of FSUIPC installed - have a look in the Help file and it explains all about this. This file is the one that allows the Flight Logger to 'talk' to MSFS so that it knows where you are and what you are doing

Please go through the procedure to install this file and then check if it works properly, and if not, let us know exactly what the error message says so we can work out what may be wrong, ok?