我在UserControl内部托管的ASP.NET窗体上的HTTP POST后收到以下错误消息:
Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the prevIoUs request. For example,when adding controls dynamically,the controls added during a post-back must match the type and position of the controls added during the initial request.
这是附加信息:
>我正在运行.NET 4.5 RC
>这是一个基于Umbraco 4.7的网站
>在我的本地开发机器上,表单完美运行
>此错误仅发生在具有.NET 4.5(仅),MSsql 2012 Express,IIS 7.5,Windows 7的登台服务器上(我知道,它不是真正的服务器,有一天可能……)
>服务器不属于Web场(或园区,应该是不成功的)
>用户控件确实动态呈现控件
我已经应用了所有最新的服务包.
我现在已经没想完了!我甚至重新启动了它,并且在服务器上执行了一个富人,涉及一首歌和一个特殊的舞蹈无济于事.