有谁遇到过在域控制器上安装ASP.Net2.0后以machine.config配置问题?

大可山人
博客专家认证
2004-07-04 08:36:18

加载页面时出现如下错误:
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.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

应用程序日志中出现如下错误:
aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.

是什么原因引起了呀?

machine.config的相关配置如下:
<system.web>
<processModel userName="MyDomainName\ASPNET" password="MyPasswords" />
</system.web>


我是在域控制器上操作的,已添加ASPNET用户,在ASP.net1.0-1.2运行均正常,但如果使用asp.net时则报以上错误,为什么?
...全文
128 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
davixiong 2004-07-04
  • 打赏
  • 举报
回复
machine.config中查找
"machine"
改为"SYSTEM"
saucer 2004-07-04
  • 打赏
  • 举报
回复
see

PRB: "Aspnet_wp.exe Could Not Be Started" Error Message When You View an ASP.NET Page
http://support.microsoft.com/default.aspx?kbid=811320

FIX: ASP.NET Does Not Work with the Default ASPNET Account on a Domain Controller
http://support.microsoft.com/default.aspx?scid=kb;en-us;315158
大可山人 2004-07-04
  • 打赏
  • 举报
回复
但为什么要用这个命令对IIS://Localhost/W3SVC进行处理呢?
MetaACL "IIS://Localhost/W3SVC" MyDomainName\ASPNET RWE
//为什么是W3SVC,而不是其他?
哪位解释一下。
大可山人 2004-07-04
  • 打赏
  • 举报
回复
终于解决了:
http://community.csdn.net/Expert/topic/3144/3144717.xml?temp=.7160761
大可山人 2004-07-04
  • 打赏
  • 举报
回复
按思归的http://support.microsoft.com/default.aspx?kbid=811320已解决上述问题,但又跑出一个新问题:
------------------
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HostingEnvironmentException: Failed to access IIS metabase.]

//---错误结束----//
IIS metabase是个什么东西?怎样解决这个问题?

62,025

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧