ASP.NET 图表未在 Web Farm Env 中显示
我们使用的是 Microsoft 内置的 ASP.NET 3.5 图表控件,但图表图像有时不显示。相反,它显示损坏的图像图标。
我们使用 SQL Server 进行会话,并且有 2 个服务器的网络场。我们在其中一个论坛上找到了在网络场环境中使用 STORAGE=SESSION 的建议,但这也不起作用。
这是我们在 web.config 文件中的条目。
任何人都可以建议为什么 CHART 控件在 Web Farm 环境中不起作用。
We are using Microsoft's charting control built-in ASP.NET 3.5 but Chart image sometimes doesn't come up. Instead, it shows a broken Image icon.
We are using SQL Server for session and we have 2 server's web farm. We found a suggestion on one of the forums to use STORAGE=SESSION in a web farm environment but that doesn't work either.
This is the entry we have in web.config file.
<ADD KEY="CHARTIMAGEHANDLER" VALUE="STORAGE=SESSION;TIMEOUT=20;" />
Can anyone suggest why the CHART control doesn't work in Web Farm Environment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
虽然这是旧的,但我也遇到了问题,并遵循 http://blogs.msdn.com/b/deliant/archive/2008/12/02/managing-chart- generated-images-with-chart-image-handler.aspx (但是,请注意,我们使用的是 Framework 4.5),然后将 Web 配置从 更改
为
添加 key="ChartImageHandler" value="storage=session;timeout=20"/
工作正常。
While this is old, I did just have the problem as well, and following information in http://blogs.msdn.com/b/deliant/archive/2008/12/02/managing-chart-generated-images-with-chart-image-handler.aspx (but, note, we are using Framework 4.5), then changing the web config from
to
add key="ChartImageHandler" value="storage=session;timeout=20"/
worked fine.
你做过这个设置吗?
Have you made this setting?