Visual Studio 2013和ASP.NET Web配置工具

编程入门 行业动态 更新时间:2024-10-23 06:28:15
本文介绍了Visual Studio 2013和ASP.NET Web配置工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Visual Studio 2013,并且您可能知道没有ASP.NET Web配置工具.我希望一如既往地扮演快速角色,等等.我尝试使用本文启用它: blogs.msdn/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: blogs.msdn/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:"/aspwebadminfiles" /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:

localhost:8089/aspwebadminfiles/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配置工具

本文发布于:2023-11-07 06:28:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565770.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:工具   Studio   Visual   Web   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!