此错误不时出现在我们的日志中,并且各种用户都遇到过:
System.FormatException: Invalid length for a Base-64 char array.
System.Web.HttpException: The client disconnected. ---> System.Web.UI.ViewStateException: Invalid viewstate.
ViewState: /wEPDwUKMTk0NDIxMzQyMw8WDh4NcmVsaWFiaWxpdHlJRAL1Bx4EYmlJRALcBh4FcmNhSUQCuAMeDWRpc3BsYXlOb3RpY2VoHiBmaW5kQUNBSVJlc3BvbnNlRGlzcGxheUNvbnRyb2xJRAUHdHh0TmFtZR4cZmluZEFDQUlSZXNwb25zZUNBSUNvbnRyb2xJRAUQdHh0VGVhbU1lbWJlckNBSR4Gc2V2MUlEZhYCZg9kFgICAw8WAh4FY2xhc3MFCWxheW91dC0xNhYIAgcQPCsADQIADxYCHgtfIURhdGFCb3VuZGdkDBQrAAoFJzI6MCwwOjAsMDoxLDA6MiwwOjMsMDo0LDA6NSwwOjYsMDo3LDA6OBQrAAIWEB4EVGV4dAUESG9tZR4FVmFsdWUFBEhvbWUeC05hdmlnYXRlVXJsBQ0vRGVmYXVsdC5hc3B4HgdUb29sVGlwBQlIb21lIHBhZ2UeB0VuYWJsZWRnHgpTZWxlY3RhYmxlZx4IRGF0YVBhdGgFDS9kZWZhdWx0LmFzcHgeCURhdGFCb3VuZGdkFCsAAhYQHwkFEkluY2lkZW50IFJlcG9ydGluZx8KBRJJbmNpZGVudCBSZXBvcnRpbmcfCwUmL0luaXRpYWxJbmNpZGVudFN1Ym1pc3Npb24uYXNweD9ub2RlPTMfDAUSSW5jaWRlbnQgUmVwb3J0aW5nHw1nHw5nHw8FJi9pbml0aWFsaW5jaWRlbnRzdWJtaXNzaW9uLmFzcHg/bm9kZT0zH... ---> System.FormatException: Invalid length for a Base-64 char array.
一位用户报告说,他在搜索客户详细信息时遇到了该错误,这通常是从 Web 服务中提取数据。他注意到没有生成列表并继续按搜索,第三次他收到了我们的全局错误消息。我检查了日志并得到了上面的日志。
是因为视图状态超时吗?有人对此有想法吗?
谢谢!