Page 1 of 1

Error on webserver

Posted: Mon Jan 28, 2008 9:17 am
by 13045281
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

Posted: Mon Jan 28, 2008 11:11 am
by narcis
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.

Posted: Mon Jan 28, 2008 11:18 am
by 13045281
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

Posted: Mon Jan 28, 2008 11:29 am
by narcis
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.

Posted: Mon Jan 28, 2008 12:51 pm
by 13045281
Hi

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

Torben

Posted: Mon Jan 28, 2008 2:15 pm
by narcis
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.

Posted: Mon Jan 28, 2008 2:29 pm
by 13045281
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

Posted: Mon Jan 28, 2008 2:52 pm
by narcis
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.