Page 1 of 1

Licensing problem

Posted: Mon 31 Mar 2008 19:52
by DominicGagne
Hi,

I have a VB.NET application using OraDirect .NET version 4.50.30. OraDirect is embedded in a Class Library (User-Control) project. I created the licenses.licx file manually and the licenses.config file with the name of my executable in it, but I still get the same error over and over when trying to open the connexion:

"Exception: Assembly that contains embedded OraDirect .NET license cannot be used with this application: X-ACTIM. Please correct license information."

File licenses.config contains "X-ACTIM.EXE"
File licenses.licx contains "CoreLab.Oracle.OracleConnection, CoreLab.Oracle"

Before applying the license, it works fine. Since then, I can't connect anymore.

thanks for your time and help

Posted: Tue 01 Apr 2008 11:08
by Alexey.mdr
Try pressing Fix button in the License Information dialog.
To invoke it choose Tools -> Oracle -> License Information... in the Visual Studio main menu.
This wizard should solve the problem in case when the solution contains several projects that reference each other and CoreLab.* assemblies.
What version of .NET framework do you use (also is it CF or not)?
Please make a simple project with only one OracleConnection component.
Add references to the CoreLab.Oracle.dll and CoreLab.Data.dll.
Check that licenses.licx contains needed entries and send me (alexeyman*crlab*com) this project.

Posted: Tue 01 Apr 2008 13:09
by DominicGagne
the Fix button in the License Dialog worked fine.

thanks a lot for your help!!

Posted: Tue 01 Apr 2008 16:38
by Alexey.mdr
Not a problem!
Feel free to contact us if you encounter any problems with OraDirect .NET.