Unable to execute database update query with inter profile user

We have created internal user profile and created users and assigned roles to it. When we login with this user it is unable to execute system.db.runUpdateQuery and system.db.runPrepUpdate .

But when we login with Active Directory user, it is able to execute all the queries.
We also assigned required designer role and required client role in project property but had no luck.

Could you please suggest what could be the issue ?