<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://sufan.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://sufan.maytide.net/read.php/763.htm</link>
<title><![CDATA[ASP.NET的修复]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 24 Nov 2004 09:13:42 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/763.htm</guid> 
<description>
<![CDATA[ 
	一般IIS运行不了ASP.NET,试一下下面四种方法，99％有效：<br/>1).NET 安装的顺序应该是先装IIS，再装VS.NET，如果次序反了，或者IIS重装了，就<br/>需要使用aspnet_regiis.exe -i来重新安装IIS Mapping（主要用于aspx, asmx等文件<br/>的Extention的匹配）。在C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705目录下，<br/>运行下面的命令：<br/>aspnet_regiis.exe -i<br/><br/>2)重设ASPNET的密码，然后在下面的目录中找到Machine.config文件：<br/>%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG （Systemroot是你的安装<br/>目录），在标识中添加/修改：<br/>userName和password<br/><br/>3)如果还不行，重装IIS，然后再按照方法1进行操作<br/><br/>4)如果你的机器是域控制器，你可以参考Q315158：ASP.NET Does Not Work with<br/>ASPNET Account on Domain Controller：<br/>http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q315158&<br/><br/>大致操作步骤：<br/>1)在Administrative Tools->Active Directory Users and Computers中建立一个名<br/>为ASPUSER的用户，将该用户添加到用户组中（默认情况下已在User Group中）<br/><br/>2)在Administrative Tools->Local Security Settings－>Local Policy->User<br/>Right Assignment中,双击右栏的Log on as a batch job项，在弹出的窗口中点击<br/>Add，选择或输入刚才建立的ASPUSER帐号，确定。（需要重启机器）<br/><br/>3)确保ASPUSER帐号有相应文件、目录的访问权限<br/><br/>4)在下面的目录中找到Machine.config文件：<br/>%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG （Systemroot是你的安装<br/>目录），在标识中添加/修改：<br/>userName="DomainName\ASPUSER" password="ASPUSERpassword" 其中ASPUSERpassword<br/>是刚刚建立的ASPUSER的密码，DomainName是域名 （重启机器）
]]>
</description>
</item>
</channel>
</rss>