Strange problem under Windows 2003

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Panayiotis
Newbie
Newbie
Posts: 5
Joined: Tue Sep 12, 2006 12:00 am

Strange problem under Windows 2003

Post by Panayiotis » Thu Jun 21, 2007 1:43 am

Problem:
Applications that contain a TeeChart component crash on Windows 2003,
if the executable is renamed from the original filename that it was compiled.

Steps:
1. create a new VS 2005 project and drop a standard teechart
2. try to run it from a Windows 2003 machine (ok)
3. rename the executable and try to run it again (it crashes)

I tried this on 3 Windows 2003 machines.
Under Windows XP everything is OK.
The problem can be reproduced with at least these versions of the library:
2.0.2306.26232 and 2.0.2652.22325

If there is a workaround, please let me know. Although this does not
seem to be a major problem, the way I work requires me to be able to
rename the executables often, mostly for keeping several version of the
executable in the same directory.

Thanks a lot.

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

Post by Narcís » Thu Jun 21, 2007 2:02 pm

Hi Kyriacos,

This is a licensing question. TeeChart for .NET uses the .NET licensing mechanism that compiles the license into the executable assembly once a project is built (see Tutorial 17 - Designtime, Runtime and License Requirements for more information). Renaming the file invalidates the license stamp and thus the application will fail to run.

The same would happen if you used a Windows 2003 machine for developing the application and deployed in a Windows XP machine.
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

Panayiotis
Newbie
Newbie
Posts: 5
Joined: Tue Sep 12, 2006 12:00 am

Post by Panayiotis » Fri Jun 22, 2007 4:29 am

Thanks for your reply.

I tested using the Evaluation version 3.2.2669.20933 using Orcas/Win2003
and I can "deploy" and rename the .exe file, on my XP without problem,
but maybe the licensing does not apply to the Evaluation version.

Anyway thanks again for the clarification.

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

Post by Narcís » Fri Jun 22, 2007 7:19 am

Hi Kyriacos,

Yes, the evaluation version is not license controlled, it just expires 40 days after its installation.
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