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

tyler at monkeypox.org tyler at monkeypox.org
Fri Sep 25 12:25:55 EDT 2009


Moin Ferdinand!

Ferdinand Funke schrieb am Freitag, den 25. September 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.

This looks very similar to an issue that's being discussed on the
mono-aspnet list currently, are you using the AJAX Control Toolkit?

http://lists.ximian.com/pipermail/mono-aspnet-list/2009-September/000460.html

You might consider joining the list as well, it's a bit better about
ASP.NET specific issues


> 
> 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
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090925/e0c28d57/attachment-0001.bin 


More information about the Mono-list mailing list