Skip to main content
Planview Customer Success Center

Error "Importing Changepoint SQL Code failed" when installing a patch

Symptoms
When installing some GP and running the SQLImport tool, we get an error message:

Importing Changepoint SQL Code failed
The database principal owns a schema in the database and cannot be dropped.


Resolution
Please check access rights on the model db. It must not include dbo rights. Otherwise, when the CPTempDB is setup, it is created with dbo rights and further operations then cause the error shown above.