Decryption, cookies - "Bad Data"

From: Jose (discussions_at_avandis.co.uk)
Date: 06/28/05


Date: 28 Jun 2005 08:59:30 -0700

Hello all,

We have just moved an application from one server to another. The site
has a "remember me" option whereby the user is not required to enter in
any credentials instead they are read from a cookie.

We have been getting some strange errors:

Error Message: "Bad Data".
Error Stack Trace: at
System.Security.Cryptography.CryptoAPITransform._DecryptData(IntPtr
hKey, Byte[] rgb, Int32 ib, Int32 cb, Boolean fDone)

How is the "decryption key" produced - is it possible that it is
related to the server in the same way that ViewState is tied to the
particular server it came from? Please note that this is my attempt to
explain this error.

Thanks in advance,
Jose



Relevant Pages

  • Re: Excel 2007 connection
    ... Cannot connect to the server provided in the connection string: ... System.Net.Sockets.Socket.Receive(Bytebuffer, Int32 offset, Int32 ... Can someone confirm he can connect from Excel 2007 to SSAS? ... The Feature pack also contains the SQL Server Client ...
    (microsoft.public.sqlserver.olap)
  • Re: groups of 6398, 7076 6482 errors in event log
    ... | I have a multi server farm with 2 front ends and a database server ... | SecureString password, TimeSpan idleTimeout, TimeSpan ... | name, Int32 identityType, String userName, String password, TimeSpan ...
    (microsoft.public.sharepoint.portalserver)
  • Re: owa in migration
    ... Windows Small Business Server 2008 Unleashed ... Exception message: Exchange Active Directory Topology Service on server ... currentlyUsedServers, ADServerRole role, Int32 serversRequested, Int32& ... QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, ...
    (microsoft.public.windows.server.sbs)
  • Exchange 2007 OWA Errors
    ... Windows 2003/Exchange 2003 server, which is retiring. ... Exception message: ... Int32[]& mapping) ... QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 ...
    (microsoft.public.exchange.admin)
  • RE: owa in migration
    ... Exception message: Exchange Active Directory Topology Service on server ... currentlyUsedServers, ADServerRole role, Int32 serversRequested, Int32& ... QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, ...
    (microsoft.public.windows.server.sbs)