I am trying to implement OraDirect into Enterpirse Library 2.0. I followed the Documentation and Sample but I get this error when trying to create the database.
System.ArgumentException was unhandled by user code
Message="The type 'CoreLab.Oracle.EnterpriseLibrary.OracleDatabase, \r\n CoreLab.Oracle.EnterpriseLibrary' cannot be resolved. Please verify the spelling is correct or that the full type name is provided."
Source="Microsoft.Practices.EnterpriseLibrary.Common"
StackTrace:
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.AssemblyQualifiedTypeNameConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text)
at System.Configuration.ConfigurationProperty.ConvertFromString(String value)
I think I am doing the integration correctly from the documentation:
1. Modify the App.Config file to refer to OraDirect as the dataprovider
2. Refernce CoreLab.Oracle.EnterpriseLibrary, Microsoft.Practices.EnterpriseLibrary.Data and Microsoft.Practices.EnterpriseLibrary.Common and using the Ent.Data
3. I try to create a database Database db = DatabaseFactory.CreateDatabase() , I get the above error. Any suggestions?
Enterprise Library 2.0 with OraDirect
-
- Posts: 1
- Joined: Tue 24 Oct 2006 19:50
- Contact: