I changed the my file name in Ansys from "v202" to "v202_new" and had to add few dll
using cmd as an administrator. It works fine now.
Thank you Geo Karnos
If anyone is having the same error ,follow the steps mentioned below
Inside the prompt you will insert thecommands:
regsvr32.exe ole32.dll
regsvr32.exe atl.dll
regsvr32.exe oleaut32.dll
regsvr32.exe scrrun.dll
regsvr32.exe jscript.dll

regsvr32.exe vbscript.dll

And after this step you should go to Disk C:-> Users-> The folder with your name -> AppData -> Roaming -> Ansys. So you can rename the folder with your license (mine for example is v201) for "(Your License)_old" (mine for example v201_old).

I hope it works