dotConnect for Oracle Random "License not found" problem
Posted: Fri 26 Nov 2010 13:02
We have a site license for the Professional Edition of dotConnector for Oracle, and we have been seeing an intermittent problem with a "License not found" exception. We are using version 5.70.170.
We are developing IIS hosted WCF Service and Workflow applications where database access is performed through Entity Framework 4.
Sometimes, we see a problem where database access fails because of the following exception:
According to the Devart website, our site license grants us "unlimited number of developers within a single company at one physical address". Therefore, I think we do not have a licensing issue.
We are developing IIS hosted WCF Service and Workflow applications where database access is performed through Entity Framework 4.
Sometimes, we see a problem where database access fails because of the following exception:
Once we get this exception, every attempt to access the database fails with this exception. We are able to get it work work again if we force the IIS Worker Process to recycle. For example, by copying a DLL into the Web App dir and then deleting it.System.Data.EntityException: The underlying provider failed on Open. ---> Devart.Data.Oracle.OracleException: License not found. Please view "Licensing" topic in dotConnect for Oracle documentation for details or contact Devart technical support.
at Devart.Data.Oracle.OracleConnection.Open()
at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
--- End of inner exception stack trace ---
at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)
at System.Data.EntityClient.EntityConnection.Open()
at System.Data.Objects.ObjectContext.EnsureConnection()
at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
According to the Devart website, our site license grants us "unlimited number of developers within a single company at one physical address". Therefore, I think we do not have a licensing issue.