Solution ID: prim10983 |
Received error when updating the Access Level from 0 to 1: ODBC–update on linked table ‘OAUSER_PROJECT’ failed. |
Status: Reviewed |
Version(s): 3.5.1, 4.0, 4.1, 5.0, 6.0, 6.1, 6.2, 6.2.1, 7.0 |
Problem: | Received error when updating the Access Level from 0 to 1: ODBC–update on linked table ‘OAUSER_PROJECT’ failed. [ATI][OpenRDA ODBC] Invalid statement: update statement exception. Error returned from engine: VDB.Update; hResult=0×80040031 (PMSDK_E_READONLY: attempt to modify a read-only object); EOleSysError = SetFieldValue [PROJECT.access_level] error, field is read-only Error number: 0×80040031 (#-2147221455) |
Fix: | Check the SDK user privileges. A user must have the Global Security profile ‘View all data/project via SDK’ to log into the SDK. If the SDK user has ‘View all data/project via SDK’ privileges, then he is only allowed to view the data and can not change the access level 1 (shared mode). Only an SDK user with <Admin Superuser> privileges can change the access_level, and therefore update data, through the SDK. |