MS charts not running on the server

I started using MS graphics in ASP.NET 3.5 with code in C #

I worked with graphs that worked fine with localhost; but the problem started when I started working on the server

I get an error in web configuration

Parser error message: Could not load file or assembly "System.Web.DataVisualization, Version = 3.5.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35" or one of its dependencies. The system cannot find the specified file.

Any suggestions thanks

+3
source share
2 answers

Ok, this is how I made it work.

DLL System.Web.DataVisualization, MS . bin , .

C TempDump -.

<appSettings>
  <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"  />
 </appSettings>

<appSettings>
  <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempDump\;" />
</appSettings>

.

+3

ASP.Net .Net Framework 3.5. . .NET Framework (IIS 7)

0

Source: https://habr.com/ru/post/1726746/


All Articles