Fix Database Collision condition in AppXtender version 8x

Fix Database Collision condition in AppXtender in version 8x or above

ApplicationXtender Administrator web application does not include a feature to fix a database collision that was present in the Application Generator in earlier releases. The AE_SEQ table has to be modified directly to fix a database collision. 

Symptoms of a Database Collision

1. You get an error adding a new document to one particular application in Web Access or Document Manager, but others are working fine
2. When trying to use Index Image Import, get the message "Attempting to lock Application Xtender application for an update... PLEASE WAIT"
3. Reports management fails to process the report and the following error appears in the log file: "Can not obtain object ID"

Solution

To clear a database collision, you need to update the AE_SEQ table. As with any direct database modification, RDS recommends taking a backup of the table as a precaution first.  To correct the issue:

1. Find the records for all applications which have been affected by a database collision by running this query:

select appid from ae_seq where appid<0;

2. If you see negative appids in the results of the above query, they have encountered a database collision. You'll need to change the negative value to a positive value to clear collision

update ae_seq set appid=### where appid= -###;  -- replace ### with actual appid.

For example, if the issue is occurring in an application whose APPID is 30, run the following to fix:

update ae_seq set appid=30 where appid= -30;

Commit changes if needed in your database

3. For this change to be reflected in Web Access, please run an IISRESET from an Administrative command line



    • Related Articles

    • Keyboard Shortcuts available in AppXtender Web Access

      Here is a list of the available Keyboard Shortcuts in AppXtender Web Access: Open shortcut help ? Print ctrl + alt + p Previous Document alt + p Next Document alt + n Next Page alt + pagedown Previous Page alt + pageup Next Page Version alt + ⇧ + ...
    • Modifying User Settings in AppXtender Web

      Changing User Settings To change the user's User Settings in ApplicationXtender Administrator:   1.  Go to Application Management 2. Expand the data source by clicking on it 3. Choose Web Access User Settings 3. Click the X next to Default user ...
    • Generate list of users and groups from database in AppXtender

      The following query will generate a list of all users and the groups they are part of in ApplicationXtender: select a.usrnam, c.aliasname from ae_login a, ae_amap b, ae_als c where a.usrid=b.usrid and c.aliasid=b.aliasid order by c.aliasname, ...
    • AppXtender Audit Trail Events

      Below is the full list of Audit Trail Event ID codes for table ae_audit Audit Event Id IDL Event Id Description 0 axAuditID_LOGIN Login in 1 axAuditID_LOGOUT Logout ApplicationXtender 2 axAuditID_APPCREATE Create an AX Application 3 ...
    • How to add item to user defined list field in ApplicationXtender

      Here are the steps to add a new value to a user-defined list field in ApplicationXtender: 1. Open Application Administrator and log in as a user with Modify Application privileges 2. Go to Application Management and click on the Data Source 3. Click ...