无法加载web api项目 [英] Unable to load web api project

查看:89
本文介绍了无法加载web api项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2017 windows 10中加载我的一个项目时出现以下错误。

I am etting following error while loading one of my projects in VS2017 windows 10.

The Web Application Project SomeWebProject is configured to use IIS.  Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.





我尝试了什么:



我尝试以管理员身份运行Visual Studio 2017。但得到同样的错误。



What I have tried:

I tried running Visual Studio 2017 as an Administrator. But getting same error.

推荐答案

在一些R& D之后,我找到了以下步骤来解决这个问题:

首先,我必须安装Windows功能如下



控制面板>>打开/关闭Windows功能>>互联网信息服务? Web管理工具>> IIS6管理兼容性>> IIS元数据库和配置。



稍后将Visual Studio设置为管理员。
After some R&D, I found following steps to fix this:
First, I have to install Windows Feature as below

Control Panel >> Turn on/Off Windows Feature >> Internet Information Services ?? Web Management Tool >> IIS6 Management Compatibility >> IIS Metabase and Configuration.

And later set Visual Studio run as administrator.


这篇关于无法加载web api项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆