View Full Version : A licensing issue?
Unregistered
January 6, 2003, 16:06:30
I'm trying to evaluate the latest .NET trial version of the TX Text control, have installed the trial, and added the .NET components to the ToolBoox in VS.NET. Having added the TXTextControl component to a form, even before doing anything else, when I run the app, I get:
"An unhandled exception of type 'System.ComponentModel.LicenseException' occurred in txtextcontrol.dll
Additional information: The following control could not be licensed: TXTextControl.TextControl"
What am I doing wrong?
I've uninstalled all previous trial versions, rebooted, reinstalled the trial version, but I still get the above!
Help, please!
Rob
This message was originally posted by Rob Tomlinson in the old TX Text Control Support Forum.
Unregistered
January 6, 2003, 16:30:22
We found the same problem, but the solution was pretty simple.
We add TX controls run-time, with none existing on a form in design mode. When we upgraded to the release version of TX, we got that message. Even putting a copy of licenses.licx into the project folder didn't help.
Our solution came in adding a form to the project with a TX Control on it. (We were planning on doing this anyway, frmTXHidden, for the printing of selected text, a scratch pad, etc, though we weren't planning on putting it into the .exe but into a .dll. Anyway, that made the error vanish.)
This message was originally posted by Vann Joe in the old TX Text Control Support Forum.
Björn Meyer
January 6, 2003, 19:35:46
Hello Rob
Please use the menu "Build" and click on "Rebuild all", so that the .lix file will be newly generated in the project folder. This should do the trick.
Björn Meyer, TX Text Control
This message was originally posted by Björn Meyer in the old TX Text Control Support Forum.
Unregistered
January 7, 2003, 09:57:01
Hello Björn,
Thanks for this. Unfortunately, it didn't work. I'm getting build errors and the Task List shows "Could not transform licenses file 'licenses.licx' into a binary resource. (1) : error LC0004 : Exception occured creating type 'System.DllNotFoundException'".
The VS help system backs this up with the following:
"Could not transform licenses file 'file' into a binary resource. <reason>This error is displayed if the licenses processor used to transform .licx files into binary resources failed for some reason. This error is typically caused by a bad .licx file. For example, the file may have been opened and modified in a text editor. The build process will fail if this error occurs." Needless to say, I haven't touched the .licx file!
Any other suggestions?
Rob
This message was originally posted by Rob Tomlinson in the old TX Text Control Support Forum.
Unregistered
January 7, 2003, 19:41:00
Well, I've now gone and bought a registered version of this control (.NET) and exactly the same problem is happening. I cannot build the app either in debug or in release mode, and the same error is being reported.
I've even tried this from a reboot, with a completely new project - same result.
I'd also removed all trial versions before installing this new one.
I'm now stumped and my hopes for using this control in this project seem to have hit the buffers!
Workable solutions appreciated, please!
Rob
This message was originally posted by Rob Tomlinson in the old TX Text Control Support Forum.
Unregistered
January 9, 2003, 17:58:19
I was similar problems...
I was using the text control inside of a class library, which worked fine with the OCX version of the Text Control and with the Demo version of the .NET control, but once i switched to the licensed version I could not get passed the licensing error.
When I switched my project from a Class Library to a Windows Application the licensing error went away.
This message was originally posted by Heather Koch in the old TX Text Control Support Forum.
Unregistered
January 10, 2003, 05:09:49
Things won't work out if we do it from exe project to DLL project.
wondering whether did they do proper testing on different scenario before launching the product.
regards,
Alex Cheong
This message was originally posted by Alex Cheong in the old TX Text Control Support Forum.