自分では解決できない問題があります。
このWebサイト(ASP.NET)が仮想マシンで実行されています。webSiteはOKでした.....私が1つのことを理解するまで...
アプリケーションはWindows8のIEでは動作しません。理由はわかりません。
エラーの説明は次のとおりです。
「このアプリケーションではCookieなしのフォーム認証はサポートされていません」
システムは、ユーザーデータを保持するためにCookieを使用します。web.configファイルは次のように設定されています。
<sessionState cookieless="UseCookies" mode="StateServer"
sqlConnectionString="SessionState" timeout="45" />
ロールマネジャー(システムはCookieにもロールを保持します):
<roleManager enabled="true" defaultProvider="SCAProvider"
cookieRequireSSL="false" cacheRolesInCookie="true"
cookieTimeout="45" cookieProtection="All">
認証:
<authentication mode="Forms">
<forms name="AutenticacaoNFo" protection="All" requireSSL="false"
slidingExpiration="true" loginUrl="login.aspx" path="/"
timeout="45" />
</authentication>
これが問題が発生するコードの部分です...stackTraceによると:
public void FormsAuthentication_OnAuthenticate(object sender,
FormsAuthenticationEventArgs args){
if (FormsAuthentication.CookiesSupported)
{
if (Request.Cookies[FormsAuthentication.FormsCookieName] != null)
{
try
{
FormsAuthenticationTicket ticket = FormsAuthentication.Decrypt(
Request.Cookies[FormsAuthentication.FormsCookieName].Value);
args.User = new System.Security.Principal.GenericPrincipal(
new Samples.AspNet.Security.MyFormsIdentity(ticket),
new string[0]);
}
catch (Exception e)
{
// Decrypt method failed.
}
}
}
else
{
throw new HttpException("Cookieless Forms Authentication is not " +
"supported for this application.");
}
}
私が行方不明になっているのは単純なことかもしれませんが....しかし、私は本当にエラーを見ることができませんでした...お時間をいただきありがとうございます。
PS:webSiteは、Windows 8 IEを除いて、通常どおりどのブラウザーでも機能します。