For application pool we need to set No Managed Code for .NET CLR version.

  1. In IIS Manager, on the left side, click on Application Pools to get a list of all aplication pools.
  2. Select application pool and on right site click on Basic Settings... to open Edit Application Pool dialog.
  3. Set No Managed Code in drop down list under .NET CLR Version and click [OK] to close dialog.