在 Visual Studio 2010 和 Windows 10 中创建虚拟目录、IIS 时出错
Posted
技术标签:
【中文标题】在 Visual Studio 2010 和 Windows 10 中创建虚拟目录、IIS 时出错【英文标题】:Error creating virtual directory, IIS in visual studio 2010 and in windows 10 【发布时间】:2018-02-21 03:12:30 【问题描述】:当我尝试创建虚拟目录时,出现以下对话框:
Error while creating virtual directory
我试过 aspnet_regiis -i 但它的提示是这样的:
command prompt error
请帮忙。
谢谢。
【问题讨论】:
【参考方案1】:您需要使用服务器管理器并使用角色和功能在 Windows 服务器操作系统中安装 .Net 功能。
您也可以使用 dism 通过命令行启用该功能。
对于桌面操作系统,您可以使用 appwiz.cpl 并选择 Turn on feature on off
【讨论】:
感谢您的帮助。但是我已经按照您的建议拥有了这些,但仍然无法正常工作。以上是关于在 Visual Studio 2010 和 Windows 10 中创建虚拟目录、IIS 时出错的主要内容,如果未能解决你的问题,请参考以下文章
在 Visual Studio 2010 和 Visual Studio 2012 中,带有 col、colgroup、tbody 和 thead 的 HTML 表格标记引发编译错误
visual studio 2010 简体中文版编程软件怎么安装