问题描述
我正在尝试将新的asp.net core 5(5.0.100-rc.1.20452.10)应用程序部署到Win 10和Windows Server 2019上的IIS。
我已经使用Visual Studio将应用程序部署到具有ApplicationPoolIdentity的默认网站,并授予了对“ IIS_IUSRS”和“每个人”的完全访问权限。
我仍然得到:
当我尝试在IIS管理器中打开配置时,出现“数据无效”错误:
webconfig看起来很正常:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processpath="dotnet" arguments=".\MyApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
我想我已经安装了所有IIS功能:
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)