List Info

Thread: Re: VB ASP.Net2 pages not working




Re: VB ASP.Net2 pages not working
country flaguser name
United States
2007-05-22 05:20:46
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?

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-pointonclear.net.nz] 
Sent: Tuesday, 22 May 2007 6:51 a.m.
To: 'Rolf Bjarne Kvinge'; 'mono-vblists.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:rolflistsya.com] 
Sent: Monday, 21 May 2007 11:32 p.m.
To: 'Michael'; mono-vblists.ximian.com
Subject: RE: [mono-vb] VB ASP.Net2 pages not working



> -----Original Message-----
> From: Michael [mailto:m-pointonclear.net.nz]
> Sent: lunes, 21 de mayo de 2007 13:09
> To: 'Rolf Bjarne Kvinge'; mono-vblists.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-pointonclear.net.nz]
> Sent: Monday, 21 May 2007 11:04 p.m.
> To: 'Rolf Bjarne Kvinge'; 'mono-vblists.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:rolflistsya.com]
> Sent: Monday, 21 May 2007 10:40 p.m.
> To: 'Michael'; mono-vblists.ximian.com
> Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> 
> 
> 
> > -----Original Message-----
> > From: Michael [mailto:m-pointonclear.net.nz]
> > Sent: lunes, 21 de mayo de 2007 12:35
> > To: 'Rolf Bjarne Kvinge'; mono-vblists.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:rolflistsya.com]
> > Sent: Monday, 21 May 2007 9:56 p.m.
> > To: 'Michael'; mono-vblists.ximian.com
> > Subject: RE: [mono-vb] VB ASP.Net2 pages not
working
> >
> >
> >
> > > -----Original Message-----
> > > From: Michael [mailto:m-pointonclear.net.nz]
> > > Sent: lunes, 21 de mayo de 2007 11:40
> > > To: 'Rolf Bjarne Kvinge'; mono-vblists.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:rolflistsya.com]
> > > Sent: Monday, 21 May 2007 9:09 p.m.
> > > To: 'Michael'; mono-vblists.ximian.com
> > > Subject: RE: [mono-vb] VB ASP.Net2 pages not
working
> > >
> > > >
> > > >
> > > >From: mono-vb-bounceslists.ximian.com
> > > [mailto:mono-vb-bounceslists.ximian.com] On Behalf
Of Michael
> > > >Sent: lunes, 21 de mayo de 2007 9:44
> > > >To: mono-vblists.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.
_______________________________________________
Mono-vb mailing list
Mono-vblists.ximian.com
http
://lists.ximian.com/mailman/listinfo/mono-vb

Re: VB ASP.Net2 pages not working
country flaguser name
Spain
2007-05-22 05:35:40

> -----Original Message-----
> From: Michael [mailto:m-pointonclear.net.nz]
> Sent: martes, 22 de mayo de 2007 12:21
> To: 'Rolf Bjarne Kvinge'; mono-vblists.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-pointonclear.net.nz]
> Sent: Tuesday, 22 May 2007 6:51 a.m.
> To: 'Rolf Bjarne Kvinge'; 'mono-vblists.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:rolflistsya.com]
> Sent: Monday, 21 May 2007 11:32 p.m.
> To: 'Michael'; mono-vblists.ximian.com
> Subject: RE: [mono-vb] VB ASP.Net2 pages not working
> 
> 
> 
> > -----Original Message-----
> > From: Michael [mailto:m-pointonclear.net.nz]
> > Sent: lunes, 21 de mayo de 2007 13:09
> > To: 'Rolf Bjarne Kvinge'; mono-vblists.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-pointonclear.net.nz]
> > Sent: Monday, 21 May 2007 11:04 p.m.
> > To: 'Rolf Bjarne Kvinge'; 'mono-vblists.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:rolflistsya.com]
> > Sent: Monday, 21 May 2007 10:40 p.m.
> > To: 'Michael'; mono-vblists.ximian.com
> > Subject: RE: [mono-vb] VB ASP.Net2 pages not
working
> >
> >
> >
> > > -----Original Message-----
> > > From: Michael [mailto:m-pointonclear.net.nz]
> > > Sent: lunes, 21 de mayo de 2007 12:35
> > > To: 'Rolf Bjarne Kvinge'; mono-vblists.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:rolflistsya.com]
> > > Sent: Monday, 21 May 2007 9:56 p.m.
> > > To: 'Michael'; mono-vblists.ximian.com
> > > Subject: RE: [mono-vb] VB ASP.Net2 pages not
working
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Michael [mailto:m-pointonclear.net.nz]
> > > > Sent: lunes, 21 de mayo de 2007 11:40
> > > > To: 'Rolf Bjarne Kvinge'; mono-vblists.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:rolflistsya.com]
> > > > Sent: Monday, 21 May 2007 9:09 p.m.
> > > > To: 'Michael'; mono-vblists.ximian.com
> > > > Subject: RE: [mono-vb] VB ASP.Net2 pages
not working
> > > >
> > > > >
> > > > >
> > > > >From: mono-vb-bounceslists.ximian.com
> > > > [mailto:mono-vb-bounceslists.ximian.com] On Behalf Of Michael
> > > > >Sent: lunes, 21 de mayo de 2007
9:44
> > > > >To: mono-vblists.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

_______________________________________________
Mono-vb mailing list
Mono-vblists.ximian.com
http
://lists.ximian.com/mailman/listinfo/mono-vb

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )