您的位置:首页 > 编程语言 > ASP

ASP.NET Error: Failed to access IIS metabase

2007-01-17 14:16 477 查看
The solution is still simple, execute this in command line:

aspnet_regiis -ga <user_name>

The aspnet_regiis.exe is under Windows/Microsoft.NET/v2.0.50727, and <user_name> should be replaced with your account to run the ASP.NET website. You can check it in your website properties dialog in IIS.

If it still doesn't work, you can try to do this as last step:

aspnet_regiis -i -enable

And then execute this to restart related services (usually W3SVC and IISADMIN):

net stop iisadmin
net start w3svc
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: