Licensing fails during first run of application
Posted: Wed Sep 26, 2007 10:01 am
Hello,
I'm using TeeChart version 2.0.2652.22325.
I have implemented an application that uses .NET Remoting to provide a report generating service. A separate UI application connects and triggers report generation. A generated report can contain a TeeChart graph (as a .png file).
The report generating service runs on a machine that has no TeeChart installed.
The problem is that after installing the report generating service on a clean PC, constructing the TeeChart object fails with a NullReferenceException, with a stack trace that hints at a licensing problem.
Now to the weird part: When I restart the report generating service after the TeeChart constructor has failed, the TeeChart constructor runs without problems. This means that the TeeChart license is correctly built into the executable, right?
Can you give me a hint how to solve this problem?
Some additional information:
The report generating service references an assembly that uses TeeChart. Both projects (both .exe and .dll) embed a licenses.licx file that contains the correct TeeChart version.
On the build machine, this TeeChart version is installed.
Cheers,
Michael
I'm using TeeChart version 2.0.2652.22325.
I have implemented an application that uses .NET Remoting to provide a report generating service. A separate UI application connects and triggers report generation. A generated report can contain a TeeChart graph (as a .png file).
The report generating service runs on a machine that has no TeeChart installed.
The problem is that after installing the report generating service on a clean PC, constructing the TeeChart object fails with a NullReferenceException, with a stack trace that hints at a licensing problem.
Now to the weird part: When I restart the report generating service after the TeeChart constructor has failed, the TeeChart constructor runs without problems. This means that the TeeChart license is correctly built into the executable, right?
Can you give me a hint how to solve this problem?
Some additional information:
The report generating service references an assembly that uses TeeChart. Both projects (both .exe and .dll) embed a licenses.licx file that contains the correct TeeChart version.
On the build machine, this TeeChart version is installed.
Cheers,
Michael