Symptoms 1
Advanced Access Control 4.x users receive an “Access Denied” error message when logging on.

The Event Viewer Application Log may report the following event:
Event Type: Error
Event Source: CitrixAGLicensing
Event Category: None
Event ID: 114
Date: 11/6/2007
Time: 12:40:47 PM
User: N/A
Computer: AACServerName
Description:
License request denied to user ID testadmin. No valid license available. User cannot log on to Access Gateway Advanced Edition.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
OR
“Source: CitrixAGLicensing
Description: License request denied to user ID testadmin. No valid license available. User cannot log on to Advanced Access Control.”
Symptoms 2
You receive the following error message when accessing a logon point (bypassing the Access Gateway - http://localhost/CitrixLogonPoint/SampleLogonPoint):
"Access denied.
Your computer does not meet the minimum requirements for accessing corporate resources securely. Contact the system administrator for assistance.
Please quote Reference ID....."

Resolution 1
1. In the Access Suite Console, verify that the Advanced Access Control 4.x server is pointing to a license server the Advanced Access Control licenses are uploaded to.

2. On the license server, verify that the Advanced Access Control server has been issued a startup license.
3. If the environment is Access Gateway with Advanced Access Control, the license file contains options for both Access Gateway and Advanced Access Control. For example:
License file:
CITRIXTERM FEATURE 1.0 CAG_SSLVPN_CCU EN Citrix Access Gateway|Concurrent User
CITRIXTERM FEATURE 1.0 CAG_AAC_CCU EN Citrix Advanced Access Control Option|Concurrent User
License Server:

4. A temporary workaround may be to create a batch file on the license server to restart the license services or enter a bogus license server entry into the Access Management Console to force the server to refresh its license counts or enter a grace period.
5. Verify, using the Session Viewer Tool on the Advanced Access Control Server, that any expired sessions that should have automatically deleted themselves do not exist. Adjust the Session Timeouts in the Access Management Console so sessions have an expiration date. In addition, check the error tab in the Session Viewer Tool. The tool may indicate a permission problem when accessing the database for the session information. It may be necessary to investigate any outdated information in the following three tables with the Advanced Access Control database: LicensePendingRelease, LicenseHoldingServer, and MasterSession.CDF Tracing, CTX104578 – Using Citrix Diagnostic Facility and the Access Suite Console for Tracing, on the following modules; MSAM_SessionFactory, MSAM_Library_NavUI_TokenURI, MSAM_Library_Session_Management_Server, MSAM_Library_Licensing, MSAM_Session. You may have to ask Citrix Technical Support to compare them to a working environment.
6. Verify the access policies within the environment. An access policy may be denying access to the logon point.
Resolution 2

More Information
CTX114824 – Access Gateway 4.5 Advanced Edition Licenses are Consumed but not Released