QUESTION: How many APPLICATIONHOST.CONFIG files should you have in an IIS 7.0/.NET 4.0 installation ???
-
Wednesday, August 01, 2012 4:08 AM
Sorry, I am truly a newbie...
I've looked pretty thoroughly for this time of the night for an answer, but haven't found one, so I thought I'd ask here.
I've got one in C:\windows\Microsoft.NET\Framework\v4.0.30319\Config\applicationhost.config;
I've got another in C:\windows\System32\inetsrv\config\applicationhost.config.
I suspect that the one in the .NET FRAMEWORK path is a duplicate and shouldn't be there, but I'm not sure, so I'd thought I'd ask.
THANKS FOR YOUR HELP.
Jeff
Jeff McVey
All Replies
-
Wednesday, August 01, 2012 12:42 PM
Hello, Jeff.
As your question is related to both .NET Framework and IIS, you might also ask in the IIS forums, here:
This is just a WAG, but I suspect both are needed. One for local apps (in .NET 4) and one for web apps running on the IIS server (even though the "server" is software running on the local machine.
- Marked As Answer by Barry WangMicrosoft Contingent Staff, Moderator Thursday, August 09, 2012 8:20 AM
-
Thursday, August 02, 2012 3:14 AMModerator
Hi Jeff,
I've done a research on this issue on my lab.
I tested four computers but all of them tells me "applicationhost.config" cab only be found under
"C:\Users\<User Account>\Documents\IISExpress\config"
Their environment:
1. .NET 4 installed
2. Visual Studio installed
3. Haven't do any other action to IIS
Then I found this page http://learn.iis.net/page.aspx/124/introduction-to-applicationhostconfig/
It seems this issue is more related to IIS.
For more details, please refer to IIS forum pvdg42 mentioned.
Best regards,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
- Edited by Barry WangMicrosoft Contingent Staff, Moderator Thursday, August 02, 2012 6:17 AM
- Marked As Answer by Barry WangMicrosoft Contingent Staff, Moderator Thursday, August 09, 2012 6:18 AM

