[mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix
JE M.
jmbltx1 at hotmail.com
Fri Jun 22 14:01:53 EDT 2007
Thanks a lot Rolf, that solved my problem, to think yesterday I felt so
frustrated :)
I ran the the small application in my firefox browser, and I get a message
that says:
escription: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error.
Error message:
Color Blue is not a valid color.
Line: 19
Source Error:
</head>
<body>
<form runat="server">
<asp:Label id="lblTitulo" style="Z-INDEX: 100; LEFT: 269px;
POSITION: absolute; TOP: 98px" runat="server" forecolor="Blue"
font-size="X-Large" font-bold="True">Welcome
to My Page</asp:Label>
<!-- Insert content here -->
</form>
So I deleted the 'forecolor="Blue"' property and it worked. I thought that
by adding the <%@ import Namespace="System.Web" %> and <%@ import
Namespace="System.Drawing.Color" %> libraries to the aspx file it should
work, but it didn't. Do you know something about this issue?
>From: "Rolf Bjarne Kvinge" <rolflists at ya.com>
>To: "'JE M.'" <jmbltx1 at hotmail.com>
>CC: <mono-vb at lists.ximian.com>
>Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with
>ASP.NET Web Matrix
>Date: Fri, 22 Jun 2007 18:29:50 +0200
>
>
>
> > -----Original Message-----
> > From: JE M. [mailto:jmbltx1 at hotmail.com]
> > Sent: viernes, 22 de junio de 2007 18:21
> > To: rolflists at ya.com
> > Cc: mono-vb at lists.ximian.com
> > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with
> > ASP.NET Web Matrix
> >
> > The versions for mono and XSP2 are:
> > # mono --version
> > Mono JIT compiler version 1.2.4 (tarball)
> > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-
> > project.com
> > TLS: __thread
> > GC: Included Boehm (with typed GC)
> > SIGSEGV: normal
> > Architecture: x86
> > Disabled: none
> >
> > # xsp2 --version
> > xsp2.exe 1.1.13.7
>
>This is the culprit, you're executing an old version of xsp2, probably one
>that were installed with the OS (it should have the same version as mono).
>
>Try to download and install the mono-web package from
>http://www.mono-project.com/Downloads, that will hopefully solve your
>problem :)
>
>Rolf
>
>
> > (c) (c) 2002-2005 Novell, Inc.
> > Minimalistic web server for testing System.Web
> >
> > >From: "Rolf Bjarne Kvinge" <rolflists at ya.com>
> > >To: "'JE M.'" <jmbltx1 at hotmail.com>
> > >CC: <mono-vb at lists.ximian.com>
> > >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with
> > >ASP.NET Web Matrix
> > >Date: Fri, 22 Jun 2007 17:51:11 +0200
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: JE M. [mailto:jmbltx1 at hotmail.com]
> > > > Sent: viernes, 22 de junio de 2007 17:43
> > > > To: rolflists at ya.com
> > > > Cc: mono-vb at lists.ximian.com
> > > > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created
> > with
> > > > ASP.NET Web Matrix
> > > >
> > > > Hi Rolf, thanks for you help, I ran XSP2, went to my browser, typed
> > > > http://localhost:8080/welcome.aspx and got a similar message:
> > > > xsp2 --root /home/jmartinez/mono/webappex
> > > > xsp2
> > > > Listening on port: 8080 (non-secure)
> > > > Listening on address: 0.0.0.0
> > > > Root directory: /home/jmartinez/mono/webappex
> > > > Hit Return to stop the server.
> > > > Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe.
> > > >
> > >
> > >You're using an old version of mono, it doesn't look for mbas.exe
> > anymore.
> > >
> > >Try 'mono --version' and 'xsp2 --version' to check which version
> > you're
> > >using (you should be using 1.2.4, with very much luck 1.2.3 might
> > work,
> > >earlier versions than that will not work at all).
> > >
> > >Rolf
> > >
> > >
> >
> > _________________________________________________________________
> > PC Magazine's 2007 editors' choice for best Web mail-award-winning
> > Windows
> > Live Hotmail.
> > http://imagine-windowslive.com/hotmail/?locale=en-
> > us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.472 / Virus Database: 269.9.4/860 - Release Date:
> > 21/06/2007 17:53
>
>
_________________________________________________________________
Picture this share your photos and you could win big!
http://www.GETREALPhotoContest.com?ocid=TXT_TAGHM&loc=us
More information about the Mono-vb
mailing list