Visual Studio 2013.您没有足够的权限访问您机器上的 IIS 网站 [英] Visual Studio 2013. You do not have sufficient privilege to access IIS web sites on your machine

查看:25
本文介绍了Visual Studio 2013.您没有足够的权限访问您机器上的 IIS 网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的 Windows 7 Ultimate x64 机器上安装了 VS2013 并打开了 IIS 7.尝试打开解决方案时,我得到:

I just installed VS2013 and turned on IIS 7 on my Windows 7 Ultimate x64 machine. When trying to open a solution I get:

创建虚拟目录 localhost:xxxxx 失败并显示错误:无法访问 IIS 元数据库.您没有足够的权限在您的机器上访问 IIS 网站.

Creation of the virtual directory localhost:xxxxx failed with the error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.

我尝试以管理员身份运行 Visual Studio 2013(右键单击,以管理员身份运行),仍然出现同样的错误.我也做了 aspnet_regiis -i 但它也没有帮助.

I tried running Visual Studio 2013 as Administrator (right click, run as administrator), still the same error. I also did aspnet_regiis -i and it didn't help either.

推荐答案

转到 C:WindowsSystem32inetsrv.单击配置文件夹.您将看到一个弹出窗口 - 您无权访问此文件夹 - 单击继续以永久访问此文件夹".对配置文件夹内的导出文件夹执行相同的操作.您应该能够打开解决方案,Web 应用程序项目将部署在 IIS 上.

Go to C:WindowsSystem32inetsrv. Click config folder. You will get a popup - "You don't have access to this folder - Click continue to permanently get access to this folder". Perform same for Export folder which is inside config folder. You should be able to open the solution and the web application project will be deployed on IIS.

这篇关于Visual Studio 2013.您没有足够的权限访问您机器上的 IIS 网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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