Microsoft Content Management Server - Error occur when using CmsNiceUrlHttpModule

This is Interesting: Free IT Magazines  
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
Ching

2004-10-20, 2:46 am

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
>
>



Ching

2004-10-21, 2:47 am

Thanks Stefan, but I got nothing wrong if I removed the
CmsNiceUrlHttpModule. Actually I encoutnered the same problem in using
CmsSslHttpModule...


"Stefan [MSFT]" <stefang@online.microsoft.com> 撰寫於郵件新聞:%233i8ztotEHA.3088@tk2msftngp13.phx.gbl...
> 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...
> this
>
>



Stefan [MSFT]

2004-10-21, 7:47 am

Hi Ching,

The stack dump below does not indicate a problem in one of my modules.
Please remove both of my modules and check if the problem persists.

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:uFxCT2xtEHA.3860@TK2MSFTNGP09.phx.gbl...
> Thanks Stefan, but I got nothing wrong if I removed the
> CmsNiceUrlHttpModule. Actually I encoutnered the same problem in using
> CmsSslHttpModule...
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com>

撰寫於郵件新聞:%233i8ztotEHA.3088@tk2msftngp13.phx.gbl...
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm[vbcol=seagreen]
http://www.gotdotnet.com/community/...t+S
erver
[vbcol=seagreen]
authentication...when[vbcol=seagreen]
Byte[][vbcol=seagreen]
same[vbcol=seagreen]
a[vbcol=seagreen]
The[vbcol=seagreen]
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com