License not valid due to the problems with... AGAIN

License not valid due to the problems with... AGAIN

Postby plangeberg » Fri 07 May 2010 10:49

I don't know why this problem keeps creeping back up. Not sure why it worked once and then the next build it stopped again. Can you tell me what causes this error that I might have a better understanding of it and how to prevent it?

No issues with the developer tools/license info.
Devart.Data.Oracle version
docconnect installed on dev machine, not on build server nor on web server. Was working then for some reason it has stopped and I get the error below.
Precompiling with aspnet_merge.
Devart*.dll set to copy local.
All forum refrences end with responding directly via email.

Server Error in '/ttweb_stage' Application.

License not valid due to the problems with dotConnect for Oracle installation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Devart.Data.Oracle.OracleException: License not valid due to the problems with dotConnect for Oracle installation.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OracleException (0x80004005): License not valid due to the problems with dotConnect for Oracle installation.]
Devart.Data.Oracle.OracleConnection.Open() +643
Devart.Data.Linq.Provider.ConnectionManager.GetOpenConnection() +185

[LinqCommandExecutionException: Error on opening DbConnection.]
Devart.Data.Linq.LinqCommandExecutionException.a(String A_0, Exception A_1) +59
Devart.Data.Linq.Provider.ConnectionManager.GetOpenConnection() +214
Devart.Data.Linq.Provider.ConnectionManager.b(IConnectionUser A_0) +98
Devart.Data.Linq.Provider.DataProvider.a(b A_0, Object[] A_1, Object[] A_2, Object A_3) +78
Devart.Data.Linq.Provider.DataProvider.a(b A_0, Object[] A_1) +21
Devart.Data.Linq.Provider.b.a(b A_0, Object[] A_1) +42
Devart.Data.Linq.DataQuery`1.i() +73
System.Linq.d__4d`1.MoveNext() +198
System.Linq.d__3a`1.MoveNext() +127
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +327
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
TTWeb.Controllers.TransactionsController.Search(TransactionQueryString query, Int32 page) in c:\SourceControlApplications\TeamCity\buildAgent\work\70ff59628da2973e\source\TTWeb\Controllers\TransactionsController.cs:47
lambda_method(Closure , ControllerBase , Object[] ) +151
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +188
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.<>c__DisplayClassd.b__a() +56
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267
System.Web.Mvc.<>c__DisplayClassf.b__c() +20
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +190
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +329
System.Web.Mvc.Controller.ExecuteCore() +115
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +42
System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
System.Web.Mvc.<>c__DisplayClass8.b__4() +34
System.Web.Mvc.Async.<>c__DisplayClass1.b__0() +21
System.Web.Mvc.Async.<>c__DisplayClass8`1.b__7(IAsyncResult _) +12
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +30
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8836913
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Posts: 6
Joined: Thu 08 Apr 2010 20:19

Postby Shalex » Thu 13 May 2010 13:37

dotConnect for Oracle uses .NET component licensing. License information is a specially formed embedded resource. In your case, it is necessary to add manually the licenses.licx file to your ASP.NET MVC Web Application project as it is described at, and build your application on the machine where dotConnect for Oracle is installed.

If you do not want to install dotConnect for Oracle on your build server, it is possible to build the license resource separately on your development machine where dotConnect for Oracle is installed (, and then add the generated file to your project on your build server as an embedded resource.
Devart Team
Posts: 7460
Joined: Thu 14 Aug 2008 12:44

couldnt get it to work this way.

Postby mickdelaney » Wed 26 May 2010 14:01

we've had to install on all our build agents.

absolutely the worst licencing solution i've ever come across, you really need to get a new solution as it has left a terrible stain on otherwise great tools.
Posts: 1
Joined: Wed 26 May 2010 13:41

Postby StanislavK » Fri 28 May 2010 15:56

We are sorry to find out that our licensing procedure is not convenient to you, but we use the standard .NET component licensing.

If possible, please send us a test project with which the problem can be reproduced so that we are able to investigate it in details.
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Postby fbkevy » Mon 23 Apr 2012 06:50

Could my problem be license related? Is 0x80004005 common? ... 0653#80653
Posts: 4
Joined: Fri 20 Apr 2012 07:05

Postby Pinturiccio » Thu 26 Apr 2012 11:49

The license issue cannot be the reason of the exception from the topic
Devart Team
Posts: 1891
Joined: Wed 02 Nov 2011 09:44

Re: License not valid due to the problems with... AGAIN

Postby chart » Thu 10 May 2012 14:47

Perform a clean on the solution worked for us. We had one solution that was working and one that was not. We uninstalled/reinstalled, but nothing worked. Finally we performed a clean/rebuild all and it worked. Good Luck!
Posts: 1
Joined: Thu 10 May 2012 14:37

Re: License not valid due to the problems with... AGAIN

Postby dumian » Sun 10 Jun 2012 14:51

We have the same problem on running the DB Unit tests on Team Build where is no Devart installed, all configurations are correct, devart.*.dll's are deployed.

We generate an qtagent32.exe.license for the process that hosts the test execution and attached to the Test Projects as embedded resource.

The .licx file is not included to the projects.

any experiences with such an scenarios ?
Posts: 13
Joined: Sat 09 Jun 2012 19:10

Re: License not valid due to the problems with... AGAIN

Postby Pinturiccio » Thu 14 Jun 2012 12:19

We have answered you at our forum
Devart Team
Posts: 1891
Joined: Wed 02 Nov 2011 09:44

Return to dotConnect for Oracle