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

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

问题描述

我使用的是 Visual Studio 2013,您可能知道没有 ASP.NET Web 配置工具.我想一如既往地制作快速角色等.我尝试使用这篇文章启用它:http://blogs.msdn.com/b/webdev/archive/2013/08/19/asp-net-web-configuration-tool-missing-in-visual-studio-2013.aspx?PageIndex=2#comments.但我收到无效的应用程序路径"错误.此错误的任何解决方案或解决方法?

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 FilesIIS Expressiisexpress.exe" /path:c:windowsMicrosoft.NETFrameworkv4.0.30319ASP.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 ;)

我希望微软在 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:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NETFiles oot1c3fef5c2180c7f9hash' 被拒绝.

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

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