100分求助, asp.net 2.0使用问题

YICK 2005-01-28 09:37:19
我所编辑的.aspx网页,在Internet信息服务中设置ASP.NET为1.1是都显示,但是只要一设置成asp.net2.0,就会报错,请问是什么原因.详细出错信息如下:
Server Error in '/Test' Application.
--------------------------------------------------------------------------------

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.]
System.Web.Hosting.HostingEnvironment.MapPathCaching(String path) +3609369
System.Web.CachedPathData.GetPathData(String path) +406
System.Web.Configuration.RuntimeConfigLKG.GetInternalSection(String sectionName, Type type, ResultsIndex index) +134




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET Version:2.0.40607.42
...全文
158 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
warren1999 2005-01-29
  • 打赏
  • 举报
回复
都说了:)
YICK 2005-01-29
  • 打赏
  • 举报
回复
up
YICK 2005-01-28
  • 打赏
  • 举报
回复
我照着提示下载了文件,然后在命令行中运行
cscript metaacl.vbs "http://localhost/test/" workgroup\yick RW
可问题还是没有解决
deathbee 2005-01-28
  • 打赏
  • 举报
回复
gz
YICK 2005-01-28
  • 打赏
  • 举报
回复
还是不明白
孟子E章 2005-01-28
  • 打赏
  • 举报
回复
.net2.0帮助参考
http://msdn2.microsoft.com/library/x9t6k3aa.aspx
孟子E章 2005-01-28
  • 打赏
  • 举报
回复
参考
http://support.microsoft.com/?kbid=267904
seesea125 2005-01-28
  • 打赏
  • 举报
回复
Failed to access IIS metabase. ?估计你这个test虚拟目录有什么问题,重新建然后设置成应用程序
孟子E章 2005-01-28
  • 打赏
  • 举报
回复
照着
http://support.microsoft.com/?kbid=267904

里的做
YICK 2005-01-28
  • 打赏
  • 举报
回复
UP

62,041

社区成员

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

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

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

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