Is this on SQL, or on Dataflex database?

If the former, you can use ExpressProfiler to see what is failing.
https://github.com/OleksiiKovalov/expressprofiler