[mono-vb] Compilation error in VB @ ASP.NET
Jochen Wezel
jwezel@compumaster.de
Sat, 11 Sep 2004 17:18:13 +0200
This is a multi-part message in MIME format.
------_=_NextPart_001_01C49812.8E57AC4C
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Hi all!
Where does this belongs to?
Improper overloading mechanisms or some property related stuff in mbas?
This is the message I get from XSP webserver in page:
Server Error in '/' Application
Compilation Error
Description: Error compiling a resource required to service this
request. Review your source file and modify it to fix this error.=20
Error message: /tmp/73884.vb(66,20) : error BC1501: No overload for
method `Request' takes `1' arguments=20
File name: /mono-dev/wwwroot/sysdata/includes/loginarea.ascx=20
Source File: /tmp/73884.vb=20
This is the message I get from XSP webserver at console:
---
Unhandled Exception: System.Exception: Error resolving Property Access
expression
Mono.MonoBASIC.PropertyExpr
in <0x00a3b> Mono.MonoBASIC.Invocation:DoResolve
(Mono.MonoBASIC.EmitContext)
in <0x0018f> Mono.MonoBASIC.Expression:Resolve
(Mono.MonoBASIC.EmitContext,Mono.MonoBASIC.ResolveFlags)
in <0x00013> Mono.MonoBASIC.Expression:Resolve
(Mono.MonoBASIC.EmitContext)
in <0x0001f> Mono.MonoBASIC.Binary:DoResolve
(Mono.MonoBASIC.EmitContext)
in <0x0018f> Mono.MonoBASIC.Expression:Resolve
(Mono.MonoBASIC.EmitContext,Mono.MonoBASIC.ResolveFlags)
in <0x00013> Mono.MonoBASIC.Expression:Resolve
(Mono.MonoBASIC.EmitContext)
in <0x00014> Mono.MonoBASIC.Statement:ResolveBoolean
(Mono.MonoBASIC.EmitContext,Mono.MonoBASIC.Expression,Mono.MonoBASIC.Loc
ation)
in <0x0001c> Mono.MonoBASIC.If:Resolve (Mono.MonoBASIC.EmitContext)
in <0x001b0> Mono.MonoBASIC.Block:Resolve (Mono.MonoBASIC.EmitContext)
in <0x000d1> Mono.MonoBASIC.EmitContext:EmitTopBlock
(Mono.MonoBASIC.Block,string,Mono.MonoBASIC.InternalParameters,Mono.Mono
BASIC.Location)
in <0x0054d> Mono.MonoBASIC.MethodData:Emit
(Mono.MonoBASIC.TypeContainer,Mono.MonoBASIC.Block,object)
in <0x00035> Mono.MonoBASIC.Method:Emit (Mono.MonoBASIC.TypeContainer)
in <0x0028f> Mono.MonoBASIC.TypeContainer:Emit ()
in <0x006bc> Mono.MonoBASIC.RootContext:EmitCode ()
in <0x0003f> Mono.Languages.Driver:GenerateAssembly ()
in <0x00050> Mono.Languages.Driver:CompileAll ()
in <0x00092> Mono.Languages.Driver:MainDriver (string[])
in <0x00038> Mono.Languages.Driver:Main (string[])
---
Thanks
-Jochen
------_=_NextPart_001_01C49812.8E57AC4C
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">
<TITLE>Compilation error in VB @ ASP.NET</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi all!</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Where does this belongs to?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Improper overloading mechanisms or =
some property related stuff in mbas?</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">This is the message I get from XSP =
webserver in page:</FONT>
<BR><B><FONT COLOR=3D"#FF0000" SIZE=3D6 FACE=3D"Times New Roman">Server =
Error in '/' Application</FONT></B>
<BR><B><I><FONT COLOR=3D"#800000" SIZE=3D5 FACE=3D"Times New =
Roman">Compilation Error</FONT></I></B>
<BR><B><FONT FACE=3D"Times New Roman">Description:</FONT></B> <FONT =
FACE=3D"Times New Roman">Error compiling a resource required to service =
this request. Review your source file and modify it to fix this error. =
</FONT></P>
<P><B><FONT FACE=3D"Times New Roman">Error message:</FONT></B> <FONT =
FACE=3D"Times New Roman">/tmp/73884.vb(66,20) : error BC1501: No =
overload for method `Request' takes `1' arguments </FONT>
<BR><B><FONT FACE=3D"Times New Roman">File name:</FONT></B> <FONT =
FACE=3D"Times New =
Roman">/mono-dev/wwwroot/sysdata/includes/loginarea.ascx </FONT>
<BR><B><FONT FACE=3D"Times New Roman">Source File:</FONT></B> <FONT =
FACE=3D"Times New Roman">/tmp/73884.vb </FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">This is the message I get from XSP =
webserver at console:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">---</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Unhandled Exception: System.Exception: =
Error resolving Property Access expression</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Mono.MonoBASIC.PropertyExpr</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00a3b> =
Mono.MonoBASIC.Invocation:DoResolve (Mono.MonoBASIC.EmitContext)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x0018f> =
Mono.MonoBASIC.Expression:Resolve =
(Mono.MonoBASIC.EmitContext,Mono.MonoBASIC.ResolveFlags)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00013> =
Mono.MonoBASIC.Expression:Resolve (Mono.MonoBASIC.EmitContext)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x0001f> =
Mono.MonoBASIC.Binary:DoResolve (Mono.MonoBASIC.EmitContext)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x0018f> =
Mono.MonoBASIC.Expression:Resolve =
(Mono.MonoBASIC.EmitContext,Mono.MonoBASIC.ResolveFlags)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00013> =
Mono.MonoBASIC.Expression:Resolve (Mono.MonoBASIC.EmitContext)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00014> =
Mono.MonoBASIC.Statement:ResolveBoolean =
(Mono.MonoBASIC.EmitContext,Mono.MonoBASIC.Expression,Mono.MonoBASIC.Loca=
tion)</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">in <0x0001c> =
Mono.MonoBASIC.If:Resolve (Mono.MonoBASIC.EmitContext)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x001b0> =
Mono.MonoBASIC.Block:Resolve (Mono.MonoBASIC.EmitContext)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x000d1> =
Mono.MonoBASIC.EmitContext:EmitTopBlock =
(Mono.MonoBASIC.Block,string,Mono.MonoBASIC.InternalParameters,Mono.MonoB=
ASIC.Location)</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">in <0x0054d> =
Mono.MonoBASIC.MethodData:Emit =
(Mono.MonoBASIC.TypeContainer,Mono.MonoBASIC.Block,object)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00035> =
Mono.MonoBASIC.Method:Emit (Mono.MonoBASIC.TypeContainer)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x0028f> =
Mono.MonoBASIC.TypeContainer:Emit ()</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x006bc> =
Mono.MonoBASIC.RootContext:EmitCode ()</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x0003f> =
Mono.Languages.Driver:GenerateAssembly ()</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00050> =
Mono.Languages.Driver:CompileAll ()</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00092> =
Mono.Languages.Driver:MainDriver (string[])</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">in <0x00038> =
Mono.Languages.Driver:Main (string[])</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">---</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">-Jochen</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C49812.8E57AC4C--