在Visual Studio 2013的Web配置选项 [英] Web Configuration option in Visual studio 2013

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

问题描述

我已经安装了Visual Studio 2013年和我试图配置asp.net网站允许或拒绝的权限组特定的,我已经通过Visual Studio中创建的网页,但我看不到任何选项来配置在视觉工作室previous版本。我已经研究并试图在该<提供的一些步骤href=\"http://stackoverflow.com/questions/20541680/visual-studio-2013-and-asp-net-web-configuration-tool\">LINK在没有任何运气计算器。

I have installed visual studio 2013 and I'm trying to configure asp.net web to allow or deny permissions to certain set of pages in website that I have created through visual studio, but I can't see any option to configure as in previous versions of Visual studios. I have researched and tried some steps provided in this LINK in stackoverflow without any luck.

我可以恢复到Visual Studio 2010/2012,但为什么它,我要恢复?有可能是为什么微软已取消该选项配置或理由的任何其他商业原因?

I can revert back to Visual studio 2010/2012, but why is it that I have to revert back ? There could be a reason why Microsoft has removed this option to configure or for any other commercial reasons ?

不管怎样,我这里主要的优先级如何得到我面对或有任何其他方式来实现它的问题的解决办法?我听说成员配置现在涉及到云2.0成员 - 源 - > COMMENT从其他用户的StackOverflow

Anyway, my main priority here is how to get a fix for the issue I am facing or is there any alternative ways to achieve it? I heard that configuring membership now involves cloud 2.0 Membership - source -> COMMENT FROM OTHER USER IN STACKOVERFLOW

我已经注册IISEX $ P $干燥综合征用这个命令:

I have registered IISEXPRESS with this command:

C:\\ Program Files文件\\ IIS防爆preSS \\ iisex press.exe
  /path:c:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\ASP.NETWebAdminFiles
  /vpath:\"/asp.netwebadminfiles/端口:8089 /clr:4.0 / NTLM

"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

,当我尝试打开的网址: <$c$c>http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[C:\\Users\\kiriti\\Documents\\Visual工作室2013 \\项目\\的WebSite1] \\&安培; applicationUrl = /

and when I try to open the url: http://localhost:8089/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[C:\Users\kiriti\Documents\Visual Studio 2013\Projects\WebSite1]\&applicationUrl=/

我得到一个错误说:

下面的消息可能有助于诊断问题信息:System.ArgumentException:参数PhysicalDirectory是无效的。参数名:PhysicalDirectory在System.Web.Configuration.VirtualDirectoryMapping..ctor(VirtualPath virtualDirectory,字符串physicalDirectory,布尔isAppRoot,字符串configFileBaseName)在System.Web.Configuration.VirtualDirectoryMapping..ctor(字符串physicalDirectory,布尔isAppRoot)在System.Web程序.Administration.WebAdminPage.OpenWebConfiguration(字符串路径,字符串appPhysPath,布尔getWebConfigForSubDir)在System.Web.Administration.WebAdminPage.VerifyAppValid()

The following message may help in diagnosing the problem: System.ArgumentException: The parameter 'PhysicalDirectory' is invalid. Parameter name: PhysicalDirectory at System.Web.Configuration.VirtualDirectoryMapping..ctor(VirtualPath virtualDirectory, String physicalDirectory, Boolean isAppRoot, String configFileBaseName) at System.Web.Configuration.VirtualDirectoryMapping..ctor(String physicalDirectory, Boolean isAppRoot) at System.Web.Administration.WebAdminPage.OpenWebConfiguration(String path, String appPhysPath, Boolean getWebConfigForSubDir) at System.Web.Administration.WebAdminPage.VerifyAppValid()

请帮帮忙!

推荐答案

从应用程序的物理路径删除[和]

remove '[' and ']' from your application physical path

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

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