Login  
Search All Forums
Dart Home | Custom Development Reply | Licensing Issues Topics | Forums   
AuthorForum: Licensing Issues
Topic: c# service. still problems.
N/A posted May 14, 2002 10:29 AM

I've got a service written in c# which uses the registered Mailtool component.
The service works correctly on the development machine. When deployed onto another machine (any of three so far) though, it is obstructed by the 30 day message.
i.e.
The service will not run correctly unless it is allowed to interact with the desktop, to let DartMail show its dialog box.

I've tried removing the references, DLLs and interops and rebuilding. I've tried removing, re-installing and re-registering the component, and starting with a fresh project but the dialog continues to harass on deployment machines. According to the registration program the component is registered, and to repeat, there has been no problem on the development machine.

Am I missing something silly?

Thanks,
 Rob Murray
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 14, 2002 10:40 AM


Does it use our Service control? Or just the Mail control? If it uses the Service control, do you have a license to use it? The service control is not part of the Mail Tool.

Since you didn't post your email I can't look you up to see what products you currently own.

Tony Priest
Dart Tech Support
User35

Posts: 1
Member Since: 05/14/02
posted May 14, 2002 11:46 AM

No, I only use your Mail Control.

2.2.0.2 D:\WINNT\system32\DartMail.dll
2.2.0.6 D:\WINNT\system32\DartSock.dll
2.2.0.1 D:\WINNT\system32\DartUtil.dll
Others 'not found' as they aren't installed.

Used .Net to create windows service. And it works fine except when DartMail starts waving its hands in the air about licensing.


Platform : WindowsNT
Version: 5.0.2195 Service Pack 2

**********************
*  Registry Info  *
**********************

Mail Tool = ****-*-****-******:********:2PM Technologies
(edited out by me)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 14, 2002 12:20 PM


The Readme in the VB.NET samples directory contains info on getting rid of the trial message in the VB.NET samples. This may apply to C# as well. Please try following those steps and see what happens.

Thanks,

Tony
 
N/A posted May 20, 2002 7:50 AM

The component works correctly and as expected when using the Ax wrapper for a form based program.


I thought that I could just use the components as illustrated in your ASP examples.
http://dotnet.dart.com/smtp/mailcs.inc

i.e. Just reference the component to create an interop, and just declare and use.

Are the ASP samples using a different product
"DartMailDotNet.Smtp1".
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted May 20, 2002 12:34 PM


Hi,
The DartMailDotNet.dll is a wrapper of the DartMail.dll. In earlier, beta versions of .NET it was required to create such a wrapper, but it is no longer necessary - you can now reference DartMail directly.

However, there is a licensing bug in .NET that prevents the components from being licensed when they are dynamically instantiated. It is therefore required to place the components on a form to prevent them from being in trial.
You can dynamically create an instance of the form (without showing it), and use the control this way, but at the moment we are unaware of other possible work-arounds.
-ken

K M Drake
Dart Tech Support 
Reply | Licensing Issues Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX