Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Invalid object name error reported during PRPC upgrade process



In PRPC upgrade process from PRPC 6.1 SP2 to PRPC 7.1 ML6, the migrate.bat script used to upgrade the schema has exited with SQLServerException apparently while looking for an object named 'dbo.EventsChangeLog'.

Error Messages

[java] Invalid object name 'dbo.EventsChangeLog'.
[java] at
[java] at
[java] at
[java] at$StmtExecCmd.doExecute(
[java] at
[java] at
[java] at
[java] at
[java] at
[java] at com.pega.pegarules.install.SQLLoader.main(
[java] Aug 24, 2014 8:03:01 PM com.pega.pegarules.install.SQLLoader writeMessage
[java] INFO:
[java] Encountered a SQL Exception, clean schema before running again.

Steps to Reproduce

1. To reproduce this error, user has to run the migrate.bat script on the database server with the appropriate privileges. 

2. Create custom DDL trigger that copies the changes in the database and do not update this custom trigger to point to new schema.
3. Run the migrate.bat script, that will encounter “Invalid object name” error since this custom trigger was not be present in the new schema.

Root Cause

Trigger causing the error 'dbo.EventsChangeLog' was custom DDL trigger that populates the LogChangeEvents table. User has copied the objects in the database to a new schema but did not update the DDL trigger. This has caused all create table statements failing in their environment.


Suggested user to modify LogChangeEvents custom trigger to reference the correct schema qualified EventsChangeLog table and then run the PRPC upgrade process. 

Published April 1, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us