Mono Compilation Errors (was Testing Mono's compatibility)
Joseph Sinclair
plug-discussion at stcaz.net
Thu Sep 14 13:52:56 MST 2006
Hmmmm....
It looks like the Mono page compiler (which creates native DLL's for each page, ick...) is having trouble reading and/or writing in the DLL temporary directory (/tmp/apache-temp-aspnet-0/bbce3785/81846.dll). You may wish to check permissions in this area and ensure the Mono process(es) and Apache both have full access to this area (and there are no cleaner processes removing the files). Other than that, I'm stumped, it's now shifted from a coding problem to Mono installation issues, and I don't know enough about the specifics of a Mono install to help there.
FoulDragon at aol.com wrote:
> In a message dated 13.Sep.2006 23.27.53 US Mountain Standard Time,
> plug-discussion at stcaz.net writes:
>> Try putting the following at the top of your page:
>> %@Page Language="VB"%
>
> The plot thickens...
>
> With that version, I get
> File not found
> Description: Error processing request.
>
> Error Message: HTTP 404. File not found
>
> Stack Trace:
>
> System.IO.FileNotFoundException: /tmp/apache-temp-aspnet-0/bbce3785/81846.dll
> : /tmp/apache-temp-aspnet-0/bbce3785/81846.dll
> in <0x00000> <unknown method>
> in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom
> (string,bool)
> in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String assemblyFile)
> in <0x00388> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch
> (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
> in <0x00022>
> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[]
> fileNames)
> in <0x002f5> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch
> (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[]
> ea)
> in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch
> (System.CodeDom.Compiler.CompilerParameters options,
> System.CodeDom.CodeCompileUnit[] ea)
> in <0x0003c> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom
> (System.CodeDom.Compiler.CompilerParameters options,
> System.CodeDom.CodeCompileUnit e)
> in <0x00121> System.Web.Compilation.CachingCompiler:Compile
> (System.Web.Compilation.BaseCompiler compiler)
> in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> in <0x000fa> System.Web.Compilation.AspGenerator:GetCompiledType ()
> in <0x00029> System.Web.UI.PageParser:CompileIntoType ()
> in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
> in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance (System.String
> virtualPath, System.String inputFile, System.Web.HttpContext context)
> in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler
> (System.Web.HttpContext context, System.String requestType, System.String url, System.String path)
> in <0x001e3> System.Web.HttpApplication:GetHandler (System.Web.HttpContext
> context)
> in <0x00894> System.Web.HttpApplication+<Pipeline>__1:MoveNext ()
>
> Since removing that directive from the top of the file produces the old "This
> is VB, not C#, WTF?" errors, I think something needed to support VB must be
> 404. Any thoughts?
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
More information about the PLUG-discuss
mailing list