Login  
Search All Forums
Dart Home | PowerWEB TextBox for ASP.NET | Custom Development Reply | PowerWEB TextBox for ASP.NET Topics | Forums   
AuthorForum: PowerWEB TextBox for ASP.NET
Topic: License problem when deploying 3.1.0
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 29, 2006 2:34 PM

First off, I'm using .NET 2.0 under VSNET2005 Professional.

1. I've removed all existing references
2. Deleted my existing LICENSES.LICX file which resides in the root folder of the website project.
3. I've re-referenced the Dart.PowerWEB.TextBox from the website project.
4. I've verified I have a valid Dart.PowerWEB.TextBox.lic file in the BIN directory.
5. I've re-created the LICENSES.LICX file in the root folder of the website project.
6. I've added "Dart.PowerWEB.TextBox, Dart.PowerWEB.TextBox" to the LICX file.
7. I've both rebuilt the website project as well as the entire solution.

Every time I deploy I receive the standard error:

------
This PowerTCP 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). 
------

I'm at my wits end with this thing. I previously had a registered/licensed version of 3.0. When I noticed you guys had changed your licensing method (not tying to individual servers now yay!!!), I attempted to upgrade. It wouldn't let me so I purchased a new version (that really hurt btw). I attempted to install the new version and it said an existing PowerWEB product was already installed so I could not upgrade or install over. So I fully uninstalled the existing 3.0 TextBox. Then I installed this one and rebuilt my projects. This is my first attempt at deploying the new 3.1.0 TextBox, and I've spent about 30 minutes here trying to get it working to no avail.

Thanks,

Scott
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 1:02 AM

I tried deleting the LIC file in C:\Program Files\PowerWEB\TextBox for ASP.NET\Bin

And I re-ran the license registration utility but it didn't recreate a LIC file. Now I'm running with no LIC. Is this normal?
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 1:13 AM

I dunno what's going on here. I've tried every conceivable option, including deploying via xcopy and actual "publish" modes... I'm even re-intalling TextBox for the third time now...

I don't understand why I never have these problems with ANY of the dozen or so other companies i buy controls from, yet every single time I upgrade or install PowerWeb TextBox (and you can look at my posts and support calls from last year) I have these issues. I'm like afraid to even touch this control.

snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 1:22 AM

Ok here's where i am at:

1. Delete LIC file in C:\Program Files\PowerWEB\TextBox for ASP.NET\Bin
2. Re-ran registration. It didn't create a new one.
3. Removed all references from project(s).
4. Uninstalled completely, and deleted any folders (left registry alone).
5. Re-installed.
6. Re-ran license manager, it already had my license in there.
7. Removed the license and re-added it.
8. Added project reference, rebuilt project, deployed.
9. Project no longer has a LIC file, but it does have an LICX. There is also no LIC file in the C:\Program Files\PowerWEB\TextBox for ASP.NET\Bin folder anymore.

I'm still without the ability to demo this client application nor run it myself on my dev server. I can only run it locally.


snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 2:07 AM

Update:

Verified that the PowerWEB.TextBox 3.1.0 runs fine under my deployed .NET 1.1 apps, it doesnt even throw the javascript error I mentioned in my other post/thread. Still no luck in 2.0
Lisa

From: Rome, NY USA
Posts: 11
Member Since: 02/24/05
posted May 30, 2006 9:10 AM

Hello Scott, We're taking a look at your licensing issue this morning; we do respond occasionally during non-business hours, but officially only during the business week. I was a little puzzled by your statement that you purchased a new license. That is not required (only a subscription purchase is required)and we sent an email describing this out to everyone that was a customer of record. Please contact us off-line so that we can straighten this out.
John Talarico



From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted May 30, 2006 9:59 AM

Scott:

I apologize for any difficulty you've had upgrading to the latest version of TextBox for ASP.NET. I will try to address each technical issue in order.

- With the new licensing model, the .lic file is no longer required. If you use an existing .lic it will be ignored. If you plan to use the previous version of the product, retain the .lic file, but for new installations it can be removed.

- The licenses.licx file is created at design time when a control is placed on a webform from the toolbox. It will also be created if one does not exist and you switch between HTML and Design view on any webform containing the control. However, as long as the text of the licx file is correct, creating one in the project manually is valid. The minimal entry should be:
Dart.PowerWEB.TextBox.HtmlBox, Dart.PowerWEB.TextBox
The full entry is:
Dart.PowerWEB.TextBox.HtmlBox, Dart.PowerWEB.TextBox, Version=3.1.0.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb

- The new licensing model compiles the runtime license into the project assembly. In VS2005, an App_Licenses.dll is generated when a .licx file is present. If you are seeing the .licx exception at runtime, you can delete the App_Licenses.dll from the project (if it exists) and then right-click the .licx file and select "Build Runtime Licenses".

- Other conditions that may affect the runtime license chack from completing successfully is if a cached version of the application or license assembly is being checked instead of an updated version. You can clear out cached assemblies by deleting the project folder from your Temporary ASP.NET Files directory (DRIVE:\windows\microsoft.net\framework\vX.X.XXXXX), as well as the VSWebCache directory (DRIVE:\Documents and Settings\userid). Once these are cleared and the .licx is present, Rebuild the Solution.

- In VS2005, we have seen some customers attempt to manually add references to DLLs and accidentally select "Add Existing Item" instead of "Add Reference". Dragging a control onto a form automatically adds a project reference, but manually adding one works as well.

Have you tried creating a new web application in 2.0 to see if there is anything unique to the app that is contributing to the behavior?

Testing has been performed using trial and full licenses in the 2.0 environment using VS2005 Professional Edition and Visual Web Developer. Other customers have upgraded but we have not had any similar reports. If anyone else is having issues with upgrading or running v3.1.0 of TextBox for ASP.NET under ASP.NET 2.0, please contact support@dart.com.
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 5:04 PM

I tried rebuilding the "App_Licenses.dll" like you mentioned below but i receive this error:

"c:\Inetpub\wwwroot\mysite\licenses.licx: Could not transform licenses file intoa binary resource. Index (zero based) must be greater than or equal to zero and less than the size of the argument list"
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 5:09 PM

I was only able to build the App_Licenses.dll by putting the entire

"Dart.PowerWEB.TextBox.HtmlBox, Dart.PowerWEB.TextBox, Version=3.1.0.0, Culture=neutral, PublicKeyToken=5966291b8955e4bb"

into the Licenses.licx file. It wouldnt build the assembly with the minimal mentioned above.

snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 5:15 PM

BTW, i tried clearing the temp files and caches as well. Apparently rebuilding the app_licenses.dll using that longer licensing string is what fixed it. I can deploy and load the pages now.


However upon page load, I am getting this javascript error:

Line: 78
Char: 1
Error: Object doesn't support this property or method
Code: 0
URL: http://localhost/httadmin/managecontent.aspx

Upon looking at the source of the rendered page, I see this around line 78:

function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}



John Talarico



From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted May 30, 2006 5:21 PM

Could you put together a sample project that is failing, along with a text capture of the HTML being rendered and send it to support@dart.com? Just zip up the entire project and reference forum topic #6877 and we will try to determine if there is something specific to your page that is contributing to the behavior.

Thanks!
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 5:30 PM

Will do - also you guys should probably update your change notes for 3.1.0 and help files to specify the longer string to use in the LICX file (in case) and also the removal of the dependency on the LIC file now.
snichols

From: Tampa, FL USA
Posts: 66
Member Since: 03/14/05
posted May 30, 2006 5:39 PM

Crap, it doesnt throw the javascript errors in test projects.

The only thing I am doing unique to my other projects is I am specifying the references in the web.config manually, and also avoiding your internal calls to
dart.powerweb.textbox.getresource.aspx in my HttpModule project. I'll send you the code.
Reply | PowerWEB TextBox for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX