Database was not declared using PATHNAME. Repository access is illegal. Explanation: You tried to include a repository entity in the schema, but the database itself is not using the repository. User Action: Attach to the database using PATHNAME.