IIS7サーバーにMVCアプリケーションを展開する際に問題が発見されました。いずれのルートナビゲーションでも404エラーが発生します。私はこの問題は、統合にアプリケーションプールの管理パイプラインモードを設定することで解決することができるウェブ上で見つけたが、今、私たちは例外を持っている:IIS7でのASP MVCルーティングの問題
Request is not available in this context
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Request is not available in this context
Source Error:
Line 19:
Line 20: public override void SetActiveUser(Guid userOid) {
Line 21: FormsAuthentication.SignOut();
Line 22: HttpContext.Current.Items[Key] = userOid.ToString();
Line 23: FormsAuthentication.RedirectFromLoginPage(userOid.ToString(), true);
誰もが任意のアイデアを持っていますか?