Page 1 of 1

I send a e-mail to you

Posted: Fri 10 Feb 2006 02:38
by dreamlee
Hi. Paul.
I sended a e-mail([email protected]) to you. (...my project source files attach)
but you did not send yet the reply to me.

I checked that licenses.licx is included in my project.
but the error happens still.
-- Err Message
CoreLab.Oracle.OracleException: License expired or not valid. Please view "Licensing" topic in OraDirect .NET documentation for details or contact Core Lab technical support.

How can I solve this problem?

*Information*
I have OraDirect .NET Pro single license and I use Visual Studio .NET 2003.
My PC is using virtual IP.


Thanks.

Posted: Mon 13 Feb 2006 09:57
by Paul
We reproduced the problem. Your actions are correct, but Visual Studio 2003 has a bug with compiling licenses file. You have to do something similar to
this.

1. Compile licenses.licx to DbTable.exe.licenses with command line

lc.exe /target:DbTable.exe /complist:licenses.licx /i:CoreLab.Oracle.dll

Use the standard lc.exe with OraDirect .NET.
2. Put DbTable.exe.licenses file to bin\Debug directory
3. To do this, go back to Visual Studio, right-click the project, select
properties, and go to the
Linker/Command Line option. Enter the following:

/ASSEMBLYRESOURCE:Debug\DbTable.exe.licenses

Please check that resulting exe file has resource with name
DbTable.exe.licenses inside