2017-09-13 103 views
1

我收到(執行此操作時發生錯誤)錯誤,請參閱web.config。我按照以下配置:IIS(執行此操作時發生錯誤)

  • OS is Windows server 2012 R2 with IIS version 8.5.
  • URL Rewrite 2.1 module is installed on the machine.
  • IIS_IUSRS has full access to the directory.
  • Application Initialization module is installed
  • .Net CLR Version v4.0.30319 and managed pipeline mode is integrated.
  • IIS configuration is as below:

  • enter image description here

  • enter image description here
    Web config is as below:
<?xml version="1.0" encoding="utf-8"?> 
    <configuration> 
     <system.webServer> 
     <handlers> 
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" /> 
     </handlers> 
     <aspNetCore processPath="dotnet" arguments=".\MES.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /> 
     </system.webServer> 
    </configuration> 
    <!--ProjectGuid: e8701310-485f-4f88-b7d0-1473d07238ac--> 

瀏覽的網頁,我收到以下消息: enter image description here 然而,當我從web.config中刪除

<aspNetCore processPath="dotnet" arguments=".\MES.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /> 

我沒有收到(有作爲錯誤,同時執行此操作)錯誤,但我得到以下錯誤: enter image description here

非常感謝您的支持。

回答

相關問題