Web application cannot get TeeChart licence

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
THoMaSiN
Newbie
Newbie
Posts: 36
Joined: Mon Apr 14, 2008 12:00 am

License problem when using httphandler

Post by THoMaSiN » Tue Jun 03, 2008 8:58 pm

Humm, I was trying to use the httphanlder method to get the chart images and that was raising the license error, as soon as I changed it to Session, It worked.

Do you have any idea why that could be?

I tried the example project you guys ship with the projec. I changed the drilldown/urllink example and change it to the session, then the license problem stopped.

Some strange thing is that since I only tried changing that one chart, after the license was loaded succesfully the first time, all the httphandlers charts weren't raising the license problem, but instead, they will show broken link to the image ...

I think the more acceptable programming method to get the image is the httphandler, having an extra aspx file in order to get the image is not a solution we are considering.

Thanks.

THoMaSiN
Newbie
Newbie
Posts: 36
Joined: Mon Apr 14, 2008 12:00 am

Post by THoMaSiN » Tue Jun 03, 2008 11:29 pm

ok, I found the problem when you get a broken image link.

The htthandler is not being called because some webservers are not properly configured and they check for the file presence :(.

While other handlers are called on the root folder, and that allows users that CANNOT access the webserver configuration to place a dummy file called as the handler so the webserver will be happy on file checking; steema calls the handler with the folder path where the file that uses the chart is, making very tedious to use this workaround (users would have to copy a dummy file called TeeChartImgGen.ashx in each directory where pages that use charts are placed).

May be this will be helpful for someone. I think it will be better if you guys printed the TeeChartImgGen.ashx link on the page to the root directory of the website (~/TeeChartImgGen.ashx).

Thanks.

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Wed Jun 04, 2008 11:45 am

Hello,

Thanks for the comment about the ~/TeeChartImgGen.ashx link. We'll see if we can implement that change without adversely affecting other setups.

With regard to licensing. If you are still experiencing that problem please check that there are not multiple copies (different versions) of teechart.dll on your machine that may be being incorrectly called by the first call to httphandler. Check too that there is no incorrectly pathed teechart.dll in the registry assemblyfolders key or referenced in the GAC.

Regards,
Marc Meumann
Steema Support

THoMaSiN
Newbie
Newbie
Posts: 36
Joined: Mon Apr 14, 2008 12:00 am

Post by THoMaSiN » Wed Jun 04, 2008 3:24 pm

Yeah, I'm not getting the license problem after changing to the session mode, but then again, since the handler was not being properly found and called, It might be a derived problem from the server miss configuration that I'll probably will never be able to change :)

Thanks for considering that change, that will be helpful for users in the future.

Post Reply