Error: *** License Mapping Failed! *** Debugger aborted !

Hi,

          I'm using an FlexLM license of Keil (5.28a). A new project is created for STM32 G474RE using cube MX and imported into Keil. The project was successfully imported and was able to build the code. But once I try debugging the following error pops up ("Error: *** License Mapping Failed! ***
Debugger aborted!"). I tried to reinstall the software, but it didn't work out. The IDE is able to detect the board. I tried going through the form but it didn't help.

The following are the details of my setup

1. The product MDK 5.28a

2. The target in use NUCLE0- G474RE

3. That you're registered user of a Keil product - yes

4. And if you use a Flex Floating license

0