【发布时间】:2009-01-03 03:55:25
【问题描述】:
我在 Windows SharePoint Services 3.0 中有一个自定义网站页面,其中包含一个 SPGridView。当我使用此页面上的搜索框时,我收到以下错误:
Unable to validate data. at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
从页面中删除 SPGridView 可以解决此问题,但否则我不确定如何解决问题。
这是 WSS3 的全新默认安装,因此我认为它与任何其他自定义(母版页等)无关。我在此功能中还有另一个自定义网站页面(不包括 SPGridView),但我可以使用该页面上的搜索框而不会导致错误。
【问题讨论】:
-
您可能应该使用其他 asp.net 重新标记
标签: sharepoint spgridview