Hello,
I'm using the nuget package for Devart.Data.Oracle and as Licensing mechanism I set the LicenseKey property of OracleConnectionStringBuilder. Now I have the problem, that in the Develop machine I get allways an exception with the error "Method not found: Void Devart.Data.Oracle.OracleConnectionStringBuilder.set_LicenseKey(System.String)"
I have a asp.net project (.net 4.7.2).
I think the problem is, that on the local machine it is using the assembly from the gac (installed with the Devart installer)
On the other pc's where Devart is not installed it works fine.
Whow I can solve this problem?
Best regards
Hansjörg
Error: Method not found: Void Devart.Data.Oracle.OracleConnectionStringBuilder.set_LicenseKey(System.String)
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Error: Method not found: Void Devart.Data.Oracle.OracleConnectionStringBuilder.set_LicenseKey(System.String)
That is the reason of the issue. Please reinstall dotConnect for Oracle and select the "Do not install assemblies in the GAC" option in Setup Wizard.hansjoergp wrote: ↑Thu 23 May 2019 13:53I think the problem is, that on the local machine it is using the assembly from the gac (installed with the Devart installer)
On the other pc's where Devart is not installed it works fine.
Whow I can solve this problem?
JIC: you can run your project in the debug mode, navigate to Debug > Windows > Modules and check Path values of Devart.* assemblies loaded in the process of your application ->
a) .NET Framework Devart.* assemblies are loaded from C:\Windows\assembly\GAC_MSIL\
b) .NET Standard (.NET Core) Devart.* assemblies are loaded from C:\Users\xxxxx\.nuget\packages\ or the \packages\ folder of your project