[Mono-aspnet-list] The classes in the module cannot be loaded.

Andrus Moor kobruleht2 at hot.ee
Wed Mar 30 13:45:39 EDT 2011


Typing http://mysite.com/MYService.asmx returns exception

The classes in the module cannot be loaded with stack trace below.

How to fix or debug this ?

Andrus.

[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.AddDirective (System.String directive, 
System.Collections.Hashtable atts) [0x00000]
  at System.Web.UI.TemplateControlParser.AddDirective (System.String 
directive, System.Collections.Hashtable atts) [0x00000]
  at System.Web.UI.PageParser.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.BuildManager.CreateInstanceFromVirtualPath 
(System.String virtualPath, System.Type requiredBaseType) [0x00000]
  at System.Web.Services.Protocols.SoapDocumentationHandler..ctor 
(System.Type type, System.Web.HttpContext context) [0x00000]
  at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler 
(System.Web.HttpContext context, System.String verb, System.String url, 
System.String filePath) [0x00000]
  at System.Web.Script.Services.ScriptHandlerFactory.GetHandler 
(System.Web.HttpContext context, System.String requestType, System.String 
url, System.String pathTranslated) [0x00000]
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, 
System.String url, Boolean ignoreContextHandler) [0x00000]
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, 
System.String url) [0x00000]
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]



More information about the Mono-aspnet-list mailing list