I want to improve performance of my ASP.NET web application and want to change "processModel" tag in machine.config. But I am unable to modify "machine.config" file located at framework directory. Though I have disabled "readonly" permission for the file, still it is not working.
Asked
Active
Viewed 1.9k times
12
-
What does it say when you try to edit? – Hari Menon Jul 15 '10 at 17:58
-
You will need administrator permissions to edit machine.config. – driis Jul 15 '10 at 18:14
-
Thank you very much. It is editable with admin permissions. – kanna Jul 15 '10 at 18:17
3 Answers
29
You need to run the text editor that you are using to edit the machine.config
file as Administrator
.

Ivan Ferić
- 4,725
- 11
- 37
- 47

Johan Zietsman
- 291
- 3
- 3
3
Open it using NotePad++ (or) NotePad. You have to run Notepad first in Administrator more (right click, select Run as administrator), then open machine.config
Ramkumar Thangavel.

Ramkumar Thangavel
- 289
- 2
- 2
1
For Visual Studio:
- Right click on Visual Studio icon
(If you are right clicking on a taskbar icon, then you'll need to right click on the Visual Studio icon in the list as well)
- Click Run as administrator
- Within Visual Studio, click File->Open->File... (shortcut is Ctrl + O)
- From here, navigate to your machine.config. For .net 4, it's probably here: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

Tony L.
- 17,638
- 8
- 69
- 66