Like everyone else, this runs fine locally. Then when i go to deploy i get the following stack trace:
Code: Select all
2009-08-19 03:46:21 [Service.Global] DEBUG (null) - Stack trace follows
System.Data.EntityException: The underlying provider failed on Open. ---> Devart.Data.Oracle.OracleException: License not valid due to the problems with dotConnect for Oracle installation.
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()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at WaterRights.DataAccessObjects.SummaryDao.GetSummaryByWRNumber(String wrNumber) in d:\source\WaterRights\DataAccessObjects\SummaryDao.cs:line 47
at WaterRights.BusinessLogic.SummaryActions.GetWaterRightSummaryByWrNumber(String wrNumber) in d:\source\WaterRights\BusinessLogic\SummaryActions.cs:line 39
at Service.Controllers.SummaryController.DoProcessRequest(IExecutionContext context) in d:\source\WaterRights\Service\Controllers\SummaryController.cs:line 51
at Bistro.Controllers.AbstractController.ProcessRequest(HttpContextBase context, IContext requestContext)
at Bistro.Http.Module.ProcessRequestRecursive(HttpContextBase context, String requestPoint, IContext requestContext)
at Bistro.Http.Module.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2009-08-19 03:46:21 [Service.Global] ERROR (null) - The underlying provider failed on Open.
1. Since I am using dotConnect in a class library with the entity framework i created a licenses.licx and licenses.config and embeded the licx file as a resource in the library.
2. I put Devart.Data.dll, Devart.Data.Oracle.dll, and Devart.Data.Oracle.Entity.dll in the GAC on my two load balanced test servers.
3. I have run Tools/Oracle/License Information. There was one Fix button which i clicked which didn't seem to do anything.
4. Read every dotConnect for Oracle licensing issue post and tried everything that seemed relevant.
5. Ran out of time.
What else do I need to do? Thanks.
Perry