Bugzilla – Bug 319165
Compilation errors generated ASP.NET code
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by rogerio.araujo@gmail.com 2005-09-30 11:49:35 MST ---- When i try to load a ASP.NET page that has a datagrid i got the 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/nobody-temp-aspnet-0/11a99bae/34765.0.vb(86,0) : error BC30201: Expression expected /tmp/nobody-temp-aspnet-0/11a99bae/34765.0.vb(87,51) : error BC30201: Expression expected /tmp/nobody-temp-aspnet-0/11a99bae/34765.0.vb(89,16) : error BC30087: 'End If' is not having a corresponding 'If' /tmp/nobody-temp-aspnet-0/11a99bae/34765.0.vb(92,34) : error BC29999: Parsing error Steps to reproduce the problem: 1. Put datagrid_vbnet.aspx in any webapp and then load in the browser. Actual Results: The error above. Expected Results: A database connection error. How often does this happen? Always. Additional Information: Only put datagrid_vbnet.aspx and load this page in browser is necessary to reproduce the problem. ---- Additional Comments From rogerio.araujo@gmail.com 2005-09-30 11:50:04 MST ---- Created an attachment (id=168615) datagrid_vbnet.aspx ---- Additional Comments From darocker22@hotmail.com 2005-10-03 19:53:09 MST ---- Duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO74670 Error actually occurs on the code parsing of the mbas compiler, with this code block. Since MyBase.New isn't written as MyBase.New() its throwing an Error. This should be fixed to where it can be called both ways. Public Sub New() MyBase.New If ((ASP.Global_asax.__intialized = false)) Then ASP.Global_asax.__intialized = true End If End Sub *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO74670 *** Imported an attachment (id=168615) Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"