Tutorials

ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated

ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated

One of the things you need to do when How to install Exchange Server 2013 in an existing Windows Server 2012 R2 Essentials network is that you install and configure Application Request Routing tool called ARRConfig but sometimes the certificate you have causes trouble.

  1. In the screenshot below you see the error. Not very helpful to begin with.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  2. The log the error is referring to can be found in %ProgramData%. It is ARRConfig.log. If you open the log it will show the actual problem. What this means is that it cannot read the Private Key from the pfx file even it is in there. This is some quirk in the way Microsoft handles pfx files and it does not happen in every pfx certificate.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  3. The actual Reverse Proxy site has been created though the error said ‘create site failed’. Now what happened?
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  4. It actually created the site but failed to set bindings to port 443 with the certificate we used. Right click the site and choose Edit Bindings.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  5. Choose to edit the https binding.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  6. There is no certificate listed.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  7. Choose the certificate you used to run ARRConfig and click OK.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  8. Ah, there is the error ARRConfig also had. Click OK and cancel out.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  9. Highlight the server and click certificates.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  10. If you choose the mail.server-essentials.net certificate and right click there should be an Export option listed but there is not, this is a problem because the Private Key must be available for ARRConfig to work properly
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  11. Choose to Remove the mail.server-essentials.net certificate.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  12. Click Yes.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  13. It is gone
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  14. In the Actions pane choose Import
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  15. Browse to the mail.server-essentials.net certificate.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  16. Give a password and make sure ‘Allow this certificate to be exported’ and click OK.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  17. If you now right click the mail.server-essentials.net certificate it has an Export option. Choose to Export.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  18. Export the certificate to the same folder where the other certificates are and name it mail.server-essentials.net.fix.pfx and enter a password. You will need to the password again when you run AARConfig
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  19. One the certificate has been exported delete the one in IIS.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  20. Click Yes.
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated
  21. When you now run ARRConfig with the ‘fixed’ certificate it will work…done!
    ARRConfig an error occurred while configuring IIS. Fore more details, check the log. A specified logon session does not exist. It may already have been terminated

About server-essentials.com 

Server-essentials.com was established by Mariette Knap, an alumni Microsoft MVP. It serves as a community for IT Consultants and Business Owners who manage their own IT infrastructure, as well as for Employees who go the extra mile to ensure smooth operations. The forum is dedicated to discussions on all aspects of 'IT' and beyond. The documentation provided is of the highest quality and is crafted by and for the community.


Microsoft Partner

server-essentials.com
C. de Rijcklaan 1
3723 PM Bilthoven
The Netherlands 
Chamber of Commerce 90147480
VAT Id Number NL004793120B27