ASP.NET权限解决
来源:互联网 发布:软件开发是什么职业 编辑:程序博客网 时间:2024/06/05 00:55
ASP.NET Error: Failed to access IIS metabase
This error showed up prior to the error "Mutex cannot be created" which I descirbed in my last post. I wrote down this to help other poor guys saving their poor time.
The more complete error message is as following:
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).
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
If the problem is still here, I have no more ideas so far.
- ASP.NET权限解决
- ASP.Net的一个文件访问权限错误之解决
- 虚拟主机上asp.net运行权限不足问题及解决
- 解决ASP.NET 中目录访问权限的问题
- 访问ASP.NET页面时候出现权限问题的解决
- 虚拟主机上asp.net运行权限不足问题及解决
- 解决ASP.NET中目录访问权限的问题
- 虚拟主机上asp.net运行权限不足问题及解决
- 解决ASP.NET中目录访问权限的问题
- FCKEditor 2.6.3 Asp.net上传文件没有权限解决
- 解决asp.net页面插入数据时权限不足问题
- FCKEditor 2.6.4 Asp.net上传文件没有权限解决
- FCKEditor 2.6.4 Asp.net上传文件没有权限解决
- 虚拟主机上asp.net运行权限不足问题及解决
- 解决 asp.net调用office 2007 DCOM 权限问题
- asp.net 权限设置
- asp.net权限设计方案
- asp。net权限控制
- J2ME学习系列之如何将J2ME与XML集成
- try
- Active Report报表显示Access数据库的照片
- 特殊格式报文的实现
- 实用的DBHelper
- ASP.NET权限解决
- 如何提高你的工作效率?
- error while loading shared libraries的解決方法
- VB中如何设定COM组件和ActiveX控件的CLSID值
- Ajax 弹出登陆框的实现原理
- 组合条件查询
- 让人喷饭的“百度·知道”问答
- 4870*2试用
- 有能力和经验,不愿意答笔试题怎么办?