Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: Licenses.licx error using VS2005 and VB.Net
tothequest

From: lexington, KY USA
Posts: 3
Member Since: 08/29/06
posted August 29, 2006 6:35 PM

I downloaded the trial version. Installed it and trying to run the VS2005 VB version and I get the following error. There is a licenses.licx file on the root of the VB folder. What else am I missing?

This Dart product has not been added to the Project's licenses.licx file. If your Project does not have a licenses.licx file already, you must create a text file named "licenses.licx" and add it to your PROJECT (not the Solution). <continued...>

You must then add the following line to the file:
'Dart.PowerWEB.LiveLabel, Dart.PowerWEB.LiveControls'

If the project already contains a licenses.licx, simply append this line to the file. For more information, please see the "Creating the Licenses.licx File" page in the Online Help.
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted August 31, 2006 2:34 PM

Hi. Did you make sure to REBUILD (not BUILD) the specific PROJECT (not the SOLUTION)? If you do that and still have problems let us know.
tothequest

From: lexington, KY USA
Posts: 3
Member Since: 08/29/06
posted August 31, 2006 3:15 PM

Yes I did rebuild the project. I also tried to run it via a virtual directory in IIS as well as run it via VS2005 web server. None worked.
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted September 5, 2006 10:10 AM

If you are using version 1.5.3, we discovered a bug in our licensing code that could be causing your error. If so, download the current version from our website (rolled back to version 1.5.2) at http://www.dart.com/downloads/default.asp to see if that clears the issue.
Thomas_Szafran

From: North Vancouver, BC Canada
Posts: 11
Member Since: 06/13/05
posted September 6, 2006 12:27 PM

I am having the same problem when deploying to our remote development server. No matter what I do it says the license file is not present (even if I verify its there, included in the project, and rebuilt). 

As per the last post I would prefer not to re-install a prior version (which had bugs that made it basically unusable due to multiple selection issues). Is there any possible short-term solutions?
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted September 7, 2006 3:49 PM

Just to clarify, are you making sure that the licenses.licx file is being compiled into the project on the development server, prior to deployment?
Thomas_Szafran

From: North Vancouver, BC Canada
Posts: 11
Member Since: 06/13/05
posted September 7, 2006 6:05 PM

Hi Jeff,

I have a licenses.licx file in my website project, rebuild the entire project and use the Build->Publish Web Site option to precompile my site before transfering the files (from my development laptop to the beta server). No matter what I do I get that same error when a page with LiveControls is called.

Would you be able to send detailed step by step instructions for deploying a LiveControls enabled VisualStudio.NET 05 VB.NET project? Maybe I am overlooking something...
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted September 8, 2006 10:15 AM

I just found out there are some licensing differences between 2003 and 2005 I was not aware of. In 2005 there is an actual dll created for licensing. If this wasn't built, you can right-click on the LiveControls reference in the Solution Explorer and choose "Build Runtime Licenses". Then be sure to deploy that dll as well.
Thomas_Szafran

From: North Vancouver, BC Canada
Posts: 11
Member Since: 06/13/05
posted September 8, 2006 12:11 PM

Hi Jeff,
Still have no success. I have the licenses.licx file and with single line

Dart.PowerWEB.LiveDropDownList, Dart.PowerWEB.LiveControls

And when I click that license file and goto Build Runtime Licenses I get the following error:
http://www.acreo.ca/dart/runtime_error.png



Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted September 13, 2006 11:18 AM

Hmmm....sounds like the licx file may be improperly formed.

Try creating a new project and dragging a LiveDropDownList onto the webform. Compare the licenses.licx file with the one in your non-working project to see what's different. Also, you should just be able to copy the new licx file over the non-working licx file and it should work.
Thomas_Szafran

From: North Vancouver, BC Canada
Posts: 11
Member Since: 06/13/05
posted September 13, 2006 7:44 PM

Hi Jeff,
It compiles fine using the generate license file, slightly different as it includes version info, culture, and a publickeytoken...

Dart.PowerWEB.LiveControls.LiveDropDownList, Dart.PowerWEB.LiveControls, Version=1.5.3.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx

But still no go. The App_Licenses.dll is generated, 3kb in size and was also deployed.
Nothing seems to work, has anyone had any luck actually deploying a VS2005 & VB.NET project using these latest controls?
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted September 14, 2006 10:47 AM

Ok, let's start over. Try using the steps in this checklist and see if you have different results:

Deployment steps:
----------------------------------------------
* Receive serial number
* Register serial number with registration application included with installation kit
* Completely reinitialize the local machine
     - Close VS.NET
     - Clear VSWebCache project files (typically in C:\Documents and Settings\[name]\VSWebCache\[machine name]\[project name]
     - Perform an IISRESET for good measure.
     - Open your project in VS.NET
* Drag a control on a webform in your project. This assures a licenses.licx file is properly created and a dll reference is added. You can delete it afterwards if needed.
* Verify existance of licenses.licx file in your project directory.
* Double-check the PowerWEB dll reference is pointing to the correct location & version.
* REBUILD project or website
* Load your webform in your browser to assure that on localhost everything is ok. If a licensing error occurs, double check the steps.
* At this point the license should be compiled into your web project dll (VS.NET 2003) or into the app_licenses dll (VS.NET 2005) in your bin directory
* Copy your web application (and all dlls including your app_licenses dll if in 2005) to your deployment machine.
* Load your webform in your browser on your deployment machine.

If you receive an error message. Double check:
----------------------------------------------
* A licenses.licx file exists in your project directory and contains the names of all controls used
 (you can reverify this by dragging a new control onto the webform)
* The licenses.licx file is being compiled into the deployment dll(s)
     - In VS.NET 2003, this means you REBUILD (not BUILD) the PROJECT (not the SOLUTION)
     - In VS.NET 2005, you can right click the licx file in the Solution Explorer and choose "Build Runtime Licenses"
* All applicable files are being deployed (webforms, dlls, etc)
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted September 14, 2006 5:16 PM

Update. The problem is with a bug in the licensing code. We expect to release an update to fix this issue by tomorrow.
lmiller

From: London, United Kingdom
Posts: 3
Member Since: 01/08/07
posted January 8, 2007 11:23 AM

Hello,
   we have tried all the above steps using version 1.5.4.0 and we still get the error. please advise us further.

thanks.

This Dart product has not been added to the Project's licenses.licx file. If your Project does not have a licenses.licx file already, you must create a text file named "licenses.licx" and add it to your PROJECT (not the Solution). <continued...> You must then add the following line to the file: 'Dart.PowerWEB.LiveHyperLink, Dart.PowerWEB.LiveControls' If the project
<... end snippet ..>

Exception Details: System.ComponentModel.LicenseException: This Dart product has not been added to the Project's licenses.licx file. If your Project does not have a licenses.licx file already, you must create a text file named "licenses.licx" and add it to your PROJECT (not the Solution). <continued...> You must then add the following line to the file: 'Dart.PowerWEB.LiveHyperLink, Dart.PowerWEB.LiveControls' If the project already contains a licenses.licx, simply append this line to the file. For more information, please see the "Creating the Licenses.licx File" page in the Online Help. ***IMPORTANT*** Any time you make changes to the licenses in your project, you MUST REBUILD (not Build or Start!) the PROJECT (not the Solution!) that contains the reference to the licensed DLL, or the changes will not be built into the application. Also, please be aware that any Project that ultimately references a Dart DLL must also include a licenses.licx file, and be compiled on a licensed machine. This includes, for example, an executable that references a class library, that in turn references a Dart DLL.

Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX