ORMGeneralOperationException

Posts   
 
    
Posts: 77
Joined: 05-May-2005
# Posted on: 19-Feb-2015 13:45:18   

My application is getting the following error when I attempt to run unit tests on a remote server:

SD.LLBLGen.Pro.ORMSupportClasses.ORMGeneralOperationException: None of the factories in the list of 'Oracle.ManagedDataAccess.Client, Oracle.DataAccess.Client' were found. Please check machine.config and the .NET version your application is running on.

The problem is that I'm running the tests on a TFS server that I don't have direct access to. At first I suspected that ODP was not installed there, so I had the IT folks do that yesterday but I am still getting the same error. Can you tell me what would cause this error so I can at least have a place to start troubleshooting?

LLBLGen Pro: v4.0 Final (October 12st, 2013) ORMSupportClasses.Net20: 4.1.13.1213 Database: Oracle 11g ODP.Net: 4.112.3.0 (11g) - at least this is what I told them to install simple_smile Template: Adapter .NET: 4.5.1

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 19-Feb-2015 18:04:11   

Could you provide a stack trace, please? Also could you please ask the IT folks to provide a copy of the machine.config(s), the 32bit one and the 64bit one as well?

Posts: 77
Joined: 05-May-2005
# Posted on: 19-Feb-2015 18:55:07   

Machine.config(s) requested. In the meantime, the stack trace is:

SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.get_FactoryToUse() SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.InitializeEnumTypeCache() SD.LLBLGen.Pro.DQE.Oracle.OracleSpecificCreator.SetDbProviderFactoryParameterData(List`1 dbProviderFactoryInvariantNamesWithEnumTypeNames, String dbProviderSpecificEnumTypePropertyName) SD.LLBLGen.Pro.DQE.Oracle.DynamicQueryEngine..cctor() SD.LLBLGen.Pro.DQE.Oracle.DynamicQueryEngine..ctor() ABP.Db.Oracle.DataAccessAdapter.CreateDynamicQueryEngine() SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.CreateSelectDQ(QueryParameters parameters) ABP.Db.Oracle.DataAccessAdapter.CreateSelectDQ(QueryParameters parameters) SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityUsingFilter(IEntityFields2 fieldsToFetch, IFieldPersistenceInfo[] persistenceInfos, IRelationPredicateBucket filter) SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityUsingFilter(IEntity2 entityToFetch, IPrefetchPath2 prefetchPath, Context contextToUse, IRelationPredicateBucket filter, ExcludeIncludeFieldsList excludedIncludedFields) SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntity(IEntity2 entityToFetch, IPrefetchPath2 prefetchPath, Context contextToUse, ExcludeIncludeFieldsList excludedIncludedFields) ABP.Db.Oracle.DataAccessAdapter.FetchEntity(IEntity2 entityToFetch, IPrefetchPath2 prefetchPath, Context contextToUse, ExcludeIncludeFieldsList excludedIncludedFields) SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntity(IEntity2 entityToFetch) UnitTest.BaseTest.DisableAllCappingSchemes() UnitTest.BaseTest.BaseTestInitialize()

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 20-Feb-2015 07:12:12   

It's down to: the ODP provider factory should be installed and accessible in your server.

David Elizondo | LLBLGen Support Team