Dart Home | PowerTCP Winsock for ActiveX | Custom Development | Reply | PowerTCP Winsock for ActiveX Topics | Forums |
Author | Forum: PowerTCP Winsock for ActiveX Topic: Licensing error using component in .NET |
edstreit From: Kent, WA USA Posts: 5 Member Since: 01/24/05 |
posted January 24, 2005 6:01 PM Hello, I'm sure this issue must already be addressed somewhere in the forum, perhaps someone can help me locate it. I've used the PowerTCP Udp component in a .NET form, works fine in development environment. Used InstallShield to install on a test machine. Upon execution, get error "A License for the PowerTcp Udp component was not found on this machine." Two facts of interest: The installer moved Interop.Dartsock.dll to the test machine, and coincidentally DartSock is in fact already installed on the machine by another app using it. Any assistance would be sincerely appreciated. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 24, 2005 7:06 PM When you compiled the app, you did not have a license. Go back to the machine where you compiled and verify that you have registered with your serial number. You may have to remove the control and re-add it to get the license compiled in. |
edstreit From: Kent, WA USA Posts: 5 Member Since: 01/24/05 |
posted January 24, 2005 7:43 PM Tony, The license is installed on the dev machine. I use the component in VB6 apps that work fine in runtime versions. This is my first try using it in a .NET app. Ed |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 24, 2005 7:49 PM Please create a brand new project with one form. Then insert a UDP control. Did you get any error messages? If you did not get an error message, try to compile the app and try to run the executable on the target machine. |
edstreit From: Kent, WA USA Posts: 5 Member Since: 01/24/05 |
posted January 25, 2005 11:46 AM Tony, Did as you requested, no errors on dev machine. Got same error on runtime machine. I have another runtime VB6 app that uses UDP, runs OK on same machine, which means that DartSock runtime must be registered OK... true? Do you think there is something I'm missing about the .NET Installshield process? It is placing Interop.DartSock.dll on the runtime machine. But does it also register DartSock.dll if it is not already present? Thanks, Ed |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 25, 2005 11:55 AM There's nothing installshield would do that I can think of. Please email me the test project (support@dart.com) and I'll compare it to mine. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 25, 2005 12:45 PM In my instructions, I should have said "Add the UDP control to the Toolbox, then insert one onto the form." That way Microsoft does it's part regarding licensing. The easiest thing for you to do would be to use the control like that. If for some reason you can't, then please see the following thread which discusses how to handle licensing when the control is not on a form: http://support.dart.com/postings?topicid=2647 |
edstreit From: Kent, WA USA Posts: 5 Member Since: 01/24/05 |
posted January 25, 2005 3:11 PM Tony, Tried adding control to form and got an error. Here is the sequence of events: Downloaded and installed most recent Winsock update. Added UDP control to toolbox. Added control to form, got error message "Invalid primitive type, System.Reflection.Missing. Only CLS compliant primitive types can be used. Consider using CodeObjectCreateExpression." DartSock.dll was added to reference list as a result. What would you suggest at this point? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 25, 2005 3:15 PM You need the hotfix from MS. Please see this thread: http://support.dart.com/postings?topicid=4693 |
edstreit From: Kent, WA USA Posts: 5 Member Since: 01/24/05 |
posted January 25, 2005 5:10 PM Tony, That solved the problem. Thanks for your assistance. --Ed |
Reply | PowerTCP Winsock for ActiveX Topics | Forums |
This site is powered by
![]() |