Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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....?
Posted
Updated 12-Oct-11 19:25pm
v4
Comments
member60 13-Oct-11 0:51am    
check ,if the application needs to reference a DLL .

check ,if the application needs to reference a DLL . copy the System.Web.DataVisualization.dll in application
 
Share this answer
 
v2
It indicates that you have given reference to the System.Web.DataVisualization assembly and you have not copied the file in the output folder. Copy System.Web.DataVisualization.dll file to the solution folder. (i.e. Bin folder of your solution).

Hope this helps.
All the best.
 
Share this answer
 
Comments
Uday P.Singh 13-Oct-11 1:26am    
my 5!
Pravin Patil, Mumbai 13-Oct-11 2:24am    
Thanks Uday...
gani7787 13-Oct-11 1:29am    
Hi,
In my solution folder there will be BIN Folder.
It contains AJAX.DLL.

Should i copy System.Web.DataVisualization.dll and paste in this folder..?
Pravin Patil, Mumbai 13-Oct-11 2:24am    
Yes, you are correct....You have to copy System.Web.DataVisualization.dll and paste in this folder.
Anuja Pawar Indore 13-Oct-11 4:10am    
My 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900