go to IE menu Tools->Internet Options->Advanced, uncheck "Show friendly Http error messages" and try againor go to Control Panel->Adminsitrative Tools->Event Viewer to see any detailed error messagesalso see
Running ASP.NET on a Domain Controller 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_running_asp_net_on_a_dc.asp

解决方案 »

  1.   

    未能启动 aspnet_wp.exe。失败的 HRESULT:80004005 未能启动 aspnet_wp.exe,原因是配置文件的 processModel 节中提供的用户名和/或密码无效。 如何处理呢?我将.net framework卸掉后重装还是不行
      

  2.   

    我是在域服务器上运行asp.net的
      

  3.   

    一定是iis配置的路径错误...我在单位的服务器上也遇到过楼主的现象..有时是localhost的路径错误..
      

  4.   

    你好,问题解决了吗。
    我跟您的好象一样,也是在域服务器下装的。
    我装完vs.net后,生成一个项目,在调试\启动时,总是提示:无法在web服务器下启动调试.未能启动asp.net或atl server 调试.
    如解决了,请帮忙转告。
      

  5.   

    TOMWLD(笑天) 
    同病相怜:(
    http://expert.csdn.net/Expert/topic/1650/1650697.xml?temp=.4923975
    我刚准备重装framework,看来问题不在这
      

  6.   

    Running ASP.NET on a Domain Controller --------------------------------------------------------------------------------By default, the worker process for Microsoft?ASP.NET (Aspnet_wp.exe) runs under the local machine account to restrict access to domain resources and provide a more secure environment. This will cause an error if you try to run or debug an ASP.NET application on a domain controller or a backup domain controller. On a domain controller, all user accounts are domain accounts and not local machine accounts, so Aspnet_wp.exe fails because it cannot find a local account named "localmachinename\ASPNET".WorkaroundsCreate a weak account that has the permissions necessary for running the ASP.NET worker process, and then configure the <processModel> section of the Machine.config file to run the worker process under that account.
    Configure the <processModel> section of the Machine.config file to run the ASP.NET worker process under the SYSTEM account or an Administrator account, instead of the machine account.Note  This is not a recommended practice and has serious security implications. Allowing ASP.NET applications to run under the SYSTEM or an Administrator account allows code that is being run by the Aspnet_wp.exe process to have access to the domain controller and domain settings. Executables that are started by the Aspnet_wp.exe process also run in the same context and will have access to the domain controller and domain settings. To create a weak account with the correct permissionsCreate a user account on the computer and add this user account to the Users group.
    Grant this user account the Log on as a batch job right. a. Click Start, point to Programs, point to Administrative Tools, and then click Local Security Policy.b. Expand Security Settings, expand Local Policies, and then click User Rights Assignment.c. In the list of policies, right-click the Log on as a batch job policy and click Security.d. If the new user account does not appear in the Assigned To list, click Add to add the new user account.e. Select the Local Policy Setting check box next to the user account name and click OK.f. Restart the server, if necessary.Note  This process may need to be repeated for the Domain Controller Security and Domain Security policies.
    Grant the new user account write access to the \WINNT\Microsoft.NET\Framework\V1.0.XXXX\Temporary ASP.NET Files\ directory. This will allow the Aspnet_wp.exe process to write temporary files and classes to this directory.a. Navigate to the \WINNT\Microsoft.NET\Framework\V1.0.XXXX\ directory in Microsoft Windows?Explorer and right-click the Temporary ASP.NET Files icon.b. Click Properties and then click the Security tab.c. Select the user account from the list and select the Allow check box for Write permissions.d. Click OK.e. Make sure that the new user account has access to all other files and directories that are necessary to serve ASP.NET pages.Grant the new user account write access to the \WINNT\TEMP\ directory. If you are running XML Web services, this will allow the Aspnet_wp.exe process to write temporary files and classes to this directory.a. Navigate to the \WINNT\TEMP\ directory in Windows Explorer and right-click the TEMP icon.b. Click Properties and then click the Security tab.c. Select the user account from the list and select the Allow check box for Write permissions.d. Click OK.e. Make sure that the new user account has access to all other files and directories that are necessary to serve ASP.NET pages.Specify that the ASP.NET worker process will run under the new user account.a. Open the \WINNT\Microsoft.NET\Framework\V1.0.XXXX\Config\Machine.config file.b. In the <processModel> section, change the userName and password attributes to the name and password of the new user account. For example: userName="DomainName\ASPNETUSER" password="ASPNETUSERpassword".c. Save the changes to the Machine.config file.
    我按上面的办法做了一下,还是不行,不知为何我现在将域服务器降级成普通服务器,但仍然不行,还会出现那两个启动错误未能启动 aspnet_wp.exe。失败的 HRESULT:80004005 
    未能启动 aspnet_wp.exe,原因是配置文件的 processModel 节中提供的用户名和/或密码无效。可能是我修改了那个Machine.config文件,哪位给我发一份吧。[email protected]
      

  7.   

    请按照下面的方法修改,我也曾经遇到过,现在已经不是问题了,尝试过无数遍了!
    -------------------------------------------------------------------------
    在 Machine.config 文件的 <processModel> 部分,将 userName 属性设为 SYSTEM
    -------------------------------------------------------------------------
    全文请看:http://support.microsoft.com/default.aspx?scid=kb;zh-cn;315158
      

  8.   

    按上述方法,页面能够打开,谢谢!
    但在调试\启动时 仍显示试图运行项目时出错:无法在web服务器下启动调试,未能启动asp.ent或ATL server调试,请验证服务器下是否安装了asp.ent或ATL server。是否希望以后 对此项目禁用asp.net页调试。
      

  9.   

    You may have installed “IIS Lockdown” tool. If so, Please find “urlscan.ini”
    file, and add “DEBUG”(case sensitive) into “[allowverbs]” section in
    “urlscan.ini” file.
      

  10.   

    呵呵,我把ActiveDirectory给删掉了,现在又成了本地服务器,重装了一下.net framework,现在可以了,好在是自己的电脑,想怎么折腾都行!:):)^_^谢过saucer(思归, MS .NET MVP)和sungoodnews(一知半解)!