Sage user Interfaces failure

SOLVED

I'm using sage 300 but when I click on some icon, instead of opening the related forms, an error form pops us with the description as shown in the attachments

The solutions I have tried to apply include:-

1. reinstalling the application

2. reapplying the shared permissions

3. restoring windows from previous updates

4. repairing Windows DLLs

Does anyone have a suggestion on how to solve the above problem?