[Mono-list] Using xsp2 with mono

Jorge Bastos mysql.jorge at decimal.pt
Fri Sep 14 08:54:22 EDT 2007

Yap Path is correct.
It the test i'm doing works even with that error.
But without that directive in the vhost conf, apache doesn't throw any
With the code below, and this directive, the browser still's show me this:

Compilation of Visual Basic code is not supported for v1.0/v1.1 assemblies,
please use the v2.0 assemblies. - If this is a web application, use
xsp2/mod_mono_server2 instead of xsp/mono_mono_server (see
http://www.mono-project.com/Mod_mono#ASP.NET_2_apps_do_not_work). - If this
is a desktop application, use gmcs to compile your application instead of

Test code:

<%@ Page Language="vb" %>
<script  runat="server">
Sub choose_image(Sender As Object, e As EventArgs)
   image1.Src = select1.Value
End Sub


<form runat="server">
<select id="select1" runat="server">
   <option value="smiley.gif">Smiley</option>
   <option value="angry.gif">Angry</option>
<input type="submit" runat="server" value="Display image"
<br /><br />
<img id="image1" src="smiley.gif" runat="server" width="32" height="32" />


-----Original Message-----
From: Joshua Tauberer [mailto:jit at occams.info] 
Sent: sexta-feira, 14 de Setembro de 2007 12:44
To: Jorge Bastos
Cc: Mono-list at lists.ximian.com
Subject: Re: [Mono-list] Using xsp2 with mono

Jorge Bastos wrote:
> Guys, to configure a virtualhost to use mod-mono-server2, it's enougth:
> "MonoServerPath /usr/local/bin/mod-mono-server2" ?
> When i add this and restart apache i get:
> Restarting web server: apache2[Thu Sep 13 23:31:48 2007] [crit] (17)File 
> exists: Failed to create shared memory segment for backend 'XXGLOBAL'
> [Thu Sep 13 23:31:58 2007] [crit] (17)File exists: Failed to create 
> shared memory segment for backend 'XXGLOBAL'

The error message is (should be) unrelated to the MonoServerPath 
directive. (And provided the path is correct and you placed it in the 
VirtualHost block, that directive should be enough, yes.)

- Josh Tauberer


"Yields falsehood when preceded by its quotation!  Yields
falsehood when preceded by its quotation!" Achilles to
Tortoise (in "Gödel, Escher, Bach" by Douglas Hofstadter)

More information about the Mono-list mailing list