Support Article
InvalidReferenceException occur when running report definitions
SA-53096
Summary
InvalidReferenceException occur when running the CPMSearchAccount, CPMSearchContact, and CPMSearchBU report definitions.
Error Messages
InvalidReferenceException .AccountNumber Unexposed properties cannot be selected for classes mapped to external tables
InvalidReferenceException .ContactId Unexposed properties cannot be selected for classes mapped to external tables
InvalidReferenceException .BusinessUnitName Unexposed properties cannot be selected for classes mapped to external tables
Steps to Reproduce
Run the CPMSearchAccount, CPMSearchContactand, and CPMSearchBU report definitions.
Root Cause
The errors occurred due to case sensitivity with the columns in the database tables.
Resolution
Perform the following local-change:Modify the code to no longer call the sample database classes and rules.
Tags:
Published July 23, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.