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

Michael m-pointon at clear.net.nz
Mon May 21 06:34:53 EDT 2007


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?

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.


More information about the Mono-vb mailing list