Err: Could not load type 'Devart.Common.ProviderVersionInfo
Posted: Fri 13 Nov 2009 12:02
I have just installed the full licensed professional version of dotConnect for Oracle. I uninstalled the trial version using the uninstaller and then ran the install for 5.25 pro. Now when I go back into VS2008 and try to run the application (built using Linq To Oracle) I get the following error:
The stack trace:
==========
I've checked the GAC and assembly versions are correct. I've also updated the references in the project.
Any help will be greatly appreciated.
Regards,
Peter.
Code: Select all
Could not load type 'Devart.Common.ProviderVersionInformation' from assembly 'Devart.Data.Oracle, Version=5.25.49.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.
==========
Code: Select all
[TypeLoadException: Could not load type 'Devart.Common.ProviderVersionInformation' from assembly 'Devart.Data.Oracle, Version=5.25.49.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.]
Devart.Data.Oracle.Linq.Provider.OracleDataSourceInfo..ctor() +0
Devart.Data.Oracle.Linq.Provider.OracleDataSourceInfo..cctor() +21
[TypeInitializationException: The type initializer for 'Devart.Data.Oracle.Linq.Provider.OracleDataSourceInfo' threw an exception.]
Devart.Data.Oracle.Linq.Provider.OracleDataSourceInfo.get_InvariantInfo() +0
Devart.Data.Oracle.Linq.Provider.OracleDataProvider.get_DataSourceInfo() +5
Devart.Data.Linq.h..ctor(DataContext A_0, MetaModel A_1) +110
Devart.Data.Linq.DataContext.a(Object A_0, MappingSource A_1, Type A_2) +457
Devart.Data.Linq.DataContext..ctor(String connectionString, MappingSource mapping) +50
BI.Model.FLOPSDataContext..ctor() in C:\SubVersion\FlightOperations\BI\model\FLOPSDataContext.Designer.cs:68
BI.BusinessInterface..ctor() in C:\SubVersion\FlightOperations\BI\BusinessInterface.cs:69
FLOPS.Global.Session_Start(Object sender, EventArgs e) in C:\SubVersion\FlightOperations\FLOPS\Global.asax.cs:24
System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8776708
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Any help will be greatly appreciated.
Regards,
Peter.