【问题标题】:Error creating virtual directory, IIS in visual studio 2010 and in windows 10在 Visual Studio 2010 和 Windows 10 中创建虚拟目录、IIS 时出错
【发布时间】:2018-02-21 03:12:30
【问题描述】:

当我尝试创建虚拟目录时,出现以下对话框:

Error while creating virtual directory

我试过 aspnet_regiis -i 但它的提示是这样的:

command prompt error

请帮忙。

谢谢。

【问题讨论】:

    标签: c# .net visual-studio-2010 asp.net-mvc-4 iis


    【解决方案1】:

    您需要使用服务器管理器并使用角色和功能在 Windows 服务器操作系统中安装 .Net 功能。

    您也可以使用 dism 通过命令行启用该功能。

    对于桌面操作系统,您可以使用 appwiz.cpl 并选择 Turn on feature on off

    【讨论】:

    • 感谢您的帮助。但是我已经按照您的建议拥有了这些,但仍然无法正常工作。
    猜你喜欢
    • 1970-01-01
    • 2011-03-06
    • 2015-11-24
    • 2012-08-21
    • 1970-01-01
    • 2012-02-02
    • 1970-01-01
    • 1970-01-01
    • 2010-09-20
    相关资源
    最近更新 更多