Login  
Search All Forums
Dart Home | PowerTCP Telnet for .NET | Custom Development Reply | PowerTCP Telnet for .NET Topics | Forums   
AuthorForum: PowerTCP Telnet for .NET
Topic: Cannot read Licence.licx Dart.Telnet after copying to C: harddrive
coolandy2012

From: Bolton, United Kingdom
Posts: 28
Member Since: 04/04/11
posted July 21, 2011 11:00 AM

Hi,
I have a C# program which uses Dart.Telnet and Dart.Dart.PowerTCP.Ftp.
It is saved on P: drive (network) and it works correctly.
However after copying the entire project to C: harddrive. It complains about licenses.licx file saying "Dart.Telnet.Telnet, Dart.Telnet" is missing.
I have checked this and it does exist only location of licenses.licx is now the harddrive (C: instead of P:).

Is it still reading old location even though I've copied the entire project to C:?

Basically this program currently works on the P: Network but not on my harddrive and I don't know why.

Thanks,

Andrew
Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted July 21, 2011 12:19 PM

Hi Andrew,

Whether it is reading the old location depends on your project, not our control; if you create a new project that references our control and contains a valid licenses.licx, do you still get the same issue?

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

coolandy2012

From: Bolton, United Kingdom
Posts: 28
Member Since: 04/04/11
posted July 21, 2011 12:50 PM

Ok,

I started a new project on C: my harddrive.
I added Dart.Telnet and Dart.PowerTCP.Ftp as references.
I also added the licenses.licx file.
I get exactly the same message: "Dart.Telnet.Telnet, Dart.Telnet" is missing from your project's licences.lcx file.

What am I doing wrong?

Thanks,

Andrew
Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted July 21, 2011 1:53 PM

Hello,

If you remove the reference to Dart.PowerTCP.Ftp, does that resolve the issue? If yes, what version of Ftp and Telnet are you using?

If that does not resolve your issue, how are you adding your licenses.licx file? Can you send in a screenshot that shows both the contents of that file, and its location in your solution explorer into support@dart.com? What kind of project are you working on; class library, etc?

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted July 21, 2011 3:51 PM

Are you using ILMerge here? Does your exe get renamed at any point after compile? If you ignore the error message, does your application work anyways?

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

coolandy2012

From: Bolton, United Kingdom
Posts: 28
Member Since: 04/04/11
posted July 22, 2011 4:58 AM

Removing the reference to Dart.PowerTCP.Ftp makes no difference.
However when copy the entire "Test" project to P: Network it works correctly.
I only get the message regarding "Dart.Telnet.Telnet, Dart.Telnet is missing" when it's on my harddrive C:.

I am not using ILMerge on this new project.
If ignore the error message it works anyway.

I have not attached a screenshot but contents of licenses.licx is:
Dart.PowerTCP.Ftp.Ftp, Dart.PowerTCP.Ftp
Dart.Telnet.Telnet, Dart.Telnet
<3rd line blank>

The location path is
C:\C#2008\test\WindowsFormsApplication1\WindowsFormsApplication1\licenses.licx

My new test program just simply does the following:
      Ftp test_Ftp = new Ftp();
      Telnet test_telnet=new Telnet();

      test_Ftp.Username = "root";
      test_Ftp.Password = "EPCS";
      test_Ftp.Server = "207.13.251.88";
      test_Ftp.ServerPort = 21;

      // test ftp
      string directory = test_Ftp.GetDirectory();

      MessageBox.Show("dir = ["+directory+"]");

      // test telnet logging
      test_telnet.Connect("207.13.251.88");

      Credentials cred=new Credentials();
      cred.Username = "root";
      cred.Password = "EPCS";

      test_telnet.Login(cred);


      Data data = test_telnet.ReadToDelimiter("TERM");
      string temp = System.Text.Encoding.ASCII.GetString(data.Buffer);

      MessageBox.Show(temp);

Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted July 22, 2011 9:16 AM

This is the opposite behavior of what we'd expect; can you send your projected zipped into support@dart.com? Please ensure it doesn't contain any compiled exe's so that it can get through our spam filter.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

coolandy2012

From: Bolton, United Kingdom
Posts: 28
Member Since: 04/04/11
posted July 22, 2011 9:57 AM

Your email support@dart.com does not appear to work so I cannot send you the program.

Your message did not reach some or all of the intended recipients.

   Subject: Test Program
   Sent: 22/07/2011 14:54

The following recipient(s) cannot be reached:

   'support@dart.com' on 22/07/2011 14:54
      552 5.7.0 review our attachment guidelines. o19sm1932824wbh.26
Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted July 22, 2011 10:02 AM

Does your attachment contain any exe's? You may try renaming the attachment extension to something like .txt
coolandy2012

From: Bolton, United Kingdom
Posts: 28
Member Since: 04/04/11
posted July 22, 2011 10:07 AM

The attachment has no exe files in the zip. Anyway renamed it to be .txt at the end of the extension so I could email it you.
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 380
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted July 22, 2011 5:13 PM

Thank you for your files. Please email support@dart.com directly regarding this issue.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

coolandy2012

From: Bolton, United Kingdom
Posts: 28
Member Since: 04/04/11
posted July 27, 2011 5:32 AM

The ILMerge Telnet.dll fix appears to resolved problem.
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX