Page 1 of 1

Build Runtime Licenses with ASP.NET Web Application

Posted: Thu 10 Jul 2008 19:59
by Kris Nobels
I Just got a license (great)

But when i try to add it to my project i have a problem. :-(

There already is a topic on this forum on how to add licenses ( http://devart.com/forums/viewtopic.php?t=9041 )

Now I already created a web application and build my DAL with LLBL gen. (So far so good)

Localy everything works fine.

I add the licenses.licx file. But when i right click on it there is no option Build Runtime Licenses ??

Than i created a new project, only this time i select new Web Site inside Visual Studio 2008. (instead off Web application)

Again i add my licenses file.

I right click on it and it works inside Website ! ??

Is it possible to build runtime licenses inside Web Application ?

I would like to have it working inside my web application.

if anyone can help me out :-)

...

Kris

Posted: Mon 14 Jul 2008 13:05
by AndreyR
Hello, Kris.

Please check you have added the 'licenses.licx' file as Embedded Resource.
Then check that your compiled project contains the licenses as a resource. (Run Tools->MySql->License Information. Make sure it contains the following lines "The project has correct licenses.licx file." and "The compiled module has correct license information." )
Ignore the following error: The library has a reference to CoreLab.MySql but cannot check if the library is used by an additional executable." .

Regards, Andrey.

Posted: Thu 17 Jul 2008 10:39
by AndreyR
Hello, Kris.

Try copying policy files from %WinDir%\Assembly\GAC_MSIL\Policy.4.xx.CoreLab.xx
to the according folder at the machine you wish to deploy the application on.

That should help.

Regards, Andrey.

re:

Posted: Tue 15 Dec 2009 12:51
by mackkaif
thanks for sharing :)

Posted: Tue 14 Sep 2010 13:49
by ukanase
Hello Kris,

Please share how you included license information in your existing web site project. We are also facing same problem in our application.

Thanks,
Umesh

Posted: Wed 15 Sep 2010 09:59
by StanislavK
ukanase, do you mean that the Build Runtime Licenses option is unavailable for the licenses.licx file? Note that this option is available only for files located in the root folder of the site. Please ensure that licenses.licx is in the root folder.

If the problem persists, please specify the version of dotConnect for MySQL and Visual Studio you are using and, if possible, send us a test project with which the problem can be reproduced.