Visual Studio 2013和ASP.NET Web配置工具 [英] Visual Studio 2013 and ASP.NET Web Configuration Tool

查看:181
本文介绍了Visual Studio 2013和ASP.NET Web配置工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2013,并且您可能知道没有ASP.NET Web配置工具.我希望一如既往地扮演快速角色,等等.我尝试使用本文启用它:

I'm using Visual Studio 2013 and as you probably know there is no ASP.NET Web Configuration Tool. I wanted as always make fast roles etc. I tried enable it using this article: http://blogs.msdn.com/b/webdev/archive/2013/08/19/asp-net-web-configuration-tool-missing-in-visual-studio-2013.aspx?PageIndex=2#comments . But I'm getting "Invalid application path" error. Any solutions to this error or workarounds?

推荐答案

在控制台上,完全复制并粘贴此处编写的内容:

On the console, copy and paste exactly what is written here:

"C:\Program Files\IIS Express\iisexpress.exe" /path:c:\windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles /vpath:"/asp.netwebadminfiles" /port:8089 /clr:4.0 /ntlm

是否以管理员权限打开cmd.exe都没关系,只需将上面的代码复制粘贴到控制台上,直到完成后才用"q"退出!

It doesn't matter if you open cmd.exe with administrator privileges or not, just copy paste the above code on the console and don't exit with "q" until you're done!

然后打开浏览器窗口并将其写在地址栏上:

Then open a browser window and write this on the address bar:

http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[Exact_Project_Path]\&applicationUrl=/

请务必复制&直接从Windows资源管理器粘贴您的项目路径,它将起作用;)

Be sure to copy & paste your project path from windows explorer as it is, it will work ;)

我希望Microsoft将此内容重新添加到VS2013的下一个更新中!任何人都不方便复制&像过去一样粘贴代码以处理成员身份...

I hope Microsoft adds this back to the next update of VS2013! It's not convenient for anybody to copy & paste codes around just to handle membership like we did in the past...

希望有帮助!

重要很抱歉,我只是意识到如果您以管理员权限启动控制台很重要.不要那样做如果控制台具有管理员权限,则Web配置工具会在安全性"页面上显示此错误:

您选择的数据存储有问题.这可能是由无效的服务器名称或凭据引起的,或者是由不充分的原因引起的 允许.这也可能是由于角色管理器功能不 被启用.点击下面的按钮,将页面重定向到 您可以选择一个新的数据存储.以下消息可能有助于 诊断问题:访问路径 'C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \临时ASP.NET 文件\ root \ 1c3fef5c \ 2180c7f9 \ hash'被拒绝.

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\1c3fef5c\2180c7f9\hash' is denied.

这篇关于Visual Studio 2013和ASP.NET Web配置工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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