Web Application Project is configured to use IIS. Unable to access the IIS metabase.(配置为使用IIS Web应用程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Web Application Project is configured to use IIS. Unable to access the IIS metabase.(配置为使用IIS Web应用程相关的知识,希望对你有一定的参考价值。

这几天重装系统,装了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!

 

以上是关于Web Application Project is configured to use IIS. Unable to access the IIS metabase.(配置为使用IIS Web应用程的主要内容,如果未能解决你的问题,请参考以下文章

Why does the memory usage increase when I redeploy a web application?

从web.config中删除程序集

spring boot 1.5.4 之web开发

eclipse安装好javaFX插件后新建javaFX project报错,javaFX不能import,求解决。

android application project 开发准备工作

Sonata-Project 的 Google Authenticator:来自 Application\Sonata\UserBundle\Entity\User 的未定义方法“getTwoStep