是否新的ASP:图表控件需要在服务器上安装还是可以从bin文件夹使用 [英] Does the new asp:chart control need to be installed on the server or can it be used from the bin folder
本文介绍了是否新的ASP:图表控件需要在服务器上安装还是可以从bin文件夹使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 我已经安装了新的
ASP:我的机器上图
控制,并建立了使用它的应用程序。 - 所有是迄今为止运作良好。现在我想在托管环境中部署我的应用程序。
-
如果我的托管服务提供商不具有
ASP:安装图
控制,我可以得到我的应用程序通过将工作在的.dll
bin文件夹?
- I have installed the new
asp:chart
control on my machine and have built an app that uses it. - All is working well so far. Now I want to deploy my app in a hosted environment.
If my hosting provider doesn't have the
asp:chart
control installed can I get my app to work by putting the.dll
in the bin folder?
(我猜我问,如果它在被发现GAC)
(I guess I am asking if it has to be found in the Gac)
推荐答案
除了部署大会bin文件夹,你还需要配置与临时存储图表图像写入权限的文件夹中。
Apart from deploying the assembly to the bin folder, you also need to configure a folder with write permission to temporarily store the chart images.
在web.config中下
In web.config under
<appSettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=D:\TEMPDUMP\;"/>
...
这篇关于是否新的ASP:图表控件需要在服务器上安装还是可以从bin文件夹使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文