无法在NLB上加载viewstate [英] Failed to load viewstate on NLB

查看:115
本文介绍了无法在NLB上加载viewstate的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个系统,该系统可在每次发回信息时动态创建页面控件,并使用浏览器历史记录等进行处理.

We have a system which dynamically creates the controls of a page every post back and handles back using the browser history and such.

问题在于,在生产服务器(NLB上的2个节点)上,我们随机地进入不同的网点,没有发现相关性,加载视图状态失败,控制树可能是不同的错误.但是,从未在我们的登台服务器上使用完全相同的代码(NLB设置与生产相同).

The problem is that on the production server (2 nodes on NLB) we get randomly in differnet spots with no correlation we have found, a failed to load viewstate, the control tree might be different error. However, the exact same code on our staging server (same NLB setup as production) this has never happened.

我现在基本上要排除它的代码,因为它根本不在开发/登台或本地环境中发生,在生产环境中它相当频繁.这使我不敢相信我们在某处存在配置错误.

I'm basically ruling out that its code at this point, since it doesnt happen in dev/staging or local enviroments at all, where on production it is fairly frequent. This is leading me to belive we have a configuration error, somewhere.

我已在用于暂存&的web.config中设置了硬编码的计算机密钥.生产,并且会话均支持MSSQL.

I have set hardcoded Machine keys in the web.config that is used on staging & production, and sessions are backed on MSSQL.

如果有人有建议让我朝着正确的方向前进,那将是很棒的,我们的整个开发团队都会为此感到沮丧.

If anyone has suggestions to get me going in the right direction that would be great, our entire dev team is stumped by this.

我们的Web配置位于pastbin上: http://pastebin.com/m2kRTd0k

Our webconfig is here at pastbin: http://pastebin.com/m2kRTd0k

推荐答案

以下是您可以检查的几件事:

Here are a few things that you could check:

  • 您确定已编辑的web.config文件是所使用的文件吗?尝试在其中添加语法错误,然后看到错误消息.
  • 检查舞台环境上是否未配置粘性IP
  • 检查您的环境是否处于相同的补丁程序级别,也许一个环境的默认值与另一个环境不同.
  • 两个环境所在的网络基础架构也可能有所不同

这篇关于无法在NLB上加载viewstate的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆