Editing applicationhost.config on 64 bit Windows 7 system

I had a very simple task to edit applicationhost.config file and it took my 2 hrs to get the solution.

I navigated to folder C:\Windows\System32\inetsrv\config and I found applicationHost.config file. And when I clicked on file to open in Visual Studio, I got the below error

clip_image001

Then I tried

1. Open visual studio in administrator mode

2. Clicked on open file

3. Navigated to folder C:\Windows\System32\inetsrv\config and found applicationHost.config was not available for selection.

This is because applicationHost.config is 64 bit file. And still VS dll is 32 bits.

So now question comes how to edit this file.

1. Open Notepad in elevated mode

clip_image002

2. Browse to C:\Windows\System32\inetsrv\config . Change file type to all and you would able to see applicationhost for selection. Select and open the file.

clip_image003

Published by

Dhananjay Kumar

Dhananjay Kumar is Developer Evangelist for Infragistics. He is a 8 times Microsoft MVP and well respected Developer Advocate in India.He is the author of 900+ Blog Posts, and can often be found speaking around India at conferences and hosting free workshops for programmers across the country. So far, he has hosted 60 free workshops on various topics like JavaScript, Angular, WCF, ASP.NET MVC, C#, Azure etc. Follow him on twitter @debug_mode for all the updates about his blog posts and workshops. You can send him email at debugmode [at] outlook [dot] com

One thought on “Editing applicationhost.config on 64 bit Windows 7 system”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s