Wednesday, December 10, 2003

 

"Bad Data" error at FormsAuthentication.Decrypt method call

"Bad Data" error appears in .NET Framework 1.1.
"Bad Data" appears if Authentication ticket is encrypted in one Virtual Folder application and is decrypted in another Virtual Folder application.
In order to prevent this "Bad Data" error you need to remove "IsolateApps" attribute from element in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config file.

See also:
microsoft.public.dotnet.framework.aspnet.security group: "System.Security.Cryptography.CryptographicException: Bad Data Error"

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?