[Mono-dev] Difference on reference search between mono 2.4.2 and mono 2.4.3

APS dev.malst at apsystems.it
Mon Nov 16 06:57:16 EST 2009

I tried placing crystal libraries inside bin directory and now it 
asks for various visual studio (the build is done with visual studio 
on MS.NET) libraries that are obviously missing.
What I'm doing wrong?

At 12.09 16/11/2009, APS wrote:
>I was using with success a web application on Centos with mono 2.4.2 
>compiled from source.
>To try the new version I downloaded the Mono 2.4.3 Virtual machine, 
>I copied my web application to the new server and it gives an error 
>cause Crystal Reports dll are missing.
>Those dll are referenced inside other assemblies but not used.
>It sounds strange to me that 2.4.2 doesn't complain about that and 
>2.4.3 gives an error.
>As I cannot remove the reference, where is the difference between 
>the two machines? It's due to mono version or to some different 
>configuration or compilation option?
>The error displayed is:
>System.Reflection.ReflectionTypeLoadException: The classes in the
>module cannot be loaded.
>   at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
>   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)
>   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)
>   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 ()
>   at
>() [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 ()
>   at
>(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]
>but in mod_mono debug output there are those warnings:
>** (/usr/lib/mono/2.0/mod-mono-server2.exe:23950): WARNING **: The 
>following assembly referenced from 
>could not be loaded:
>      Assembly:   CrystalDecisions.CrystalReports.Engine 
> (assemblyref_index=3)
>      Version:    9.1.5000.0
>      Public Key: 692fbea5521e1304
>The assembly was not found in the Global Assembly Cache, a path 
>listed in the MONO_PATH environment variable, or in the location of 
>the executing assembly 
>Il messaggio e' stato analizzato alla ricerca di virus o
>contenuti pericolosi da <http://www.mailscanner.info/>MailScanner, ed e'
>risultato non infetto.
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091116/6a042925/attachment.html 

More information about the Mono-devel-list mailing list