[mono-vb] Compilation error in VB @ ASP.NET

Rafael Teixeira Rafael Teixeira <monoman@gmail.com>
Sun, 12 Sep 2004 11:19:20 -0300


Please Jochen, could you attach the temporary vb file? But it looks
related to overloading... But it may be the CodeDom generated code
that has some real error, so please attach the vb file, and the ascx
file in the bugzilla you should open (put it on the compiler for now).

Thanks,

----- Original Message -----
From: Jochen Wezel <jwezel@compumaster.de>
Date: Sat, 11 Sep 2004 17:18:13 +0200
Subject: [mono-vb] Compilation error in VB @ ASP.NET
To: mono-vb@lists.ximian.com

 

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.

Error message: /tmp/73884.vb(66,20) : error BC1501: No overload for
method `Request' takes `1' arguments
File name: /mono-dev/wwwroot/sysdata/includes/loginarea.ascx 
Source File: /tmp/73884.vb 
 

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.Location)

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.MonoBASIC.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 



-- 
Rafael "Monoman" Teixeira
---------------------------------------
Cognition is not a representation of an objectively existing world
but is a bringing forth of a world in the process of living.
-- Fritjof Capra, citing 
   Humberto Maturana and Francisco Varella's "Santiago Theory of Cognition"