Data environment is already loaded (Error 1966)

You are invoking the OpenTables method of the data environment and the data environment is already loaded.