Could not find stored procedure 'fnGetAutoID2' / Database error obtaining sequence number
Resolved
Error occured getting sequence Nbr: Could not find stored procedure 'fnGetAutoID2'.
Error running task: java.lang.Exception: Database error obtaining sequence number
This error occurs when the Yellowfin DB is missing a required Stored Procedure/Function that is used to create it's auto incrementing ID's for the DB tables.
In most cases this, occurs when a DB has been moved from one server to another, and the backup did not include the stored proc/function, or the DB user permissions have changed.
In order to resolve the issue, there are 2 things you need to do;
Before continuing with this, please ensure YF has been stopped.
For MySQL , you can run the queries below:
For Microsoft Sql Server you can run this query;
In Oracle and Postgres, this is stored in the SEQUENCE section:
If missing you can run the following query to generate it:
If you still have issues please send across any errors thrown by running the above queries, and also attach the Yellowfin log files located under \yellowfin\appserver\logs.This error occurs when the Yellowfin DB is missing a required Stored Procedure/Function that is used to create it's auto incrementing ID's for the DB tables.
In most cases this, occurs when a DB has been moved from one server to another, and the backup did not include the stored proc/function, or the DB user permissions have changed.
In order to resolve the issue, there are 2 things you need to do;
Before continuing with this, please ensure YF has been stopped.
For MySQL , you can run the queries below:
For Microsoft Sql Server you can run this query;
In Oracle and Postgres, this is stored in the SEQUENCE section:
If missing you can run the following query to generate it:
If you still have issues please send across any errors thrown by running the above queries, and also attach the Yellowfin log files located under \yellowfin\appserver\logs.Replies have been locked on this page!