I am running IIS 7.5 on Windows Server 2008 R2 x64. I added a new app pool via the iis manager and wanted to set the autostart and startmode options in the applicationHost.config file. However, the new app pool is not appearing in either of the applicationHost config files (%WINDIR%\System32\inetsrv\Config and %WINDIR%\SysWOW64\inetsrv\config). The app pool has an application added to it (the application is still listed under the old app pool in the config files, though it is correct in the iis management snap-in). I have run iisreset several times and completely restarted the server.
Does anyone know if these config files are cached somewhere else that may not be refreshing or anything else that may cause this behavior?
Go to Websites & Domains > Dedicated IIS Application Pool for Website. Select the “Enable 32-bit applications” checkbox and then click OK.
The configuration files for IIS 7 and later are located in your %WinDir%\System32\Inetsrv\Config folder, and the primary configuration files are: ApplicationHost. config - This configuration file stores the settings for all your Web sites and applications.
I opened the file using notepad++ with "Run as Administrator". I spent nearly an hour trying to figure out what was going on. I just couldn't see the binding. Turns out, the only way to edit applicationHost.config is to start Notepad (not notepad++) using "Run as Administrator" and open the file. Only then you will see the actual content of the file.
I'm not sure why this would occur, but I accessed the applicationHost.config from another machine via the admin share and the information was there and editable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With