12

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.

kanna
  • 151
  • 1
  • 1
  • 4

3 Answers3

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.

1

For Visual Studio:

  1. 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)

  1. Click Run as administrator
  2. Within Visual Studio, click File->Open->File... (shortcut is Ctrl + O)
  3. 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