Creating a datasource and getting error "Database verification failed"
Applies To | |||
Product(s): | ProjectWise Integration Server | ||
Version(s): | 08.11.11.111 | ||
Environment: | N/A | ||
Area: | ProjectWise Administrator | ||
Subarea: | MISC | ||
Original Author: | dana guthrie, Bentley Technical Support Group | ||
Error or Warning Message
Could not connect to the datasource because of the following problem:
Database verification failed. One or more document management tables are missing and database character set is invalid.
Explanation
User is trying to create a new ProjectWise datasource. They are using Oracle as the database.
How to Avoid
Option1XXXX(Deletethis headingifonlyoneoptionexists.)XXXXCheckthefollowingsettings:
Test that the ODBC connection is working properly
Check that the ODBC user has the correct permissions and roles for the database.
Make sure the Oracle instance and database have been created using the correct Character sets.
Test that the ODBC connection is working properly
Check that the ODBC user has the correct permissions and roles for the database.
Make sure the Oracle instance and database have been created using the correct Character sets.
The following information was taken fromChapter 6 of the Projectwise Implementation guide for version 08.11.11.11.111
For Oracle databases, you must manually set the database Character Set and National Character Set encodings. These values are typically defined when installing the Oracle database software and creating a new Oracle database, although they may be changed on a running database with some effort (consult your Oracle documentation). The two encodings most typically used in Oracle are UTF8 and AL32UTF8; Please consult your Oracle documentation for information regarding which character set you should use when creating the database. If you will be running ProjectWise against an existing Oracle database, you will need to verify that the database NLS character set parameters are set for Unicode. This information can be found in the NLS_DATABASE_PARAMETERS table.
From a SQL prompt connected to the database
SQL> select * from nls_database_parameters
When Oracle is your database, the Oracle database user must have (at a minimum) the following privileges and permissions in order to run ProjectWise Integration Server:
— CONNECT role
— CREATE PROCEDURE privilege
— CREATE SEQUENCE privilege
— CREATE TABLE privilege
— CREATE VIEW privilege
— UNLIMITED TABLESPACE privilege
— EXECUTE permission on the DBMS_LOB package
See Also
See the Requirements section of the ProjectWise readme ( “C:\Program Files\Bentley\ProjectWise\readme_ProjectWise.chm”) for the list of supported databases and drivers.
See the Projectise implementation guide (PWImplementationGuide.pdf) delivered with the Projectwise server install set.