可能重复:
What causing this “Invalid length for a Base-64 char array”
此错误已不时出现在我们的日志中,各种用户都会遇到此问题:
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.
一位用户报告在搜索客户详细信息时遇到错误,这通常会从网络服务中提取数据。他注意到列表没有生成并保持按下搜索,第三次,他收到了我们的全局错误消息。我检查了日志并得到了上面的日志。
是因为视图状态超时了吗?有人对此有所了解吗?
谢谢!