在服务器中执行ASP.NET图表控件时出现错误 [英] Getting Error to execute ASP.NET chart controls in server
问题描述
我的ASP.NET应用程序中有图表控件.它在本地计算机上工作.
但是,当我从服务器运行此应用程序时,出现以下错误.
我已经在服务器中安装了.Net Framework 4.0.
Error : "Could not load file or assembly ''System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'' or one of its dependencies. The system cannot find the file specified."
解决此问题的步骤是什么....?
Hi,
I have chart controls in my ASP.NET Application. It is working in Local Machine.
But, when i run this application from the server, i am getting error as below.
I have already installed .Net framework 4.0 in server.
Error : "Could not load file or assembly ''System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'' or one of its dependencies. The system cannot find the file specified."
What is the steps to solve this problem....?
推荐答案
检查,如果应用程序需要引用DLL.在应用程序中复制System.Web.DataVisualization.dll
check ,if the application needs to reference a DLL . copy the System.Web.DataVisualization.dll in application
,它表示您已引用了System.Web.DataVisualization
程序集,但尚未将文件复制到输出文件夹中.将System.Web.DataVisualization.dll
文件复制到解决方案文件夹. (即解决方案的Bin文件夹).
希望这会有所帮助.
一切顺利.
It indicates that you have given reference to theSystem.Web.DataVisualization
assembly and you have not copied the file in the output folder. CopySystem.Web.DataVisualization.dll
file to the solution folder. (i.e. Bin folder of your solution).
Hope this helps.
All the best.
这篇关于在服务器中执行ASP.NET图表控件时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!