Tôi đang sử dụng Visual Studio 2010 SP1 trong Windows 7 64bit dev hộp. Asp.net của tôi hoạt động tốt khi sử dụng IIS trên hộp nhưng khi tôi chuyển sang sử dụng Visual Studio Development Server, tôi nhận được ngoại lệ "System.Web.HttpException: Không thể xác thực dữ liệu" trong dòng này (trong sự kiện Application_AuthenticateRequest trong global.asax .cs):"System.Web.HttpException: Không thể xác thực dữ liệu" lỗi trong VS Development Server nhưng không phải trong IIS
FormsAuthenticationTicket authTicket = FormsAuthentication.Decrypt(authCookie.Value);
Tại sao điều này không thành công khi sử dụng máy chủ web nội bộ?
Tôi gặp sự cố tương tự - Vui lòng trợ giúp http://stackoverflow.com/questions/34653227/how-to-decrypt-the-cookie-inside-custom-url-rewrite-provider – codetoshare