[Mono-dev] XSP/Mod_mono issues

Colt D. Majkrzak majkrzak at gmail.com
Thu Apr 13 16:11:19 EDT 2006


It appears there is something wrong with the XPS/mod_mono RPMS for redhat
enterprise 3.  I just downloaded the source and compiled, and now XSP is
responding correctly, but still a bit odd to me.  Like I said the test is
just a blank asp.net 2.0 project with a textbox and button, no code at all,
nothing changed.  When I try to pull open the Default.aspx, I get the
following message.

Server Error in '/' Application

----------------------------------------------------------------------------
----

Parser Error
Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error. 
Error message: Cannot find type _Default 

File name: /public_html/aspx/Default.aspx    Line: 1 

Source Error: <%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

It also seems that its looking for the keyword "CodeBehind" and not
"CodeFile" as it is in 2.0.  Is there somewhere I need to toggle the 2.0
stuff to work or am I just plainly missing something really obvious?

Thanks!
 


----------------------------------------------------- 
"majkrzak at gmail.com" is a NetIBA validated email address. Certificate
#604044E. Protect yourself against Internet fraud by getting the Consumer
Protection Tool at www.netiba.com/?2764.

-----Original Message-----
From: jonel at rientongroup.com [mailto:jonel at rientongroup.com] On Behalf Of
Jonel Rienton
Sent: Thursday, April 13, 2006 2:30 PM
To: Colt D. Majkrzak
Subject: Re: [Mono-dev] XSP/Mod_mono issues

this is strange, can you browse normal pages tho? not aspx pages i.e.

On 4/13/06, Colt D. Majkrzak <majkrzak at gmail.com> wrote:
> That's just it, and what puzzles me.  Its just a form, with a button and a
> textbox drawn onto it, other then normal VS2k5 designer code, that's it.
> I'm confused as to where this socket error is coming from, I can only
assume
> its between mod_mono and XSP itself, that's throwing this error, but
again,
> I'm not 100% sure.
>
> Thanks.
>
> -----------------------------------------------------
> "majkrzak at gmail.com" is a NetIBA validated email address. Certificate
> #604044E. Protect yourself against Internet fraud by getting the Consumer
> Protection Tool at www.netiba.com/?2764.
>
> -----Original Message-----
> From: jonel at rientongroup.com [mailto:jonel at rientongroup.com] On Behalf Of
> Jonel Rienton
> Sent: Thursday, April 13, 2006 2:16 PM
> To: Colt D. Majkrzak
> Cc: Mono-Devel-List
> Subject: Re: [Mono-dev] XSP/Mod_mono issues
>
> Hi,
>
> Some code for people to see will help your cause.
>
> regards,
> Jonel
>
> On 4/13/06, Colt D. Majkrzak <majkrzak at gmail.com> wrote:
> >
> >
> >
> > Hello All, I just removed the old cpanel version of mono and brought
> myself
> > up to date with 1.1.14.  After spending an hour tracking down my
> > mscorlib.dll that was hanging out in a strange area, and was horribly
out
> of
> > date, XSP seems to want to work now, but I get the following error in my
> log
> > for the apache server.  The project im trying to load a very simple
button
> > and text box, nothing major.  Error message to follow:
> >
> > Unhandled Exception: System.IO.IOException: Operation not allowed on a
> > non-blocking socket.
> >
> > in <0x001ca> System.Net.Sockets.NetworkStream:.ctor
> > (System.Net.Sockets.Socket socket, FileAccess access, Boolean
owns_socket)
> >
> > in <0x00014> System.Net.Sockets.NetworkStream:.ctor
> > (System.Net.Sockets.Socket socket, Boolean owns_socket)
> >
> > in <0x00019> Mono.ASPNET.LingeringNetworkStream:.ctor
> > (System.Net.Sockets.Socket sock, Boolean owns)
> >
> > in (wrapper remoting-invoke-with-check)
> > Mono.ASPNET.LingeringNetworkStream:.ctor
> > (System.Net.Sockets.Socket,bool)
> >
> > in <0x00029> Mono.ASPNET.ModMonoWorker:.ctor (System.Net.Sockets.Socket
> > client, Mono.ASPNET.ApplicationServer server)
> >
> > in <0x0001c> Mono.ASPNET.ModMonoWebSource:CreateWorker
> > (System.Net.Sockets.Socket client, Mono.ASPNET.ApplicationServer server)
> >
> > in <0x00263> Mono.ASPNET.ApplicationServer:RunServer ()
> >
> > in (wrapper delegate-invoke)
> > System.MulticastDelegate:invoke_void ()
> >
> >
> >
> > Maybe in my switch over to latest I've accidentally erased something,
but
> to
> > my knowledge everything should be 100% correct.  The test project is a
> > ASP2.0 app, can anyone point me in a direction to look?
> >
> >
> >
> > Thanks!
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
> >
>
>
> --
> Jonel Rienton
> mailto:jonel at rientongroup.com
> powered by: google
>
>


--
Jonel Rienton
mailto:jonel at rientongroup.com
powered by: google




More information about the Mono-devel-list mailing list