Abbiamo rilevato un problema durante la distribuzione dell'applicazione MVC sul server IIS7: qualsiasi route di navigazione dà errore 404. Ho trovato sul web che problema può essere risolto impostando pool di applicazioni gestite modalità pipeline per integrato, ma ora abbiamo eccezione:Problema di routing ASP MVC con IIS7
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);
Qualcuno ha qualche idea?