The current identity does not have write access to Temporary ASP.NET Files. "Server Error in ‘/Web’ Application" error is displayed when opening http://LocalHost:2468/Web/:


Solution


To fix this error, launch Command Prompt (cmd) as Administrator and paste these commands:

  1. cd /d %windir%\Microsoft.Net\Framework\v2.0.50727
  1. aspnet_regiis -ga “NT Authority\Network Service”
  1. aspnet_regiis -i


It should look like this:

After that, try to load http://LocalHost:2468/Web/.