[Mono-bugs] [Bug 335583] New: mod_mono and xsp have different versions.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 22 05:14:47 EDT 2007


           Summary: mod_mono and xsp have different versions.
           Product: Mono: Runtime
           Version: 1.2
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: rajko.horvat at inet.hr
         QAContact: mono-bugs at ximian.com
          Found By: Other

I'm using Debian linux with lenny distribution. I have set up apache web server
with mod_mono set up. Everything was working fine untill I installed new
version of mono. Then I kept getting Apache error when trying to access ASP.NET
web application. I managed to trace problem to the mod-mono-server2 and xsp2
server. When I run the web server with following switches the error reproduces.

Command line:
mod-mono-server2 --verbose --port 8000 --address --applications
/samples:/usr/share/asp.net2-demos --appconfigdir /etc/mono-server2

The actual output:
Adding applications '/samples:/usr/share/asp.net2-demos'...
Registering application:
    Host:          any
    Port:          any
    Virtual path:  /samples/
    Physical path: /usr/share/asp.net2-demos
Adding applications from *.webapp files in directory '/etc/mono-server2'
Adding applications from config file '/etc/mono-server2/debian.webapp'
Registering application:
    Host:          localhost
    Port:          any
    Virtual path:  /samples
    Physical path: /usr/share/asp.net2-demos
Listening on port: 8000 
Listening on address:
Root directory: /root
mod_mono and xsp have different versions.
mod_mono and xsp have different versions.
System.InvalidOperationException: mod_mono and xsp have different versions.
  at Mono.WebServer.ModMonoRequest.GetInitialData () [0x00000] 
  at Mono.WebServer.ModMonoRequest..ctor (System.Net.Sockets.NetworkStream ns)
  at Mono.WebServer.RequestReader..ctor (System.Net.Sockets.NetworkStream ns)
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000] 
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000] 

But when I manually start xsp2 server everything works fine. I traced the error
in xsp2 source code to few lines when the connection between mod-mono-server2
and xsp2 is established. Can this be fixed, as my ASP.NET server is now
unusable because of this error?

Best regards,
R. Horvat

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list