在域控制器或備份域控制器上安裝 microsoft visual studio .net 或 microsoft .net 框架后,如果您嘗試運行 asp.net 應用程序,則瀏覽器會顯示下面的錯誤信息:
server application unavailable
the web application you are attempting to access on this web server is currently unavailable.
please hit the "refresh" button in your web browser to retry your request. 此外,系統(tǒng)應用程序事件日志中會記錄以下事件:
aspnet_wp.exe could not be launched because the username and/or password supplied in the processmodel section of the config file are invalid. aspnet_wp.exe could not be started. hresult for the failure:80004005 此問題涉及 internet 信息服務 (iis) 5.0 版或更高版本。 <原因> 默認情況下,為了提供更安全的環(huán)境,asp.net 用弱帳戶(名為 aspnet 的本地計算機帳戶)運行它的輔助進程。域控制器或備份域控制器上的所有用戶帳戶都是域帳戶,不是本地計算機帳戶。因此,aspnet_wp.exe 由于找不到名為"localmachinename/aspnet"的本地帳戶而未能啟動。要在域控制器上提供有效的用戶帳戶,必須在 machine.config 文件的 <processmodel> 部分指定顯式帳戶,或者必須使用 system 帳戶。