Description
When entering http://machine_name/servlet/TestServlet in a Web browser to test ServletExec 4.1.1 with IIS 4.0/5.0/6.0, the following error is returned: ServletExec Initialization Failed.
One of the following errors will occur depending on the operating system:
![[O-Image] ServletExec Initialization Failed Image](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000006350/00N39000003LL24-0EM39000000wcmN.png)
Cause
Inadequate NTFS permissions are set on the ServletExec and/or Java installation directories.
Solution or Workaround
Set appropriate NTFS permissions for <Drive>:\Program Files\New Atlanta, <Drive>:\Program Files\Java and <Drive>:\js2dk1.4.0.
Warning:
The following NTFS permissions will allow ServletExec to access required resources. These file settings may not be the minimal permissions needed.
- Grant full control to the <Drive>:\New Atlanta\ServletExec ISAPI directory and sub-directories for the following users groups: SYSTEM, Authenticated Users and IUSR_<machine_name>.
- Grant Read, Read & Execute and List Folder contents to the <Drive>:\j2sdk1.4.0 directory and sub-directories for the following users and groups: SYSTEM and IUSR_<machine_name>.
- Grant Read, Read & Execute and List Folder contents to the <Drive>:\Program Files\Java directory and sub-directories for the following users and groups: SYSTEM and IUSR_<machine_name>.
If you have questions or problems with configuring ServletExec with IIS, contact New Atlanta.