zoukankan      html  css  js  c++  java
  • Web Application Project is configured to use IIS. Unable to access the IIS metabase.(配置为使用IIS Web应用程序xxxx项目。无法访问IIS元数据库。)

    这几天重装系统,装了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:WindowsSystem32inetsrv and then double-click the “config” directory to get this warning dialog:)

    然后再到config双击(Browse to C:WindowsSystem32inetsrv and then double-click the “config” directory to get this warning dialog:)

    Do the same for the C:WindowsSystem32inetsrvconfigexport directory and also the other directories in C:WindowsSystem32inetsrv.

    Now you will be able to open the Visual Studio Web Application Project without a problem.

    之后,你再打开vs试试,就没有开头的错误提示了!OK!

  • 相关阅读:
    转:Image与byte之间互转
    转:C#清除回收站
    设计模式:装饰模式
    设计模式:策略模式
    设计模式:简单工厂
    分享一套简单的CodeSmith三层模板
    CodeSmith读取数据库
    从学CodeSmith谈程序员学习方法
    Elasticsearch常用基础操作
    idea java 1.5 过时
  • 原文地址:https://www.cnblogs.com/lifuyun/p/lifuyun2016020501.html
Copyright © 2011-2022 走看看