Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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" permission for the file, still it is not working.

like image 569
kanna Avatar asked Jul 15 '10 17:07

kanna


People also ask

How do I access machine config file?

Open the Machine. config file in a text editor such as Notepad. The Machine. config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\ directory.

Where is Aspnet config?

config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\ folder. The default settings that are contained in the Machine. config file can be modified to affect the behavior of Microsoft . NET applications on the whole system.

Does changing machine config require reboot?

It does not require a machine restart. Changing the machine. config will cause your web application to restart (actually all web applications on that machine will restart).


2 Answers

You need to run the text editor that you are using to edit the machine.config file as Administrator.

like image 87
Johan Zietsman Avatar answered Oct 21 '22 00:10

Johan Zietsman


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.

like image 3
Ramkumar Thangavel Avatar answered Oct 21 '22 00:10

Ramkumar Thangavel