[Mono-dev] Regression in git master

Daniel Sell dredd422 at gmail.com
Tue Jan 11 17:55:46 EST 2011


Starting a few days ago, I started receiving an error on the startup of my
ASP.NET MVC application while using mono built from git master.

Could not load type 'System.ServiceModel.Dispatcher.ChannelDispatcher' from
assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.TypeLoadException: Could not load type
'System.ServiceModel.Dispatcher.ChannelDispatcher' from assembly
'System.ServiceModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.
  at (wrapper managed-to-native) System.Type:type_is_assignable_from
(System.Type,System.Type)
  at System.Type.IsAssignableFrom (System.Type c) [0x00090] in
/home/djsell/play/mono/mono/mcs/class/corlib/System/Type.cs:885
  at System.Web.Mvc.AreaRegistration.IsAreaRegistrationType (System.Type
type) [0x00000] in <filename unknown>:0
  at
System.Web.Mvc.TypeCacheUtil+<>c__DisplayClass1.<FilterTypesInAssemblies>b__0
(System.Type type) [0x00000] in <filename unknown>:0
  at
System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[System.Type].MoveNext
() [0x00059] in
/home/djsell/play/mono/mono/mcs/class/System.Core/System.Linq/Enumerable.cs:3014
  at System.Collections.Generic.List`1[System.Type].AddEnumerable
(IEnumerable`1 enumerable) [0x0001a] in
/home/djsell/play/mono/mono/mcs/class/corlib/System.Collections.Generic/List.cs:126
  at System.Collections.Generic.List`1[System.Type]..ctor (IEnumerable`1
collection) [0x0002f] in
/home/djsell/play/mono/mono/mcs/class/corlib/System.Collections.Generic/List.cs:63
  at System.Linq.Enumerable.ToList[Type] (IEnumerable`1 source) [0x00006] in
/home/djsell/play/mono/mono/mcs/class/System.Core/System.Linq/Enumerable.cs:2851
  at System.Web.Mvc.TypeCacheUtil.GetFilteredTypesFromAssemblies
(System.String cacheName, System.Predicate`1 predicate, IBuildManager
buildManager) [0x00000] in <filename unknown>:0
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas
(System.Web.Routing.RouteCollection routes, IBuildManager buildManager,
System.Object state) [0x00000] in <filename unknown>:0
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Object state)
[0x00000] in <filename unknown>:0
  at System.Web.Mvc.AreaRegistration.RegisterAllAreas () [0x00000] in
<filename unknown>:0
  at MyApp.MvcApplication.Application_Start () [0x00000] in
/home/djsell/play/myapp/MyApp/Global.asax.cs:36
  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) [0x000d0] in
/home/djsell/play/mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:226

If I revert to 2.8.2, everything works fine.

Thanks,
Dan Sell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110111/f32c3fba/attachment.html 


More information about the Mono-devel-list mailing list