Hi Everyone
Problem resolved.
The problem was caused by having a directory named “resources” in the application directory, I have to renamed the directory and then change all references in the application. Then it worked like a charm.
It probably is a reserved directory, but it works fine before.
Anyway, thank you everyone for your help and suggestions.
Regards
Jim