[mono-vb] VB ASP.Net2 pages not working

Michael m-pointon at clear.net.nz
Wed May 23 06:35:22 EDT 2007


Hi Rolf

Thanks for that. One more question, can I compile the mono charge straight
over top of my mono installation? I guess it will update the relevant files
yes?

Thanks

Michael

-----Original Message-----
From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com] 
Sent: Tuesday, 22 May 2007 11:24 p.m.
To: 'Michael'; mono-vb at lists.ximian.com
Subject: RE: [mono-vb] VB ASP.Net2 pages not working



> -----Original Message-----
> From: Michael [mailto:m-pointon at clear.net.nz]
> Sent: martes, 22 de mayo de 2007 12:50
> To: 'Rolf Bjarne Kvinge'; mono-vb at lists.ximian.com
> Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> 
> Thanks Rolf
> 
> Where can I find the SVN version? I guess I have to update all the mono
> packages or just mono-basic?
> 

To get the SVN version check this: http://www.mono-project.com/AnonSVN
And how to build it: http://www.mono-project.com/Compiling_Mono

You can also try downloading the latest monocharge package here:
http://mono.ximian.com/daily/, if it works it will probably be the easiest
and fastest.

It should not be necessary to update mono-basic.

Rolf

> Michael
> 
> -----Original Message-----
> From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com]
> Sent: Tuesday, 22 May 2007 10:36 p.m.
> To: 'Michael'; mono-vb at lists.ximian.com
> Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> 
> 
> 
> > -----Original Message-----
> > From: Michael [mailto:m-pointon at clear.net.nz]
> > Sent: martes, 22 de mayo de 2007 12:21
> > To: 'Rolf Bjarne Kvinge'; mono-vb at lists.ximian.com
> > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> >
> > Hi Rolf
> >
> > I have tried to run the page on a box running Windows XP with mono
> > 1.2.4 and
> > xsp2 on it, I get the following error. Am I missing something
> obvious?
> > Is
> > there something I can change in the code to make it work?
> >
> 
> There is a bug in System.dll, the code-behind file (default.aspx.vb)
> and the
> ASP.Net generated file is passed to the compiler as one big path (the
> problem is that there's supposed to be a space in between the two
> paths, but
> it's missing). I fixed this problem yesterday.
> 
> You can probably work-around the bug for the moment not having any
> code-behind files, otherwise you'll have to update your mono
> installation to
> SVN version (or use daily packages).
> 
> Rolf
> 
> > Thanks
> >
> > Michael
> >
> > Description: Error compiling a resource required to service this
> > request.
> > Review your source file and modify it to fix this error.
> >
> > Error message:
> >
> > (0,0) : error : Illegal characters in path
> > (0,0) : error :
> > (0,0) : error : Parameter name: path
> > (0,0) : error :
> > (0,0) : error : at System.IO.Path.IsPathRooted (System.String path)
> > [0x00000]
> > (0,0) : error :
> > (0,0) : error : at System.IO.Path.GetPathRoot (System.String path)
> > [0x00000]
> >
> > (0,0) : error :
> > (0,0) : error : at System.IO.Path.GetDirectoryName (System.String
> path)
> > [0x00000]
> > (0,0) : error :
> > (0,0) : error : at vbnc.CommandLine.GetFullPaths (System.String
> > FileName)
> > [0x00000]
> > (0,0) : error :
> > (0,0) : error : at vbnc.CommandLine.AddFile (System.String File)
> > [0x00000]
> > (0,0) : error :
> > (0,0) : error : at vbnc.CommandLine.ParseInternal (System.String[]
> > Args)
> > [0x00000]
> > (0,0) : error :
> > (0,0) : error : at vbnc.CommandLine.Parse (System.String[]
> CommandLine)
> > [0x00000]
> > (0,0) : error :
> > (0,0) : error : Failed compilation took 00:00:01.2020000
> > (0,0) : error :
> > (0,0) : error :
> >
> > -----Original Message-----
> > From: Michael [mailto:m-pointon at clear.net.nz]
> > Sent: Tuesday, 22 May 2007 6:51 a.m.
> > To: 'Rolf Bjarne Kvinge'; 'mono-vb at lists.ximian.com'
> > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> >
> > Code file attached, I've changed the extension to "x". Let me know if
> > you
> > don't get it.
> >
> > Thanks
> > Michael
> > -----Original Message-----
> > From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com]
> > Sent: Monday, 21 May 2007 11:32 p.m.
> > To: 'Michael'; mono-vb at lists.ximian.com
> > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> >
> >
> >
> > > -----Original Message-----
> > > From: Michael [mailto:m-pointon at clear.net.nz]
> > > Sent: lunes, 21 de mayo de 2007 13:09
> > > To: 'Rolf Bjarne Kvinge'; mono-vb at lists.ximian.com
> > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > >
> > > Sorry there is also the code file (default.aspx.vb) Outlook seems
> to
> > > have stripped it out when I sent it.
> > >
> >
> > Didn't get any code file (maybe try renaming it to something else
> than
> > .vb?)
> >
> > Rolf
> >
> >
> > > -----Original Message-----
> > > From: Michael [mailto:m-pointon at clear.net.nz]
> > > Sent: Monday, 21 May 2007 11:04 p.m.
> > > To: 'Rolf Bjarne Kvinge'; 'mono-vb at lists.ximian.com'
> > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > >
> > > Hi Rolf
> > >
> > > Attached, there also a folder named "App_Data" in the Web folder
> it's
> > > got nothing in it. The files where created in Visual Web Developer
> > > Express Edition.
> > >
> > > Thanks
> > > Michael
> > >
> > > -----Original Message-----
> > > From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com]
> > > Sent: Monday, 21 May 2007 10:40 p.m.
> > > To: 'Michael'; mono-vb at lists.ximian.com
> > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Michael [mailto:m-pointon at clear.net.nz]
> > > > Sent: lunes, 21 de mayo de 2007 12:35
> > > > To: 'Rolf Bjarne Kvinge'; mono-vb at lists.ximian.com
> > > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > > >
> > > > Hi Rolf
> > > >
> > > > 1. Running the vbnc command with no arguments runs the compiler.
> > > Comes
> > > > up
> > > > with no files to compile! Cannot do anything!
> > > >
> > > > 2. I've run the Default.aspx page with a simple button and a
> label
> > > that
> > > > says
> > > > "Hello World" when you click it, on the localhost (FC5 box). I
> get
> > a
> > > > better
> > > > description of the error. Before I was running on another machine
> > in
> > > my
> > > > network. The error is as below there is a source file description
> > as
> > > > well.
> > > > Would that help too I can send it if you like?
> > >
> > > Please send the Default.aspx to me so that I can try it on my
> > machine.
> > >
> > > Rolf
> > >
> > > >
> > > > Description: Error compiling a resource required to service this
> > > > request.
> > > > Review your source file and modify it to fix this error.
> > > >
> > > > Error message:
> > > >
> > > > (0,0) : error : Visual Basic.Net Compiler version 0.0.0.5058
> > > > (0,0) : error : Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All
> > > rights
> > > > reserved.
> > > > (0,0) : error :
> > > > (0,0) : error :
> > > > (0,0) : error : Error : VBNC2011: No files to compile! Cannot do
> > > > anything!
> > > > (0,0) : error : Compilation took 00:00:02.7866150
> > > > (0,0) : error :
> > > >
> > > > Thanks again for your help
> > > >
> > > > Michael
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com]
> > > > Sent: Monday, 21 May 2007 9:56 p.m.
> > > > To: 'Michael'; mono-vb at lists.ximian.com
> > > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Michael [mailto:m-pointon at clear.net.nz]
> > > > > Sent: lunes, 21 de mayo de 2007 11:40
> > > > > To: 'Rolf Bjarne Kvinge'; mono-vb at lists.ximian.com
> > > > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > > > >
> > > > > Hi Rolf thanks for your help,
> > > > >
> > > > > The error is the same when I use xsp2 and mod-mono-server2
> > > > >
> > > > > It's the Server Error in '/' Application, then the description
> of
> > > how
> > > > > to
> > > > > change the error reporting.
> > > > >
> > > > > Do I have to do anything in order to tell xsp2 or mo-mono-
> server2
> > > to
> > > > > use the
> > > > > vbnc? Will the ASP applications I write in Visual Web Developer
> > > 2005
> > > > > Express
> > > > > Edition work in mono?
> > > >
> > > > No, you should not have to configure anything, having it
> installed
> > > > should
> > > > work.
> > > >
> > > > Could you please do the following:
> > > > 1 - try to execute vbnc from the command line to confirm you have
> > it
> > > > properly installed.
> > > > 2 - go to a directory with a simple aspx file with some vb code,
> > run
> > > > xsp2
> > > > from that directory and try to access the aspx page from within a
> > > > browser to
> > > > see what happens (localhost:8080/somepage.aspx would normally be
> > the
> > > > url).
> > > >
> > > > Rolf
> > > >
> > > > > Thanks
> > > > >
> > > > > Michael
> > > > >
> > > > > -----Original Message-----
> > > > > From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com]
> > > > > Sent: Monday, 21 May 2007 9:09 p.m.
> > > > > To: 'Michael'; mono-vb at lists.ximian.com
> > > > > Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> > > > >
> > > > > >
> > > > > >
> > > > > >From: mono-vb-bounces at lists.ximian.com
> > > > > [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of Michael
> > > > > >Sent: lunes, 21 de mayo de 2007 9:44
> > > > > >To: mono-vb at lists.ximian.com
> > > > > >Subject: [mono-vb] VB ASP.Net2 pages not working
> > > > > >
> > > > > >Can anyone help I'm a new mono user. I have installed and
> > > configured
> > > > > mono
> > > > > 1.2.4 with apache 2.2 on Fedora Core 5. I can run C# web
> > > applications
> > > > > but vb
> > > > > >applications won't run. I'm using Visual Web Developer 2005
> > > Express
> > > > > Edition.
> > > > >
> > > > > What exactly happens? Nothing? Do you get an error?
> > > > >
> > > > > >I realised that I did install mono-basic after mono would this
> > > make
> > > > > any
> > > > > difference? Is there something that I'm missing or do I have to
> > > > > reinstall
> > > > > mono?
> > > > >
> > > > > No, this should not make a difference.
> > > > >
> > > > > >I've tried using xps2 but I get the same error, its like mono
> is
> > > not
> > > > > compiling the vb? Do you know if there is any way I can test
> that
> > > > mono
> > > > > is
> > > > > >recognising vbnc?
> > > > >
> > > > > You have to use xsp2, xsp won't work, but anyway I need to know
> > > which
> > > > > error
> > > > > you get in order to help you further.
> > > > >
> > > > > Rolf
> > > > >
> > > > > --
> > > > > This message has been scanned for viruses and
> > > > > dangerous content by MailScanner, and is
> > > > > believed to be clean.
> > > > >
> > > > >
> > > > > --
> > > > > This message has been scanned for viruses and
> > > > > dangerous content by MailScanner, and is
> > > > > believed to be clean.
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > No virus found in this incoming message.
> > > > > Checked by AVG Free Edition.
> > > > > Version: 7.5.467 / Virus Database: 269.7.6/813 - Release Date:
> > > > > 20/05/2007 7:54
> > > >
> > > >
> > > > --
> > > > This message has been scanned for viruses and
> > > > dangerous content by MailScanner, and is
> > > > believed to be clean.
> > > >
> > > >
> > > > --
> > > > This message has been scanned for viruses and
> > > > dangerous content by MailScanner, and is
> > > > believed to be clean.
> > > >
> > > >
> > > >
> > > > --
> > > > No virus found in this incoming message.
> > > > Checked by AVG Free Edition.
> > > > Version: 7.5.467 / Virus Database: 269.7.6/813 - Release Date:
> > > > 20/05/2007 7:54
> > >
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.467 / Virus Database: 269.7.6/814 - Release Date:
> > 21/05/2007 14:01
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.6/814 - Release Date:
> 21/05/2007 14:01

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


More information about the Mono-vb mailing list