am getting the following error when a sub domain is receiving a shared cookie:
I have this in both web.config of each application. The 1.1 application
does not have the decryption= value because you cannot have that for 1.1 or
asp.net will error out. The source application is coded in .NET 2.0 but the
target application that's sharing the source app's cookie is a .NET 1.1 app.
<machineKey
validationKey=" 157D2DCDD329944 9RD4C15DGFC06C9 D7742CDEB5CC6B2 F3146A954TR4C98 182FF0HF97E63FF E44YU7K37412DAE AEA41DE12DA90FB 21320D6467E5282 A7ADDC"
decryptionKey=" 7JU1C60AREEB883 1524C03B273F696 3BCA8GTB3CCECBA 7U4"
validation="SHA 1" decryption="3DE S" />
Unexpected Problem Occurred!
This error has been logged. If this problem persists please contact the web
master.
More Information...
Detailed error information follows:
Date and Time: 8/18/2006 10:13:35 PM
Machine Name: srV_sgg
Process User: srV_sgg\ASPNET
Remote User:
Remote Address: 127.0.0.1
Remote Host: 127.0.0.1
URL: http://www.test.com/Default.aspx
NET Runtime version: 2.0.50727.42
Application Domain: /LM/W3SVC/2/Root-1-128004307979440 000
Assembly Codebase:
C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Assembly Full Name: mscorlib, Version=2.0.0.0 , Culture=neutral ,
PublicKeyToken= b77a5c561934e08 9
Assembly Version: 2.0.0.0
Assembly Build Date: 9/23/2005 7:28:56 AM
Exception Type: System.Security .Cryptography.C ryptographicExc eption
Exception Message: Length of the data to decrypt is invalid.
Exception Source: mscorlib
Exception Target Site: TransformFinalB lock
---- Stack Trace ----
System.Security .Cryptography.R ijndaelManagedT ransform.Transf ormFinalBlock(i nputBuffer As Byte[], inputOffset As Int32, inputCount As Int32)
(unknown file): N 1493330
System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
(unknown file): N 00030
System.Web.Conf iguration.Machi neKeySection.En cryptOrDecryptD ata(fEncrypt
As Boolean, buf As Byte[], modifier As Byte[], start As Int32, length As
Int32, useValidationSy mAlgo As Boolean)
(unknown file): N 00154
System.Web.Secu rity.FormsAuthe ntication.Decry pt(encryptedTic ket As String)
(unknown file): N 00247
InstantASP.Comm on.Authenticati on.Authenticati on.Ticket()
(unknown file): N 00025
InstantASP.Inst antForum.UI.Con trols.Default.I nitialize(ctlSk in As Control)
(unknown file): N 00019
InstantASP.Comm on.UI.Base.Skin .CreateChildCon trols()
(unknown file): N 00030
InstantASP.Inst antForum.UI.Ski nning.Base.Crea teChildControls ()
(unknown file): N 00037
System.Web.UI.C ontrol.EnsureCh ildControls()
(unknown file): N 00087
System.Web.UI.C ontrol.PreRende rRecursiveInter nal()
(unknown file): N 00041
System.Web.UI.C ontrol.PreRende rRecursiveInter nal()
(unknown file): N 00161
System.Web.UI.C ontrol.PreRende rRecursiveInter nal()
(unknown file): N 00161
System.Web.UI.C ontrol.PreRende rRecursiveInter nal()
(unknown file): N 00161
System.Web.UI.C ontrol.PreRende rRecursiveInter nal()
(unknown file): N 00161
System.Web.UI.P age.ProcessRequ estMain(include StagesBeforeAsy ncPoint As
Boolean, includeStagesAf terAsyncPoint As Boolean)
The 1.1 application that is doing am encrypt and decrypt on the cookie using
the System.Web.Secu rity.FormsAuthe ntication.Encry pt and
System.Web.Secu rity.FormsAuthe ntication.Decry pt methods
--
dba123