this error probably comes because of the two reasons either you are using crack version of catia or you might be install catia without deleted the log files of earlier version of software.
i faced the same problem so the solution is first uninstall the software in safe mode and delete the log files too and restart your laptop and install fresh copy of software.
sometimes it may be possible that log files created in the windows system folder in operating system drive so this kind of log files cant be deleted hence only options for to fix this is, if you have restore point then restore windows in earlier date or if you dont have then you have to go for format the drive and install everything from beginning.