|
Home > Archive > Microsoft Content Management Server > October 2004 > Error occur when using CmsNiceUrlHttpModule
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error occur when using CmsNiceUrlHttpModule
|
|
|
| Hi Stefan,
Is there anything I set wrong? I am using form authentication...when
user login in and redirect to the original page, it prompts error.
But it works fine in public mode!
Here is the error log
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[]
modifier, Int32 start, Int32 length, Int32& dataLength) +194
System.Web.UI.LosFormatter.Deserialize(String input) +60
[HttpException (0x80004005): Authentication of viewstate failed. 1) If this
is a cluster, edit <machineKey> configuration so all servers use the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster. 2) Viewstate can only be posted back to the same page. 3) The
viewstate for this page might be corrupted.]
System.Web.UI.LosFormatter.Deserialize(String input) +117
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +101
Thanks!
Regards,
Ching
| |
| Stefan [MSFT] 2004-10-20, 7:47 am |
| Hi Ching,
this seems not to be related to the CmsNiceUrlHttpModule.
Please test without it.
Seems more to be a problem with your machine keys.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------
"Ching" <ching.siu@agenda-asia.com> wrote in message
news:#06pC2ltEHA.3292@TK2MSFTNGP12.phx.gbl...
> Hi Stefan,
>
> Is there anything I set wrong? I am using form authentication...when
> user login in and redirect to the original page, it prompts error.
> But it works fine in public mode!
>
> Here is the error log
>
> [HttpException (0x80004005): Unable to validate data.]
> System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[]
> modifier, Int32 start, Int32 length, Int32& dataLength) +194
> System.Web.UI.LosFormatter.Deserialize(String input) +60
>
> [HttpException (0x80004005): Authentication of viewstate failed. 1) If
this
> is a cluster, edit <machineKey> configuration so all servers use the same
> validationKey and validation algorithm. AutoGenerate cannot be used in a
> cluster. 2) Viewstate can only be posted back to the same page. 3) The
> viewstate for this page might be corrupted.]
> System.Web.UI.LosFormatter.Deserialize(String input) +117
> System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +101
>
> Thanks!
>
> Regards,
> Ching
>
>
| |
|
|
|
|
|
|
|