I am using Visual Studio 2010 SP1 in Windows 7 64bit dev box. My asp.net works fine when using IIS on the box but when I switch to using Visual Studio Development Server, I get an exception "System.Web.HttpException: Unable to validate data" in this line (in Application_AuthenticateRequest event in global.asax.cs):
FormsAuthenticationTicket authTicket = FormsAuthentication.Decrypt(authCookie.Value);
Why does this fail when using the internal web server?