Page 1 of 1

Problems with displaying web chart in Visual Studio 2005

Posted: Mon Jan 07, 2008 12:47 pm
by 9643078
Hi,

I have a problem with displaying a web chart that I am using in a ASP.NET 2.0 web site using Visual Studio 2005.

When I run the web site from Visual Studio all I get is a square with a red cross.

The chart image is generated in the _chart_temp directory but it is not displayed in the browser.

I am using the evaluation version of TeeChart for .NET(TeeChartNET3VSNET2005Eval).

I have followed the guidelines in the Tutorial 17 Design time run time & license requirements.

In Visual Studio I have added a license.licx file with the following information:

Steema.TeeChart.Web.WebChart, TeeChart, Version=3.2.2894.2913, Culture=neutral, PublicKeyToken=9c8126276c77bdb7

The following files are available in the bin directory for my web site:
App_Licenses.dll
TeeChart.dll
TeeChart.dll.refresh
TeeChart.xml

The TeeChart.dll has also been registered in the global assembly cache (gac).

Any information or hints on what could be the problem would be appreciated.

Regards

Hakan

Posted: Mon Jan 07, 2008 3:04 pm
by narcis
Hi Hakan,

If you are using the evaluation version licenses.licx is not necessary.

This is most likely a permissions problem in the server's folder where charts need to be stored.

I'd recommend you to set TempChart property to session as told in "Tutorial9 - ASP.NET Applications", at the "TempChart property - File, Session, Cache or Httphandler" section. Don't forget to add the GetChart.aspx.cs file in the project depending on the option you use.