[Mono-aspnet-list] VB page throws an error on mono 1.2.4

MatthiasS matthias.schmitzer at gmx.at
Wed Apr 22 13:34:27 EDT 2009


the last few days I tried to get .net pages to run on my apache server
(2.2.3, running on CentOS5).
Thanks to mod_mono (1.2.1) everything was up and running in a couple of
hours and I saw my C# page running on mono. However, I would need
apache/mono to support vb pages too, but everytime I try to start such a
page i get:

----------- ERROR ------------
Description: Error processing request.

Error Message: HTTP 500. System.InvalidOperationException: Process has not
been started. 
----------- STACK TRACE --------------
System.InvalidOperationException: Process has not been started.
  at System.Diagnostics.Process.get_ExitCode () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_ExitCode ()
  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.PageParser.CompileIntoType () [0x00000] 
  at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context)
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context)
  at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext ()

---------- STACK TRACE END -----------

---------- PAGE SOURCE ---------------

<%@ Page Language="VB" AutoEventWireup="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <form id="form1" runat="server">
            Response.Write("Mono is running on Apache and VB works too!!!

---------- PAGE SOURCE END ----------

As you can see I kept the example page clean and simple, but it doesn't even
start without any code in it. Despite the mono error I can see following
error in the system log which occurs 5-6 times if I try to load a vb page.

---------- SYSTEM LOG ---------------
kernel: 4gb seg fixup, process mono (pid 30599), cs:ip 73:0811f778
---------- SYSTEM LOG END ----------

I googled the error and came accross some problems which do not seem related
to mine. Is there anything I missed while configuring mono? I'm running
mod-mono-server2 for .Net framework 2.0 and did not alter
machine.config/web.config except adding a customError statement which seems
to work fine and C# pages run perfectly fine ...
Has anyone any suggestions on resolving this error?

Any help would be gladly appreciated!

If anyone needs more information (Versions, logs, etc.) please say so, it's
my first message on this mailing list and I'm not quite familiar with the
procedure ;-)

View this message in context: http://www.nabble.com/VB-page-throws-an-error-on-mono-1.2.4-tp23175777p23175777.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list