Wcf 无法在此路径上使用此配置节。加上&书信电报;已启用匿名身份验证=";“真的”/&燃气轮机&引用;
我在我的应用程序中遇到了一个与特定wcf服务调用中丢失会话相关的错误,我的托管公司通过添加以下标记解决了这个问题Wcf 无法在此路径上使用此配置节。加上&书信电报;已启用匿名身份验证=";“真的”/&燃气轮机&引用;,wcf,session,iis,Wcf,Session,Iis,我在我的应用程序中遇到了一个与特定wcf服务调用中丢失会话相关的错误,我的托管公司通过添加以下标记解决了这个问题 <security> <authentication> <basicAuthentication enabled="false" /> <anonymousAuthentication enabled="true" /> <windowsAuthentication enabled="false" /
<security>
<authentication>
<basicAuthentication enabled="false" />
<anonymousAuthentication enabled="true" />
<windowsAuthentication enabled="false" />
</authentication>
</security>
但是,现在,当我在另一台服务器上部署live时,我遇到了错误
无法在此路径上使用此配置节。红色的匿名认证
我在谷歌上搜索了一下,他们说我必须在ApplicationConfig中更改它,我更改如下
<section name="anonymousAuthentication" overrideModeDefault="Allow" />
<section name="basicAuthentication" overrideModeDefault="Allow" />
<section name="clientCertificateMappingAuthentication" overrideModeDefault="Allow" />
<section name="digestAuthentication" overrideModeDefault="Allow" />
<section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Allow" />
<section name="windowsAuthentication" overrideModeDefault="Allow" />
但是我仍然面临着同样的错误,任何帮助都将不胜感激。我被卡住了…听起来好像在另一台服务器上有一个更高的配置阻止你应用匿名配置 你或你的管理员需要检查父配置文件,以确保它没有被阻止