.NET 4.0 & Licensing issue
Posted: Fri 03 Sep 2010 17:40
I have had a web project in Visual Studio 2010 on .NET 3.5 that I just upgraded to 4.0. No other changes were made during the upgrade, just changed the .NET version and then redeployed to the same Windows 2008 server, changed the .NET version on the application pool, and now I get the licensing errors. Every project in the solution has the licenses.licx file and it all worked prior to upgrading to 4.0. When I go into the License information it tells me that 3 projects (web app and 2 business DLLs) have references to Devart.Data.Oracle but cannot check if the library is used by additional executables and has the fix button, but no other errors or warnings, and the web app is what I am trying to run.
How can I fix this licensing issue? The version number on the Devart.Data.Oracle DLL matches the version in licenses.licx, which says:
Devart.Data.Oracle.OracleConnection, Devart.Data.Oracle, Version=5.25.37.0, Culture=neutral, PublicKeyToken=09af7300eec23701
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.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at Devart.Data.Oracle.OracleDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at SQLEngines.OracleEngine2.ExecuteToDataTable(CommandDefinition definition) in D:\Source Code\SVN\Source01_WebTeam\ThirdParty\Visual Studio 2010\SQLEngines\OracleEngine2.cs:line 45
at SQLEngines.EngineBase.LoadList(CommandDefinition cd, Factory factory) in D:\Source Code\SVN\Source01_WebTeam\ThirdParty\Visual Studio 2010\SQLEngines\EngineBase.cs:line 75
at SQLEngines.EngineBase.LoadAll(Factory factory) in D:\Source Code\SVN\Source01_WebTeam\ThirdParty\Visual Studio 2010\SQLEngines\EngineBase.cs:line 101
at MyCompany.OracleBusiness._Service.MyCompanyBUTTONS_GetAll() in D:\Source Code\SVN\fcMyCompanyapptest01_MyCompanyDotNet\Visual Studio 2010\MyCompany\OracleBusiness\GeneratedCode\_MyCompanyBUTTONS.cs:line 16
at MyCompany.WebApp.Admin.DashboardButtonManagerList.LoadList() in D:\Source Code\SVN\fcMyCompanyapptest01_MyCompanyDotNet\Visual Studio 2010\MyCompany\WebApp\Admin\DashboardButtonManagerList.ascx.cs:line 24
at MyCompany.WebApp.Admin.DashboardButtonManagerList.Page_Load(Object sender, EventArgs e) in D:\Source Code\SVN\fcMyCompanyapptest01_MyCompanyDotNet\Visual Studio 2010\MyCompany\WebApp\Admin\DashboardButtonManagerList.ascx.cs:line 17
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
How can I fix this licensing issue? The version number on the Devart.Data.Oracle DLL matches the version in licenses.licx, which says:
Devart.Data.Oracle.OracleConnection, Devart.Data.Oracle, Version=5.25.37.0, Culture=neutral, PublicKeyToken=09af7300eec23701
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.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at Devart.Data.Oracle.OracleDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at SQLEngines.OracleEngine2.ExecuteToDataTable(CommandDefinition definition) in D:\Source Code\SVN\Source01_WebTeam\ThirdParty\Visual Studio 2010\SQLEngines\OracleEngine2.cs:line 45
at SQLEngines.EngineBase.LoadList(CommandDefinition cd, Factory factory) in D:\Source Code\SVN\Source01_WebTeam\ThirdParty\Visual Studio 2010\SQLEngines\EngineBase.cs:line 75
at SQLEngines.EngineBase.LoadAll(Factory factory) in D:\Source Code\SVN\Source01_WebTeam\ThirdParty\Visual Studio 2010\SQLEngines\EngineBase.cs:line 101
at MyCompany.OracleBusiness._Service.MyCompanyBUTTONS_GetAll() in D:\Source Code\SVN\fcMyCompanyapptest01_MyCompanyDotNet\Visual Studio 2010\MyCompany\OracleBusiness\GeneratedCode\_MyCompanyBUTTONS.cs:line 16
at MyCompany.WebApp.Admin.DashboardButtonManagerList.LoadList() in D:\Source Code\SVN\fcMyCompanyapptest01_MyCompanyDotNet\Visual Studio 2010\MyCompany\WebApp\Admin\DashboardButtonManagerList.ascx.cs:line 24
at MyCompany.WebApp.Admin.DashboardButtonManagerList.Page_Load(Object sender, EventArgs e) in D:\Source Code\SVN\fcMyCompanyapptest01_MyCompanyDotNet\Visual Studio 2010\MyCompany\WebApp\Admin\DashboardButtonManagerList.ascx.cs:line 17
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)