Reputation: 14161
I published my MVC 5 application under IIS\Default Web Site.
I want to edit web.config file. When I go to the Inetpub\wwwroot folder and try to edit and save, it shows Access Denied.
How can I edit it?
Upvotes: 1
Views: 1634
Reputation: 6337
You need to start Notepad
(or whatever you are using) AS administrator
by right clicking the notepad.exe
and choosing run as administrator
then you can edit and save the file
c:\WINDOWS\System32\notepad.exe > Run as Administrator > Edit > Save
Upvotes: 1