用Visual Studio2008 启动调试时出现以下错误:

configuring web site  for asp.net failed  you must manually configure this site.....

在IE中浏览网页时:

访问IIS元数据库失败

异常详细信息: System.Web.Hosting.HostingEnvironmentException: 访问 IIS 元数据库失败。 

解决办法:

到 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 这个目录下执行:

aspnet_regiis.exe -i

aspnet_regiis.exe -ga aspnet

相关文章:

  • 2021-09-12
  • 2022-01-07
  • 2021-05-31
  • 2022-12-23
  • 2021-08-16
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2022-01-04
相关资源
相似解决方案