I send a e-mail to you

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
dreamlee
Posts: 3
Joined: Mon 06 Feb 2006 18:35

I send a e-mail to you

Post by dreamlee » Fri 10 Feb 2006 02:38

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.

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 13 Feb 2006 09:57

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

Post Reply