Visual Studio 2013:无法访问IIS元数据库 [英] Visual Studio 2013: Unable to access IIS metabase

查看:131
本文介绍了Visual Studio 2013:无法访问IIS元数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows 7计算机上的Visual Studio 2013中打开一个asp.net MVC项目.我收到有关无法访问IIS元数据库的错误.我尝试了所有可以在网上找到的建议,但无法使其正常工作.我们公司的主要变化是本地文件服务器出现故障.这保存了所有我的文档".我猜那里需要一些东西,但是我不知道该文件是什么或如何还原它.我无法对网站进行任何更改,而我的老板们却在追捕我以完成更改,所以我非常绝望.有人可以给我解决方案吗?

I'm trying to open an asp.net MVC project in Visual Studio 2013 on a Windows 7 machine. I'm getting an error about being unable to access the IIS metabase. I've tried every suggestion I could find on the web, but am unable to get this to work. The major change at our company is that our local file server went down. This held all of My Documents. I'm guessing that there was something in there that I need, but I don't know what that file is or how to restore it. I'm unable to make any changes to sites and my bosses are hounding me to get changes done, so I'm pretty desperate. Can someone give me a solution?

如果我使用Visual Studio解决方案文件打开该站点,则会收到一条消息,指出该项目无法加载.如果我右键单击它并选择重新加载,则会收到一条消息,内容为:创建虚拟目录 http://localhost:1436/失败,并显示以下错误:无法访问IIS元数据库.您没有足够的权限访问计算机上的IIS网站."

If I open the site using the Visual Studio solution file, I get a message saying that the project failed to load. If I right click on it and choose reload, I get a message saying, "Creation of the virtual directory http://localhost:1436/ failed with the error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine."

如果我将网站作为网站打开(不使用解决方案或项目文件),则会收到错误消息配置IIS Express失败,并出现以下错误:无法访问IIS元数据库.您没有足够的特权来访问您计算机上的IIS网站."

If I open the site as a web site (not using the solution or project files), I get the error "Configuring IIS Express failed with the following error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine."

这是我尝试过的所有内容的列表.这似乎是人们所拥有的大多数想法,但是我希望可以找到另外一种解决方案.

Here's a list of everything I tried. This seems to be most of the ideas people have had, but I'm hoping there's another solution out there you can come up with.

转到%systemroot%\ System32 \ inetsrv \ config

Went to %systemroot%\System32\inetsrv\config

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