Mono - getting assembly error with Devart.Data.Oracle.Web
Posted: Thu 28 Jul 2011 09:05
Every time I try to use providers with Oracle on Mono, I get errors.
It happens as soon as I add Devart.Data.Oracle.Web to the project.
Even though I have no use for OraclePersonalizationProvider and OracleWebEventProvider, I get these errors.
Furthermore, It doesn't seem like my the MembershipProvider works properly, this might be connected.
I get the following error:
Server Error in '/' Application
Could not load type 'Devart.Data.Oracle.Web.Providers.OraclePersonalizationProvider' from assembly 'Devart.Data.Oracle.Web, Version=6.30.185.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.
Description: HTTP 500. Error processing request.
Stack Trace:
System.TypeLoadException: Could not load type 'Devart.Data.Oracle.Web.Providers.OraclePersonalizationProvider' from assembly 'Devart.Data.Oracle.Web, Version=6.30.185.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.
at (wrapper managed-to-native) System.Type:type_is_assignable_from (System.Type,System.Type)
at System.Type.IsAssignableFrom (System.Type c) [0x00096] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System/Type.cs:885
at System.Web.Mvc.AreaRegistration.IsAreaRegistrationType (System.Type type) [0x00000] in :0
at System.Web.Mvc.TypeCacheUtil+c__DisplayClass1.b__0 (System.Type type) [0x00000] in :0
at System.Linq.Enumerable+c__Iterator35`1[System.Type].MoveNext () [0x00059] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/System.Core/System.Linq/Enumerable.cs:3010
at System.Collections.Generic.List`1[System.Type].AddEnumerable (IEnumerable`1 enumerable) [0x0001a] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System.Collections.Generic/List.cs:126
at System.Collections.Generic.List`1[System.Type]..ctor (IEnumerable`1 collection) [0x0002f] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System.Collections.Generic/List.cs:63
at System.Linq.Enumerable.ToList[Type] (IEnumerable`1 source) [0x00006] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2847
at System.Web.Mvc.TypeCacheUtil.GetFilteredTypesFromAssemblies (System.String cacheName, System.Predicate`1 predicate, IBuildManager buildManager) [0x00000] in :0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Web.Routing.RouteCollection routes, IBuildManager buildManager, System.Object state) [0x00000] in :0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Object state) [0x00000] in :0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas () [0x00000] in :0
at Pricespy.MvcApplication.Application_Start () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:226
Version information: Mono Runtime Version: 2.10.1 (tarball Wed Feb 23 20:24:55 UTC 2011); ASP.NET Version: 4.0.30319.1
Edit:
I am using the newest version of dotConnect for Oracle (pro edition).
It happens as soon as I add Devart.Data.Oracle.Web to the project.
Even though I have no use for OraclePersonalizationProvider and OracleWebEventProvider, I get these errors.
Furthermore, It doesn't seem like my the MembershipProvider works properly, this might be connected.
I get the following error:
Server Error in '/' Application
Could not load type 'Devart.Data.Oracle.Web.Providers.OraclePersonalizationProvider' from assembly 'Devart.Data.Oracle.Web, Version=6.30.185.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.
Description: HTTP 500. Error processing request.
Stack Trace:
System.TypeLoadException: Could not load type 'Devart.Data.Oracle.Web.Providers.OraclePersonalizationProvider' from assembly 'Devart.Data.Oracle.Web, Version=6.30.185.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.
at (wrapper managed-to-native) System.Type:type_is_assignable_from (System.Type,System.Type)
at System.Type.IsAssignableFrom (System.Type c) [0x00096] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System/Type.cs:885
at System.Web.Mvc.AreaRegistration.IsAreaRegistrationType (System.Type type) [0x00000] in :0
at System.Web.Mvc.TypeCacheUtil+c__DisplayClass1.b__0 (System.Type type) [0x00000] in :0
at System.Linq.Enumerable+c__Iterator35`1[System.Type].MoveNext () [0x00059] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/System.Core/System.Linq/Enumerable.cs:3010
at System.Collections.Generic.List`1[System.Type].AddEnumerable (IEnumerable`1 enumerable) [0x0001a] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System.Collections.Generic/List.cs:126
at System.Collections.Generic.List`1[System.Type]..ctor (IEnumerable`1 collection) [0x0002f] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System.Collections.Generic/List.cs:63
at System.Linq.Enumerable.ToList[Type] (IEnumerable`1 source) [0x00006] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2847
at System.Web.Mvc.TypeCacheUtil.GetFilteredTypesFromAssemblies (System.String cacheName, System.Predicate`1 predicate, IBuildManager buildManager) [0x00000] in :0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Web.Routing.RouteCollection routes, IBuildManager buildManager, System.Object state) [0x00000] in :0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Object state) [0x00000] in :0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas () [0x00000] in :0
at Pricespy.MvcApplication.Application_Start () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /usr/src/redhat/BUILD/mono-2.10.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:226
Version information: Mono Runtime Version: 2.10.1 (tarball Wed Feb 23 20:24:55 UTC 2011); ASP.NET Version: 4.0.30319.1
Edit:
I am using the newest version of dotConnect for Oracle (pro edition).