2012-05-20 12 views
2
我有我的有關會議具體WCF服務呼叫丟失的應用程序中的錯誤

,我的託管公司解決它通過添加下面的標籤此配置節不能用於此路徑。與「<anonymousAuthentication啓用=」真「/>」

<security> 
    <authentication> 
    <basicAuthentication enabled="false" /> 
    <anonymousAuthentication enabled="true" /> 
    <windowsAuthentication enabled="false" /> 
    </authentication> 
</security> 

然而現在,當我在另一臺服務器上進行實時部署時,出現錯誤 此配置節不能用於此路徑。與anonymousAuthenticaiton紅色。

我GOOGLE了它,他們說我必須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" /> 

但我仍然面臨次同樣的錯誤,任何幫助,將不勝感激我如此堅持..

回答

1

聽起來像在其他服務器上有一個更高的配置,這是阻止你應用匿名配置。

您或您的管理員需要檢查父配置文件以確保它不被阻止。

相關問題