Overview
When you try to access the GFI MailEssentials interface, you receive the following error when using the Internet Information Services (IIS) mode: Access Denied
ConfigurationUI.log shows:
"error ","ConfigurationUI","Error: Application_AuthenticateRequest: System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Current security context is not associated with an Active Directory domain or forest.
Environment
- GFI MailEssentials
- Installation on a perimeter server or DMZ
Root Cause
If the server is installed outside the domain, the key should be set to false. This may happen when the GFI MailEssentials installations are moved from the domain to a demilitarized zone (DMZ).
Resolution
- Make a copy of the file
..\GFI\MailEssentials\EmailSecurity\Data\usermanagement.xml
. - Open the original usermanagement.xml with a text editor.
- Find the line:
<UsingActiveDirectory>true</UsingActiveDirectory>
. - Set it to false:
<UsingActiveDirectory>false</UsingActiveDirectory>
. - Save and close the file.
- Run
IISRESET
on command prompt. - Reinstall all GFI MailEssentials services.