[mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix
JE M.
jmbltx1 at hotmail.com
Thu Jun 21 18:50:16 EDT 2007
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
xsp
Listening on port: 8080 (non-secure)
Listening on address: 0.0.0.0
Root directory: /home/jmartinez/mono/webappex
Hit Return to stop the server.
Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe.
This is the code of the application I created with Web Matrix:
<%@ Page Language="VB" Debug="True" %>
<%@ import Namespace="System.Data" %>
<script runat="server">
' Insert page code here
'
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<asp:Label id="lblTitulo" style="Z-INDEX: 100; LEFT: 269px;
POSITION: absolute; TOP: 98px" runat="server" font-bold="True"
font-size="X-Large" forecolor="IndianRed">Welcome
to My Page</asp:Label>
<!-- Insert content here -->
</form>
</body>
</html>
Hopefully someone can help me to solve this problem.
_________________________________________________________________
Like puzzles? Play free games & earn great prizes. Play Clink now.
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2
More information about the Mono-vb
mailing list