[Mono-list] Problem loading ASP.NET page after Mono update

Ferdinand Funke dr_doom1983 at yahoo.de
Fri Sep 25 02:35:58 EDT 2009


Hello,
I recently updated my Mono version from 2.4 to 2.4.2.3. After updating I 
was not able to load my main ASP.NET project any more. Here is the error:
Server Error in '/' Application
The classes in the module cannot be loaded.

Description: HTTP 500. Error processing request.

Stack Trace:

System.Reflection.ReflectionTypeLoadException: The classes in the module 
cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000]
  at System.Web.UI.TemplateParser.FindNamespaceInAssembly 
(System.Reflection.Assembly asm, System.String namesp) [0x00000]
  at System.Web.UI.TemplateParser.AddAssemblyForNamespace (System.String 
namesp) [0x00000]
  at System.Web.UI.TemplateParser.AddImport (System.String namesp) 
[0x00000]
  at System.Web.UI.TemplateParser.RegisterNamespace (System.String 
tagPrefix, System.String ns, System.String assembly) [0x00000]
  at System.Web.UI.TemplateControlParser.AddDirective (System.String 
directive, System.Collections.Hashtable atts) [0x00000]
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, 
TagType tagtype, System.String tagid, 
System.Web.Compilation.TagAttributes attributes) [0x00000]
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, 
System.String id, System.Web.Compilation.TagAttributes attributes) 
[0x00000]
  at System.Web.Compilation.AspParser.Parse () [0x00000]
  at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader 
reader, System.String filename, Boolean doInitParser) [0x00000]
  at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () 
[0x00000]
  at 
System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType 
() [0x00000]
  at System.Web.Compilation.BuildManager.GetCodeDomProviderType 
(System.Web.Compilation.BuildProvider provider) [0x00000]
  at System.Web.Compilation.BuildManager+BuildItem..ctor 
(System.Web.Compilation.BuildProvider provider) [0x00000]
  at System.Web.Compilation.BuildManager.LoadBuildProviders 
(System.Web.VirtualPath virtualPath, System.String virtualDir, 
System.Collections.Generic.Dictionary`2 vpCache, 
System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName) 
[0x00000]
  at System.Web.Compilation.BuildManager.BuildAssembly 
(System.Web.VirtualPath virtualPath) [0x00000]
  at System.Web.Compilation.BuildManager.GetCompiledType (System.String 
virtualPath) [0x00000]
  at System.Web.Compilation.AspComponentFoundry+TagNameFoundry.LoadType 
() [0x00000]
  at System.Web.Compilation.AspComponentFoundry+TagNameFoundry.GetType 
(System.String componentName, System.String& source, System.String& ns) 
[0x00000]
  at System.Web.Compilation.AspComponentFoundry.CreateComponent 
(System.Web.Compilation.Foundry foundry, System.String tagName, 
System.String prefix, System.String tag) [0x00000]
  at System.Web.Compilation.AspComponentFoundry.GetComponent 
(System.String tagName) [0x00000]
  at System.Web.UI.RootBuilder.GetChildControlType (System.String 
tagName, IDictionary attribs) [0x00000]
  at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid, 
System.Collections.Hashtable atts, System.Type childType, 
System.Web.UI.TemplateParser parser, ILocation location) [0x00000]
  at System.Web.Compilation.AspGenerator.ProcessTag (ILocation location, 
System.String tagid, System.Web.Compilation.TagAttributes atts, TagType 
tagtype, System.Boolean& ignored) [0x00000]

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 
2.0.50727.1433

Moreover xsp2 gave me some errors as well:

** (/usr/lib/mono/2.0/xsp2.exe:4305): WARNING **: The class 
System.Web.UI.Design.WebControls.ListControlDesigner could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a

** (/usr/lib/mono/2.0/xsp2.exe:4305): WARNING **: The class 
System.Web.UI.Design.WebControls.ListControlDesigner could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a

** (/usr/lib/mono/2.0/xsp2.exe:4305): WARNING **: The class 
System.Web.UI.Design.WebControls.ListControlDesigner could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a

** (/usr/lib/mono/2.0/xsp2.exe:4305): WARNING **: The class 
System.Web.UI.Design.WebControls.ListControlDesigner could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a

** (/usr/lib/mono/2.0/xsp2.exe:4305): WARNING **: The class 
System.Web.UI.Design.WebControls.ListControlDesigner could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a

** (/usr/lib/mono/2.0/xsp2.exe:4305): WARNING **: The class 
System.Web.UI.Design.WebControls.ListControlDesigner could not be 
loaded, used in System.Design, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a


Before the update everything was working fine but now I do not really 
know what to do. Is there anybody who can give me a hint?

Best regards
Ferdinand


More information about the Mono-list mailing list