Unable to modify machine.config file
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" permissio开发者_StackOverflown for the file, still it is not working.
You need to run the text editor that you are using to edit the machine.config
file as Administrator
.
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.
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
精彩评论