Hello.
FYI, I encounter this error whenever I tried to execute my application after I've installed OraDirect.NET 4.50.30.
"Assembly that contains embedded OraDirect.NET license cannot be used with this application: MyApp.exe. Please correct license information."
I have a class library that contains CoreLab Oracle 3.55 as its reference dll previously and I have added the class library as a reference dll in my application. Recently, I have updated my class library to contains CoreLab.Oracle 4.50 as its reference dll and I have updated my application to add the updated class library as new reference. The debugging seems to be fine but the error comes out when my application tries to open a connection.
Any idea on how to rectify this problem?
Help is greatly appreciated. Thanks in advance.
Sorry for the grammar and typo error
[OracleException] Unable to execute application
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
In case where it is impossible to put the license information straight to executable file, OraDirect .NET allows you to create class libraries that can be used with certain executable files. To do this perform the following steps:
Create and setup file named licenses.licx as described above.
Create a text file named licenses.config and place it next to licenses.licx.
In this file enumerate names of executable files that will work with the library, every file name on separate line, for example:
MyApplication.exe
MyAnotherApp.exe
ExtraTool.exe
Create and setup file named licenses.licx as described above.
Create a text file named licenses.config and place it next to licenses.licx.
In this file enumerate names of executable files that will work with the library, every file name on separate line, for example:
MyApplication.exe
MyAnotherApp.exe
ExtraTool.exe
Thanks for the feedback. I'll try to see if it works
However, this problem only occurs to certain applications, other applications which refer to the class library as stated works without error.
So, I just curious why some applications may hit that error while some not.
Thanks again for the feedback, your help is greatly appreciated.
However, this problem only occurs to certain applications, other applications which refer to the class library as stated works without error.
So, I just curious why some applications may hit that error while some not.
Thanks again for the feedback, your help is greatly appreciated.
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24