Start a conversation

Error: 'Access Denied' When Accessing GFI MailEssentials in IIS Mode

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

  1. Make a copy of the file ..\GFI\MailEssentials\EmailSecurity\Data\usermanagement.xml.
  2. Open the original usermanagement.xml with a text editor.
  3. Find the line: <UsingActiveDirectory>true</UsingActiveDirectory>.
  4. Set it to false: <UsingActiveDirectory>false</UsingActiveDirectory>.
  5. Save and close the file.
  6. Run IISRESET on command prompt.
  7. Reinstall all GFI MailEssentials services.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments