---
title: AE - Internal Server Error when exporting groups from AE Admin.
description: When attempting to export an xml file containing the datasource groups from AE Administrator, an &quot;Internal Server Error&quot; pops up.
---

[Skip to content](https://knowledgebase.metasource.com/error-exporting-groups#main-content)

[![2026 MetaSource Logo - Light Background](https://knowledgebase.metasource.com/hs-fs/hubfs/Images/Logos/2026%20MetaSource%20Logo%20-%20Light%20Background.png?width=226&height=29&name=2026%20MetaSource%20Logo%20-%20Light%20Background.png)](https://www.metasource.com/)

Open main navigation

Close main navigation

- [Go to Customer Portal](https://clientsupport.metasource.com/tickets-view)

[Go to Customer Portal](https://clientsupport.metasource.com/tickets-view?hsLang=en)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [MetaSource Knowledge Base](https://knowledgebase.metasource.com/?hsLang=en)
2. [OpenText AppEnhancer (ApplicationXtender)](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en)
3. [Troubleshooting](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#troubleshooting)

# AE - Internal Server Error when exporting groups from AE Admin.

## When attempting to export an xml file containing the datasource groups from AE Administrator, an "Internal Server Error" pops up.

**Applies to Versions:**  
20.4 through 25.2

**Resolution:**

This issue is caused by orphaned entries left behind from the ae\_perms table which holds data regarding group security permissions.

1. To find the orphaned entries in the ae\_perms database table, run this query:  
   `select * from ae_perms where appid != 0 and appid not in  (select appid from ae_apps)`
   
   This will return all appids in the ae\_perms table that are pointing to appplications that no longer exist in AE.
2. Make a note of which appids are listed in the query result.  Delete them from the database.  For example:  
   `delete from ae_perms where appid in (62, 98,99)`

The xml export should now complete successfully.

- [Tungsten (Kofax)](https://knowledgebase.metasource.com/tungsten-kofax?hsLang=en#main-content)

    - [Installation and Setup](https://knowledgebase.metasource.com/tungsten-kofax?hsLang=en#installation-and-setup)
    - [Troubleshooting](https://knowledgebase.metasource.com/tungsten-kofax?hsLang=en#troubleshooting)
    - [Updates](https://knowledgebase.metasource.com/tungsten-kofax?hsLang=en#updates)
- [OpenText AppEnhancer (ApplicationXtender)](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#main-content)

    - [Installation and Setup](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#installation-and-setup)
    - [Basic Features](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#basic-features)
    - [Troubleshooting](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#troubleshooting)
    - [Updates](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#updates)
    - [System Requirements](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#system-requirements)
    - [Security](https://knowledgebase.metasource.com/opentext-appenhancer-applicationxtender?hsLang=en#security)
- [OpenText Intelligent Capture (Captiva)](https://knowledgebase.metasource.com/opentext-intelligent-capture-captiva?hsLang=en#main-content)

    - [Installation and Setup](https://knowledgebase.metasource.com/opentext-intelligent-capture-captiva?hsLang=en#installation-and-setup)
    - [Troubleshooting](https://knowledgebase.metasource.com/opentext-intelligent-capture-captiva?hsLang=en#troubleshooting)
- [PaperVision](https://knowledgebase.metasource.com/papervision?hsLang=en)
- [OpenText OTS (Output Transformation Server)](https://knowledgebase.metasource.com/opentext-ots-output-transformation-server?hsLang=en#main-content)

    - [OTS](https://knowledgebase.metasource.com/opentext-ots-output-transformation-server?hsLang=en#ots)
- [FileBound](https://knowledgebase.metasource.com/filebound?hsLang=en)

[![2026 MetaSource Logo - Light Background](https://knowledgebase.metasource.com/hs-fs/hubfs/Images/Logos/2026%20MetaSource%20Logo%20-%20Light%20Background.png?width=226&height=29&name=2026%20MetaSource%20Logo%20-%20Light%20Background.png "2026 MetaSource Logo - Light Background")](http://www.metasource.com)

[getsupport@metasource.com](mailto:getsupport@metasource.com)

[(888) 634-7684](tel:18886347684)

<https://www.linkedin.com/company/metasource/> <https://x.com/MetaSource> <https://www.facebook.com/MetaSource/> <https://www.instagram.com/metasource/>

© 2025 MetaSource, LLC. All rights reserved.