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:
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-->
瀏覽的網頁,我收到以下消息: 然而,當我從web.config中刪除
<aspNetCore processPath="dotnet" arguments=".\MES.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
我沒有收到(有作爲錯誤,同時執行此操作)錯誤,但我得到以下錯誤:
非常感謝您的支持。
IIS:ASP.NET4.5的機器 –
上安裝@FaridFarzin那是沒用的。 ASP.NET Core完全是一個單獨的下載。 –