[Mono-list] xsp throws FileNotFoundException
Frederik Carlier
frederik.carlier at ugent.be
Tue Mar 6 15:20:31 EST 2007
Seems like a bug in the VBCodeCompiler class. I filed a bug against vbnc:
http://bugzilla.ximian.com/show_bug.cgi?id=81057
Frederik.
Frederik Carlier schreef:
> Hi,
>
> I'm trying to make a simple website run under Mono. I created a NAnt
> build script to build the website and tested it under Windows with
> Cassini. That works.
>
> Running the same website with xsp, however, yields an FileNotFoundException:
>
> System.IO.FileNotFoundException: File or assembly name /tmp/fcarlier-temp-aspnet-0/a1868974/1623c9ba.dll, or one of its dependencies, was not found.
> File name: "/tmp/fcarlier-temp-aspnet-0/a1868974/1623c9ba.dll"
> at <0x00000> <unknown method>
> at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
> at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000]
> at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
> at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
> at Microsoft.VisualBasic.VBCodeCompiler.CompileFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea) [0x00000]
> at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea) [0x00000]
> at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit e) [0x00000]
> at System.Web.Compilation.CachingCompiler.Compile (System.Web.Compilation.BaseCompiler compiler) [0x00000]
> at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000]
> at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000]
> at System.Web.UI.ApplicationFileParser.GetCompiledApplicationType (System.String inputFile, System.Web.HttpContext context) [0x00000]
> at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000]
> at System.Web.HttpApplicationFactory.GetApplication (System.Web.HttpContext context) [0x00000]
> at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00000]
>
> Upon manual inspection, it shows that the temporary directory exists,
> but the file doesn't. It may be related to the change to the new vbnc
> compiler, but I'm rather in the dark about this.
>
> Does anyone have an idea about how I could fix this?
>
> Thanks!
>
> Frederik.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list