问题
Hi Guys after spending nearly one day i thought it is time to ask the community. I have just downloaded asp.net project from TFS on my another laptop and couldn't get it to run. I have narrowed down the issue and it is something to do with my webconfig setting and setting is
<serverRuntime uploadReadAheadSize="128000000" />
If I comment this setting error goes away but I am just wondering why I have to comment this out when it is working on my other laptop for same project.
Error i get upon adding the above mentioned tag is following

回答1:
To anyone experiencing this issue, here is what I did to solve this issue.
- Open command prompt as administrator.
Navigate to your web app.
Copy/paste:
%windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/serverRuntime
- Press enter.
If successful you'll see something like this:
Unlocked section
system.webServer/serverRuntime" at configuration path "MACHINE/WEBROOT/APPHOST
来源:https://stackoverflow.com/questions/31394838/adding-serverruntime-tag-in-webconfig-cause-500-19-error