Driver load error

Posts   
 
    
Abrar
User
Posts: 26
Joined: 13-Nov-2009
# Posted on: 16-Nov-2009 19:20:06   

Hi, I am getting an error when i select a Database driver in LLBLGen Pro. Version 2.5. I am using Oracle 10g(which i can connect fine using Oracle SQL Developer) and i want to select Oracle 10g Driver (ODP.NET 10.x) in LLBGen.

The error is:

Driver load error

The driver 'Oracle 10g Driver (ODP.NET 10.x)' could not be loaded due to an exception.

The driver will be removed from the drop down list. It is recommended that you inspect the exception

which caused this load error. This exception is listed below

Exception:

Exception has been thrown by the target of an invocation.

Stack trace:

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

at System.Activator.CreateInstance(Type type, Boolean nonPublic)

at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

at SD.LLBLGen.Pro.ApplicationCore.DBDriverHelper.CreateDBDriverInstance(String assemblyFilename, String namespaceToUse, String className)

at SD.LLBLGen.Pro.Gui.Forms.NewProjectWizard.LoadDriverAndConnectionControl()

OK

Thanks, Abrar

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39797
Joined: 17-Aug-2003
# Posted on: 17-Nov-2009 10:15:27   

install ODP.NET 10g or higher.

please, next time post in the right forum, not in general chat. thanks.

Frans Bouma | Lead developer LLBLGen Pro