[Mono-bugs] [Bug 388425] Mono loads assembly from bin/ referenced in web. config regardless of its version number

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 10 05:37:38 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=388425

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=388425#c2


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be




--- Comment #2 from Gert Driesen <gert.driesen at pandora.be>  2008-05-10 03:37:37 MST ---
FYI, this is the error reported by MS:

[FileLoadException]: Could not load file or assembly 'Mono.Web.Test,
Version=2.0
0.0, Culture=neutral, PublicKeyToken=8dcf90ebde298dcd' or one of its
dependenci
es. The located assembly's manifest definition does not match the assembly
refer
ence. (Exception from HRESULT: 0x80131040)
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase,
Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark,
Boo
lean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
E
vidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark,
Bool
ean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence
 assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence
as
semblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
asse
mblyName, Boolean starDirective)
[ConfigurationErrorsException]: Could not load file or assembly 'Mono.Web.Test,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=8dcf90ebde298dcd' or one of
its
 dependencies. The located assembly's manifest definition does not match the
ass
embly reference. (Exception from HRESULT: 0x80131040)
(D:\Development\Projects\m
ono\gert\standalone\bug388425\web\web.config line 6)
   at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String
asse
mblyName, Boolean starDirective)
   at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
   at
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSec
tion compConfig)
   at System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory
vd
ir)
   at
System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(Virtu
alDirectory vdir, Boolean ignoreErrors)
   at
System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirect
ory vdir, VirtualPath virtualDir, Boolean ignoreErrors)
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath
virtualPath
)
   at
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPat
h virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPreco
mpile)
   at
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpCo
ntext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
   at
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPat
h virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualP
ath virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossA
pp, Boolean noAssert)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context,
Str
ing requestType, VirtualPath virtualPath, String physicalPath)
   at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandle
r(HttpContext context, String requestType, VirtualPath virtualPath, String
physi
calPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requ
estType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplicat
ion.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
compl
etedSynchronously)

I've added a standalone test case to SVN (gert/standalone/bug388425).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list