2017-08-16 56 views
0

我已经在IIS-10上部署了ASP.NET Core 1.1.1应用程序Windows 10后面的this教程。但是,当我尝试在IIS打开Modules,我得到以下错误[对于明确的看法,你可以在图像上点击放大]:无法在IIS中打开ASP.NET Core网站的模块

enter image description here

注意

  1. 这是一个开发机器,并已安装如下所示: enter image description here
  2. 应用程序的应用程序池如下所示:

enter image description here

而Web.config文件

<?xml version="1.0" encoding="utf-8"?> 
<configuration> 

    <!-- 
    Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380 
    --> 

    <system.webServer> 
    <handlers> 
     <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/> 
    </handlers> 
    <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/> 
    </system.webServer> 
</configuration> 

UPDATE:问题可能已涉及到this

+0

您可以将它改为''? – Win

回答

1

事实证明,ASP.NET Core Module单独安装从SDK和我需要安装ASP.NET Core Module以解决上述问题a在这post解释。感谢@natemcmaster帮助我解决问题。