Web Application Project is configured to use IIS. Unable to access the IIS metabase.(配置为使用IIS Web应用程序xxxx项目。无法访问IIS元数据库。)
2016-02-05 18:17
351 查看
这几天重装系统,装了win10,居然用vs2013打开项目出现下面这个提示错误,搞了很久才知道原因:
Even though I am an administrator on the machine, Visual Studio is not running as administrator so it does not have permission to the IIS metabase files. One solution is to run Visual Studio as administrator. This works but you can also take ownership of the IIS metabase files to fix this too.
其实很简单,到下面的目录,点击继续即可:(Browse to C:\Windows\System32\inetsrv and then double-click the “config” directory to get this warning dialog:)
然后再到config双击(Browse to C:\Windows\System32\inetsrv and then double-click the “config” directory to get this warning dialog:)
Do the same for the C:\Windows\System32\inetsrv\config\export directory and also the other directories in C:\Windows\System32\inetsrv.
Now you will be able to open the Visual Studio Web Application Project without a problem.
之后,你再打开vs试试,就没有开头的错误提示了!OK!
Even though I am an administrator on the machine, Visual Studio is not running as administrator so it does not have permission to the IIS metabase files. One solution is to run Visual Studio as administrator. This works but you can also take ownership of the IIS metabase files to fix this too.
其实很简单,到下面的目录,点击继续即可:(Browse to C:\Windows\System32\inetsrv and then double-click the “config” directory to get this warning dialog:)
然后再到config双击(Browse to C:\Windows\System32\inetsrv and then double-click the “config” directory to get this warning dialog:)
Do the same for the C:\Windows\System32\inetsrv\config\export directory and also the other directories in C:\Windows\System32\inetsrv.
Now you will be able to open the Visual Studio Web Application Project without a problem.
之后,你再打开vs试试,就没有开头的错误提示了!OK!
相关文章推荐
- Error:Cause: org/gradle/api/publication/maven/internal/DefaultMavenFactory Android
- unity + vuforia 初体验
- Android Touch 事件传递机制
- iOS开发系列--数据存取
- iOS开发系列--地图与定位
- 深入理解Android的startservice和bindservice
- iOS开发系列--通讯录、蓝牙、内购、GameCenter、iCloud、Passbook系统服务开发汇总
- android如何让service不被杀死
- 【同行说技术】iOS从小白到大神必读资料汇总(五)
- iOS开发系列--音频播放、录音、视频播放、拍照、视频录制
- android4.0手机访问某些网页提示证书过期或者证书不符的处理办法
- android适配
- Android 内存泄漏总结
- 微信支付配置信息,JSAPI接口,H5调用微信js接口支付,微信公众号支付
- ubuntu运行genymotion出错 error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared
- Android开发学习——Day1 Android开发环境配置
- Android 外存数据的读写
- android —— 简易仿ZAKER手机阅读APP
- android 选择图片以及拍照,保存图片
- H5开发HybridApp