[Mono-list] Problem with .aspx pages
beniniva at csr.unibo.it
beniniva at csr.unibo.it
Sat Nov 19 11:37:25 EST 2005
Hi,
Ive a simple .aspx page with .vb code that Ive written with visual studio .net
on Windows. I would like to test it on Linux with mono
Ive compiled with no error the .vb file with mbas :
[root at localhost Desktop]# mbas -t:library -r:System.Data.dll
-r:System.Drawing.dll -r:System.Web.dll -r:ByteFX.Data.dll WebForm1.aspx.vb
-o:WebForm1.dll
MonoBASIC Compiler 0.96.2.0 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
--------
THIS IS AN ALPHA SOFTWARE.
--------
Compilation succeeded
[root at localhost Desktop]#
Ive copied the WebForm1.aspx file under usr/lib/xsp/test and the WebForm1.dll
under usr/lib/xsp/test/bin
When I visit http://127.0.0.1/demo/WebForm1.aspx I get this error:
Server Error in '/demo' 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/apache-temp-aspnet-0/8b21120a/57617.0.vb(66,0) : error
BC30201: Expression expected
/tmp/apache-temp-aspnet-0/8b21120a/57617.0.vb(67,45) : error BC30201:
Expression expected /tmp/apache-temp-aspnet-0/8b21120a/57617.0.vb(69,16) :
error BC30087: 'End If' is not having a corresponding 'If'
/tmp/apache-temp-aspnet-0/8b21120a/57617.0.vb(72,34) : error BC29999: Parsing
error
File name: /usr/lib/xsp/test/WebForm1.aspx
Source File: /tmp/apache-temp-aspnet-0/8b21120a/57617.0.vb
Line 66: MyBase.New
Line 67: If ((ASP.WebForm1_aspx.__intialized = false)) Then
Line 68: ASP.WebForm1_aspx.__intialized = true
Line 69: End If
Line 70: End Sub
Line 71:
Line 72: Protected Overrides Property AutoHandlers As Integer
Why?
Could anybody help me?
Thank's,
Valentina.
More information about the Mono-list
mailing list