'ORA-00942: Table or View does not exist' error when referencing a custom table/view in a report query in RSA Identity Governance & Lifecycle
Originally Published: 2015-06-30
Article Number
Applies To
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.x
Issue
com.aveksa.server.runtime.ServerException:
com.aveksa.server.runtime.ServerException:
java.sql.SQLSyntaxErrorException: ORA-00942:
table or view does not exist
com.aveksa.server.runtime.ServerException:
java.sql.SQLSyntaxErrorException: ORA-00942:
table or view does not exist
Cause
Resolution
- Login to SQL as the avuser
- Execute the following SQL grant statement:
grant select on <table | view> to avdwuser
For example:
grant select on custom_table_1 to avdwuser
Notes
$AVEKSA_HOME/database/Create Scripts/Grant_Select_To_Reports.sql
Any tables created after the avdb schema has been created need to have the grant select statement executed manually.
Please see RSA Knowledge Base Article 000038569 -- 'Request could not be handled' error exporting metadata from RSA Identity Governance & Lifecycle for an additional problem that can occur if a custom table in the avuser schema is not granted the select privilege.
Related Articles
Finish button is incorrectly enabled in Role Definition Review in RSA Governance & Lifecycle 51Number of Views ORA-20126 in Review Definition User Selection query with custom table in the AVCSUSER schema in RSA Governance & Lifecycle 100Number of Views installDatabaseOnly.sh script fails with error "No such file or directory" in RSA Governance & Lifecycle 106Number of Views Data runs show error: Exception while executing filter query RSA Identity Governance & Lifecycle 6.8 and above 238Number of Views Duplicate items in the scheduled task list in RSA Identity Governance & Lifecycle 135Number of Views
Don't see what you're looking for?