ORA-01031 insufficient privileges when starting application

I am getting the following error when I run my application during the initialization phase:

Exception EOracleError in Module pProcedis.exe at 000FD467 ORA-01031: insufficient privileges

I have tried to trace it back (even using Oracle Monitor), but the message is sent at different locations each time in the project initialization file. The curious thing is that this error message stop showing up after I run and build three or four times, allowing me to run the application without any problem.

Do you have any idea what could be the problem?
 
It is an Oracle error, so there must be some SQL statement that causes this problem. Using the Oracle Monitor or using the global OnOracleError event should allow you to find the exact cause of the problem.
 
Back
Top