今天安装了软件的web控制台,结果WEB打不开了,出现如下错误:
System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'c:\windows\microsoft.net\framework\v2.0.50277\Temporary ASP.NET Files'.
然后用如下方法就解决了:
如是出现如下:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ga "NT AUTHORITY\NE
TWORK SERVICE"
Start granting NT AUTHORITY\NETWORK SERVICE access to the IIS metabase and other
 directories used by ASP.NET.
Finished granting NT AUTHORITY\NETWORK SERVICE access to the IIS metabase and ot
her directories used by ASP.NET.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>
 
这样就OK了
posted on 2008-08-24 23:16  黄剑父  阅读(665)  评论(0编辑  收藏  举报