Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: .NET Licensing
SystemUp

From: Norwood, NJ USA
Posts: 23
Member Since: 01/11/02
posted July 16, 2002 9:23 AM

I am writing a NT Service, using VB.NET, that uses the web tool. Sometime when I test the service on a computer other than the development one, the program doesn't work so I need a way to get better info on why it failed. In .NET, you can compile as debug, or as release. So I use debug to get MUCH BETTER info. But, I started getting the error "Class can not get license". My question is whether what I am doing is against the dart license.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted July 16, 2002 9:30 AM

Hi,
No, but it sounds like it is in trial, and the trial has expired.
There is a .NET licensing bug (that Microsoft is aware of) where controls will remain in trial, even if compilation takes place on a licensed machine, if the controls were instantiated dynamically (not placed on a form).
How are you instantiating the control?
Thanks,
-ken
blackhawk
ivan.hawkes@interesource.com

From: London, United Kingdom
Posts: 9
Member Since: 09/02/02
posted September 2, 2002 2:05 PM

Is this also an issue with c# services? I am writing one now to replace the c++ one that is giving me gyp.
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted September 3, 2002 8:51 AM

Yes, the .NET licensing bug effects all .NET languages and application types.
godefroi

From: aa, CA USA
Posts: 3
Member Since: 09/04/02
posted September 6, 2002 3:38 PM

How is it any different when I instantiate a control dynamically compared to when it's on a form? It's still being instantiated in the same way behind the scenes. I think that this licensing issue is a Dart bug, and the report of a .NET bug is a cop-out.

Mark
SystemUp

From: Norwood, NJ USA
Posts: 23
Member Since: 01/11/02
posted September 6, 2002 3:42 PM

Ouch... them be fightin' words.
Alex Gladshtein



From: Rome, NY USA
Posts: 131
Member Since: 12/27/00
posted September 9, 2002 1:42 PM

Hello,

Our licensing implementation is exactly as Microsoft designed it for ActiveX and has always worked as specified. In .NET, interop licensing is handled in a very specific manner, which is that the license info is requested from us when a control is placed on a form. That is the only time that the function that returns licensing info to the environment is executed. When you don't place the control on a form, our function is never called and licensing info is never provided to the environment. We work very closely with Microsoft and they are aware of this problem. Hopefully they will address this issue in the next version of .NET. In the mean time we are considering providing a work-around, but the best approach at the present time is to place the control on a form and use it by way of calling it through the form class.
DaveRowland

From: South Molton, United Kingdom
Posts: 6
Member Since: 12/20/03
posted December 20, 2003 12:55 PM

Am I guessing that this issue is now resolved in .NET 2003?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted December 22, 2003 9:43 AM

Hi,
Unfortunately, it was not.
Please see the following link for instructions on using the ActiveX controls dynamically in .Net:

http://support.dart.com/postings?topicid=2647

-ken
denoxis
denoxis@hotmail.com

From: san diego, CA USA
Posts: 1
Member Since: 06/24/04
posted June 24, 2004 7:32 PM

Hi,

I'm dealing with the same trouble. I use VB.NET. But the problem is I use the web tool in my custom DLL. And I refer to this DLL on my projects. So there is no form to drag the web tool control in this DLL. Any ideas?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 24, 2004 8:19 PM

You may have to use the same approach that ASP developers have to use (see "Distribution under Internet Information Server" in the Help)

Try that and see what happens.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX