VWD -Express, licensing
VWD -Express, licensing
Hi!
I'm for the moment running VWD express (Studio 2005 ordered) and I've recently purchased the MySQLDirect.net data provider.
I can't get rid of the message:
"License not found. Please view "Licensing" topic in MySQLDirect .NET documentation for details or contact Core Lab technical support. " on my local developing server.
Do I have to add something in the web.config file?
<add assembly="CoreLab.MySql, Version=3.20.9.0, Culture=neutral,...
is already added.
I'm for the moment running VWD express (Studio 2005 ordered) and I've recently purchased the MySQLDirect.net data provider.
I can't get rid of the message:
"License not found. Please view "Licensing" topic in MySQLDirect .NET documentation for details or contact Core Lab technical support. " on my local developing server.
Do I have to add something in the web.config file?
<add assembly="CoreLab.MySql, Version=3.20.9.0, Culture=neutral,...
is already added.
Do you have App_Licenses.dll assembly in the Bin directory of your site? If not please get it placed there:
1. Create a file named licenses.licx, if this file does not exists yet.
2. Open the file with a text editor and place this line inside:
CoreLab.MySql.MySqlConnection, CoreLab.MySql
3. Save the file and add it to your project.
4. Make sure it is embedded as a resource.
5. Execute "Build Runtime Licenses" command in the licenses.licx file context menu in the Solution Explorer view.
You are done.
1. Create a file named licenses.licx, if this file does not exists yet.
2. Open the file with a text editor and place this line inside:
CoreLab.MySql.MySqlConnection, CoreLab.MySql
3. Save the file and add it to your project.
4. Make sure it is embedded as a resource.
5. Execute "Build Runtime Licenses" command in the licenses.licx file context menu in the Solution Explorer view.
You are done.
I have tried this entire procedure and also cannot get an appl_license.dll created. I am using VWD 2005 .. like this customer. Please email me the file.
Alexey wrote:Do you have App_Licenses.dll assembly in the Bin directory of your site? If not please get it placed there:
1. Create a file named licenses.licx, if this file does not exists yet.
2. Open the file with a text editor and place this line inside:
CoreLab.MySql.MySqlConnection, CoreLab.MySql
3. Save the file and add it to your project.
4. Make sure it is embedded as a resource.
5. Execute "Build Runtime Licenses" command in the licenses.licx file context menu in the Solution Explorer view.
You are done.
We ought to have same application name for App_licenses.dll to work properly. Try to compile license using the following command:
Code: Select all
"%Compiler Path%\lc.exe" /target:App_Licenses.dll /complist:licenses.licx /i:"%Assembly Path%\CoreLab.MySql.dll"
That WORKED... I now have the App-licenses.dll file ...Alexey wrote:We ought to have same application name for App_licenses.dll to work properly. Try to compile license using the following command:Code: Select all
"%Compiler Path%\lc.exe" /target:App_Licenses.dll /complist:licenses.licx /i:"%Assembly Path%\CoreLab.MySql.dll"
ugh ... OK, well I *thought* I had since the command actually worked and it generated a License file. All I did was execute the command as you asked me to. I ran it in the SDK\2.0 JDK /bin directory and it created the file with a .licenses appended - see output at the bottom.. here;s the command I entered:
lc.exe /target:App_Licenses.dll /complist:"C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.licx" /i:"C:\Program Files\CoreLab\MySQLDirect.NET2\CoreLab.MySql.dll" /v
so, I have no idea why the .licences is getting appended. But I *do* know that it doesn't work if I try to rename it - removing the .licenses from the extension.
What am I doing wrong? Oh, and here is the output of the lc.exe command ... to save time..
Microsoft (R) .NET License Compiler
[Microsoft .Net Framework, Version 2.0.50727.42]
Copyright (c) Microsoft Corporation. All rights reserved.
Processing complist 'C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.licx'...
C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.
licx (1) : info LC0001 : Processing component entry 'CoreLab.MySql.MySqlConnection, CoreLab.MySql'
C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.
licx (1) : info LC0002 : Resolved entry to 'CoreLab.MySql.MySqlConnection, CoreL
ab.MySql, Version=3.55.20.0, Culture=neutral, PublicKeyToken=09af7300eec23701'
Creating Licenses file app_licenses.dll.licenses...
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0>dir app*
Volume in drive C has no label.
Volume Serial Number is 090E-3069
Directory of C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
03/08/2007 07:05 AM 830 app_licenses.dll.licenses
1 File(s) 830 bytes
lc.exe /target:App_Licenses.dll /complist:"C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.licx" /i:"C:\Program Files\CoreLab\MySQLDirect.NET2\CoreLab.MySql.dll" /v
so, I have no idea why the .licences is getting appended. But I *do* know that it doesn't work if I try to rename it - removing the .licenses from the extension.
What am I doing wrong? Oh, and here is the output of the lc.exe command ... to save time..
Microsoft (R) .NET License Compiler
[Microsoft .Net Framework, Version 2.0.50727.42]
Copyright (c) Microsoft Corporation. All rights reserved.
Processing complist 'C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.licx'...
C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.
licx (1) : info LC0001 : Processing component entry 'CoreLab.MySql.MySqlConnection, CoreLab.MySql'
C:\Documents and Settings\Tim\My Documents\My Web Sites\City Swing\Bin\licenses.
licx (1) : info LC0002 : Resolved entry to 'CoreLab.MySql.MySqlConnection, CoreL
ab.MySql, Version=3.55.20.0, Culture=neutral, PublicKeyToken=09af7300eec23701'
Creating Licenses file app_licenses.dll.licenses...
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0>dir app*
Volume in drive C has no label.
Volume Serial Number is 090E-3069
Directory of C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
03/08/2007 07:05 AM 830 app_licenses.dll.licenses
1 File(s) 830 bytes