我已經找出了問題所在。
雖然我有所有項目的初始問題沒有調試聯邦項目原來是一個特例。我一直走在休假和忘記了我有這個在我的web配置
<federatedAuthentication>
<!--
<wsFederation passiveRedirectEnabled="false" issuer="https://localhost/FederationProvider/"
realm="https://localhost/Application/Home/FederationResult" requireHttps="true" />
-->
<wsFederation passiveRedirectEnabled="false" issuer="https://localhost/Issuer/"
realm="https://localhost/Application/Home/FederationResult" requireHttps="true" />
<cookieHandler requireSsl="true" path="/Application/" />
</federatedAuthentication>
當我改變了,所以我現在用的是聯邦者,而不是直接發行調試器工作。
<federatedAuthentication>
<wsFederation passiveRedirectEnabled="false" issuer="https://localhost/FederationProvider/"
realm="https://localhost/Application/Home/FederationResult" requireHttps="true" />
<!--
<wsFederation passiveRedirectEnabled="false" issuer="https://localhost/Issuer/"
realm="https://localhost/Application/Home/FederationResult" requireHttps="true" />
-->
<cookieHandler requireSsl="true" path="/Application/" />
</federatedAuthentication>
我覺得很愚蠢,因爲沒有意識到這一點。 VS2010太聰明瞭。
感謝您的提示......我已經弄清楚它是什麼。 – Peter 2012-01-12 00:44:54