[mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix

Rolf Bjarne Kvinge rolflists at ya.com
Fri Jun 22 03:34:58 EDT 2007



> -----Original Message-----
> From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
> bounces at lists.ximian.com] On Behalf Of JE M.
> Sent: viernes, 22 de junio de 2007 0:50
> To: mono-vb at lists.ximian.com
> Subject: [mono-vb] Cannot run VB.NET aspx application created with
> ASP.NET Web Matrix
> 
> Hello all, I created a simple aspx application that displays a welcome
> title
> on my Windows machine using ASP.NET Web Matrix. Then I copied the aspx
> application to a Linux SUSE Enterprise 10 OS . I have mono JIT compiler
> version 1.2.4 installed, and XSP web server up and running. I also have
> installed the vbnc compiler ver. 0.0.0.5058. When I go to my browser
> and
> type http://localhost:8080/welcome.aspx I get the following messages:
> 
> File not found /tmp/root-temp-aspnet-0/a0201acd/56321.dll
> Description: Error processing request.
> 
> Error Message: HTTP 404. File not found
> /tmp/root-temp-aspnet-0/a0201acd/56321.dll
> 
> Stack Trace:
> 
> System.IO.FileNotFoundException: /tmp/root-temp-aspnet-
> 0/a0201acd/56321.dll
> : /tmp/root-temp-aspnet-0/a0201acd/56321.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 ()
> -----------------------------------------------------------------------
> ---------------------------------------------------------
> The XSP sends the following message at the end:
> # xsp --root /home/jm/mono/webappex

You need to use xsp2, not xsp - vbnc can only generate v2.0 assemblies and
xsp can't load them, you'll need to use xsp2.

Rolf



More information about the Mono-vb mailing list