Error on webserver

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Torben Laursen
Newbie
Newbie
Posts: 8
Joined: Wed May 23, 2007 12:00 am

Error on webserver

Post by Torben Laursen » Mon Jan 28, 2008 9:17 am

I have updated to version 3 and now my asp.net website gives a error on pages that uses TChart;
There error can be seen here:
http://www.onlinepvt.com/Calc/SP/Calc_SP_Flash.aspx

How do I fix this

Torben

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 28, 2008 11:11 am

Hi Torben,

It is most likely that your application was not properly compiled with TeeChart's license. Could you please read Tutorial 17 - Designtime, Runtime and License Requirements? Here it is explained how TeeChart's license control system works. You'll find the tutorials at TeeChart's program group.

If problem persists don't hesitate to let us know.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Torben Laursen
Newbie
Newbie
Posts: 8
Joined: Wed May 23, 2007 12:00 am

Post by Torben Laursen » Mon Jan 28, 2008 11:18 am

Hummm I must be slow since I dont see how this tutorial should help me.

What do I need to do to get it to work?

Torben

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 28, 2008 11:29 am

Hi Torben,

You should look at the Licensing setup for design and runtime section and check that you have the license file on your project and it is compiled as an embedded resource.

You can also check if the license is properly installed at your end as I suggested here.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Torben Laursen
Newbie
Newbie
Posts: 8
Joined: Wed May 23, 2007 12:00 am

Post by Torben Laursen » Mon Jan 28, 2008 12:51 pm

Hi

I fixed the problem by installing TChart on the webserver.
Not a elegant solution but it works

Torben

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 28, 2008 2:15 pm

Hi Torben,

Of course this works because you installed a TeeChart developer license on the webserver but this is not the solution. You should check that your project is properly build with TeeChart's license. If it already is and there are still problems with that, please let us know as there are other licensing options. However, installing a developer license in the webserver is definetly not the solution.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Torben Laursen
Newbie
Newbie
Posts: 8
Joined: Wed May 23, 2007 12:00 am

Post by Torben Laursen » Mon Jan 28, 2008 2:29 pm

If I select: Build runtime licenses. I get a error message:
"Count not transform licenses file into a binary resource. Index (zero based) must be greater then or equal to zero or less then the size of the argument list."

The project compiles without any errors.
Can the error above be the source to the problem?

Torben

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 28, 2008 2:52 pm

Hi Torben,

This may be a problem and this is not the way on how licenses.licx should be added to the project. You should check that its "Build Action" property is set to "Embedded resource". Then build your project.

Also, to check that the design time license is properly installed on your machiney you could try changing DesignKey as suggested in the thread I pointed before.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply