Bug 319165 (MONO76297) - Compilation errors generated ASP.NET code
Summary: Compilation errors generated ASP.NET code
Status: RESOLVED MOVED
Alias: MONO76297
Product: Mono: Compilers
Classification: Mono
Component: Basic (show other bugs)
Version: 1.0
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 18:49 UTC by Rogério Pereira Araújo
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
datagrid_vbnet.aspx (2.44 KB, text/plain)
2005-09-30 18:50 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:33:10 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"