[ubuntu-mono] [Bug 371877] [NEW] starting asp application using mod_mono fails

syrius schleif at informatik.uni-leipzig.de
Mon May 4 21:20:45 BST 2009


Public bug reported:

Binary package hint: libapache-mod-mono

1) 
In the current version of ubuntu (Ubuntu 4.3.3-5ubuntu4) / jaunty

lsb_release -rd
Description:	Ubuntu 9.04
Release:	9.04

2) 
within the corresponding libapache-mod-mono package
libapache2-mod-mono: /usr/lib/apache2/modules/mod_mono.so

3)
I would expect that calling an asp.Net page via a browser stored
on an apache server with mono support will give a processed web-page.

4) 
Instead it seams that the mod_mono module is inconsistent to the xsp 
(mono - backend). This did not happen in earlier versions. 
The error happens if I start a asp.Net application via apache
(it works fine if I start it using xsp or xsp2 alone). Reproducible
using the asp.net example provided with ubuntu. Try e.g. the following:

> frank at skip:~/public_html/asp$ mod-mono-server --port 8080
mod-mono-server2
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /home/frank/public_html/asp
Hit Return to stop the server.

> (with /home/frank/public_html/asp - a copy of the delivered examples) 
> (now open e.g. a webbrowser and enter http://0.0.0.0:8080
- the web-page (index.aspx) will not be shown but an error will
be report e.g. in firefox: 

Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.

> on the console you can see the following output
mod_mono and xsp have different versions. Expected '9', got 71
mod_mono and xsp have different versions. Expected '9', got 71
System.InvalidOperationException: mod_mono and xsp have different versions. Expected '9', got 71
  at Mono.WebServer.ModMonoRequest.GetInitialData () [0x00000] 
  at Mono.WebServer.ModMonoRequest..ctor (System.Net.Sockets.Socket client) [0x00000] 
  at Mono.WebServer.RequestReader..ctor (System.Net.Sockets.Socket client) [0x00000] 
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000] 
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]

** Affects: mod-mono (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apache module mono version

-- 
starting asp application using mod_mono fails
https://bugs.launchpad.net/bugs/371877
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to mod-mono in ubuntu.



More information about the Ubuntu-mono mailing list