Error occur when using CmsNiceUrlHttpModule
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Error occur when using CmsNiceUrlHttpModule




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error occur when using CmsNiceUrlHttpModule  
Ching


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-20-04 07: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







[ Post a follow-up to this message ]



    Re: Error occur when using CmsNiceUrlHttpModule  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-20-04 12:47 PM

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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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[/vbcol
]
this[vbcol=seagreen]
> 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
>
>







[ Post a follow-up to this message ]



    Re: Error occur when using CmsNiceUrlHttpModule  
Ching


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-21-04 07: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> ¼¶¼g©ó¶l¥ó·s»D:%233i8ztotEHA.3088@tk2msft
ngp13.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...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> 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 
>
>







[ Post a follow-up to this message ]



    Re: Error occur when using CmsNiceUrlHttpModule  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-21-04 12:47 PM

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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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>
¼¶¼g©ó¶l¥ó·s»D:%233i8ztotEHA.3088@tk2msftngp13.phx.gbl... 
http://download.microsoft.com/downl...
+Server[vbcol=seagreen] 
authentication...when[vbcol=seagreen] 
Byte[][vbcol=seagreen] 
same[vbcol=seagreen] 
a[vbcol=seagreen] 
The[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:42 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register