Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

IIS 7 - config changes are not saved to root webconfig when using IIS UI

$
0
0

Is this a bug or have I missed something?

I only noticed this because I was trying to be clever and setup some health monitoring email alerts for ALL our sites on a server.

I made the smtp and healthmonitoring  changes in the IIS management tool and applied everything, and it all looked okay... however when I started exploring the other sites configs in the same UI I noticed that only 2 of the 20 sites on the server have picked up the extra Providers (listeners) and SMTP settings...

So what's happening?!?!?

Turns out its the .net framework... since the server appears to default to .net 2.0 then this is the web.config that is getting modified...

Went to C:\Windows\System32\inetsrv\config and coudn't see any smtp/health changes in the applicationhost

but then saw the changes I want are HERE, 

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config

but not HERE...

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config

thus explaining my issue...

Haven't tried investigating on a newer server, but is there are UI way to KNOW which framework you are impacting when you are changing (at the server level in IIS) the "Machine/WEBROOT" or is this ONLY doable by updating the files directly?


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>