Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Deploying - License FIle?
jsheble

From: Chandler, AZ USA
Posts: 12
Member Since: 08/28/02
posted April 27, 2006 5:11 PM

Uisng VS2005 for .NET 2.0, and I've deployed my application onto a non-development system. When I try to run the EXE, I would get an error:

EventType clr20r3, P1 logicor.gsrouter.exe, P2 1.0.0.0, P3 44369845, P4 dart.powertcp.sockets, P5 1.0.3.0, P6 4361023f, P7 260, P8 93, P9 system.componentmodel.license, P10 NIL.

I wasn't aware that the PowerTCP .NET Sockets component had a licesnde file, there sure isn't one listed in my solution explorer in VS2005...

SO what's the deal, how do we deploy a working version of our app?
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted April 28, 2006 11:58 AM

Hello,

I have read your query and as I can understand that you are getting an error message, while deploying an application.

The most likely scenario is that you are seeing a licx error, and following are the steps to resolve it:

(1) Make sure that you have licenses.licx file included in your project.

(2) Then, rebuild the project.

Typically, licenses.licx file will be added, when you are dragging Sockets for .NET component onto the form, however, in case, this Component is used as a reference, then you need to add the Licenses.licx file explicitly to your project.

To create a licenses.licx file, please follow the following steps:

(1) In the Solution Explorer, right click the Project name, choose Add, and then Add New item

(2) Choose Text File from the dialog box, and name the file as “licenses.licx”.

(3) Then, type the following in this file:

Dart.PowerTCP.Sockets.Tcp, Dart.PowerTCP.Sockets

(4) Now, rebuild the project and then deploy this application.

However, I cannot be sure without taking a look at the actual exception message, so if these steps do not resolve this error message, then please provide me with the actual exception message.
     

I hope this will be of help.

Regards,
Amit
jsheble

From: Chandler, AZ USA
Posts: 12
Member Since: 08/28/02
posted April 28, 2006 12:37 PM

It was in a service, and there was no actual exception, just the service refused to start. In the App EventLog is where I found the actual error... I am using the component as a reference as opposed to a visual component, and so the creation of a license.licx hopefully will correct it...

Thanx...
jsheble

From: Chandler, AZ USA
Posts: 12
Member Since: 08/28/02
posted May 5, 2006 6:40 PM

I've done exactly what the instructions say to do, and yet this application is still unable to run on any machine but my own.

FYI, the application in question was put on two other developers machines. They're not developing with the PowerTCP compoenents, but the application is on the same machine that a dev environment exists on. Could this be the problem? I don't have access to any other .NET 2.0 machines at the time to see for myself.

But this is fast becoming a huge problem for me, my boss is not a happy camper...

jsheble

From: Chandler, AZ USA
Posts: 12
Member Since: 08/28/02
posted May 5, 2006 7:02 PM

Actually, I've determined the problem. Your instructions were complete. Adding Dart.PowerTCP.Sockets.Tcp, Dart.PowerTCP.Sockets isn't enough, it requires more...

Dart.PowerTCP.Sockets.Server, Dart.PowerTCP.Sockets, Version=1.0.3.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX