[mono-vb] BC29999 error

Chesko, Ron ronc@palsnet.info
Wed, 2 Mar 2005 12:05:07 -0600


Hey Rafael,

This is the only page that I am having problems with in the current site
I am testing (we have about 4 or 5 sites that we host that are using
VB.NET). The other pages in this site seem to be fine as far as I can
tell. Nothing is precompiled. I just moved the pages over.

But, come to think of it. I did add the "<%@ LANGUAGE =3D VBScript %>"
line to the as I was testing. The other pages seem to load fine with out
it. Just added the language line to one of the pages that worked and I
did get an error (but the line highlighted in Source File listing is
blank:


Error message: (0,0) : error : THIS IS STILL ALPHA AND UNSUPPORTED
SOFTWARE, USE AT YOUR OWN RISK. /tmp/94557.vb(52,0) : error BC30284:
`ASP.index_aspx.AutoHandlers' no suitable properties found to override
(0,0) : error failed: 1 Error(s), 0 warnings=20


I tried upgrade to the 1.1.x series, but XSP (1.0.6) keeps complaining
that it needs to have the core and other packages at 1.0.5.

Unresolvable chain of dependencies:
xsp-1.0.6-1.novell.9.1                   requires mono(Mono.Posix) =3D
1.0.5000.0
xsp-1.0.6-1.novell.9.1                   requires mono(System) =3D
1.0.5000.0
xsp-1.0.6-1.novell.9.1                   requires mono(System.Data) =3D
1.0.5000.0
xsp-1.0.6-1.novell.9.1                   requires mono(System.Web) =3D
1.0.5000.0
xsp-1.0.6-1.novell.9.1                   requires
mono(System.Web.Services) =3D 1.
0.5000.0
xsp-1.0.6-1.novell.9.1                   requires mono(System.Xml) =3D
1.0.5000.0
xsp-1.0.6-1.novell.9.1                   requires mono(mscorlib) =3D
1.0.5000.0

Any ideas?

Thanks,
Ron

> -----Original Message-----
> From: Rafael Teixeira [mailto:monoman@gmail.com]=20
> Sent: Wednesday, March 02, 2005 11:47 AM
> To: Chesko, Ron
> Cc: mono-vb@lists.ximian.com; mono-devel-list
> Subject: Re: [mono-vb] BC29999 error
>=20
> Hi Ron,
>=20
> First, as it states in the wrongly repeated error message our=20
> VB.NET compiler is still in alpha stage, and without it you=20
> won't able to use VB.NET in your aspnet pages or user controls.
>=20
> I already patched the VBCodeCompiler class to call mbas in=20
> quiet mode, but I recall doing so only in the 1.1.x=20
> development series, and not backporting it to the 1.0.x stable series.
>=20
> We are currently recommending users to use the latest 1.1.x=20
> packages, as many resolved issues are hard to backport to the=20
> stable series.
> Please do that if you can.
>=20
> Just a question: this is the only VB.NET page in your  test=20
> site? or all the other were deployed pre-compiled?
>=20
> Because you should have experienced that problem for all your=20
>  VB.NET pages...
>=20
> HIH,
>=20
>=20
> On Wed, 2 Mar 2005 09:39:52 -0600, Chesko, Ron=20
> <ronc@palsnet.info> wrote:
> > Hey everyone,
> >=20
> > In the midst of moving our current web sites from IIS to=20
> Apache 2/mono.
> > My first crack at this didn't turn out 100%. All of the=20
> pages for my=20
> > first test site worked except for a comment form. I got the=20
> following=20
> > error. Line 78 is the offending line according to the=20
> output. Source=20
> > for the page is below the error.
> >=20
> > I'm running the following on Fedora Core 3 with the latest updates=20
> > (all installed from up2date or rpms):
> > mono-winforms-1.0.6-1.novell.9.1
> > mono-core-1.0.6-1.novell.9.1
> > mono-devel-1.0.6-1.novell.9.1
> > mono-web-1.0.6-1.novell.9.1
> > mono-extras-1.0.6-1.novell.9.1
> > mono-ikvm-1.0.6-1.novell.9.1
> > mono-basic-1.0.6-1.novell.9.1
> > mono-data-1.0.6-1.novell.9.1
> > mod_mono-1.0.6-1.novell.9.1
> > xsp-1.0.6-1.novell.9.1
> > httpd-2.0.52-3.1
> >=20
> > Any help is much appreciated. And if I'm posting this in the wrong=20
> > place, could someone please point me in the right direction?
> >=20
> > Thanks in advance,
> > Ron
> >=20
> > Description: Error compiling a resource required to service this=20
> > request. Review your source file and modify it to fix this error.
> >=20
> > Error message: (0,0) : error : THIS IS STILL ALPHA AND UNSUPPORTED=20
> > SOFTWARE, USE AT YOUR OWN RISK. /tmp/48280.vb(78,47) :=20
> error BC29999:
> > Line: 78 Col: 47 (0,0) : error : 78 Token: 261 (0,0) : error
> > .MonoBASIC.yyParser.yyException: irrecoverable syntax error (0,0) :
> > error failed: 1 Error(s), 0 warnings
> >=20
> > Source File:
> >=20
> > Line 1: '
> >=20
> ----------------------------------------------------------------------
> > --
> > ------
> > Line 2: '  <autogenerated>
> > Line 3: '      This code was generated by a tool.
> > Line 4: '      Mono Runtime Version: 1.1.4322.573
> > Line 5: '
> > Line 6: '      Changes to this file may cause incorrect behavior and
> > will be lost if
> > Line 7: '      the code is regenerated.
> > Line 8: '  </autogenerated>
> > Line 9: '
> >=20
> ----------------------------------------------------------------------
> > --
> > ------
> > Line 10:
> > Line 11: Option Explicit Off
> > Line 12: Option Strict On
> > Line 13:
> > Line 14: Imports Microsoft.VisualBasic Line 15: Imports System Line=20
> > 16: Imports System.Collections Line 17: Imports=20
> > System.Collections.Specialized Line 18: Imports=20
> System.Configuration=20
> > Line 19: Imports System.Text Line 20: Imports=20
> > System.Text.RegularExpressions Line 21: Imports System.Web Line 22:=20
> > Imports System.Web.Caching Line 23: Imports=20
> System.Web.Security Line=20
> > 24: Imports System.Web.SessionState Line 25: Imports System.Web.UI=20
> > Line 26: Imports System.Web.UI.WebControls Line 27: Imports=20
> > System.Web.UI.HtmlControls Line 28:
> > Line 29: Namespace ASP
> > Line 30:     Public Class contactus_aspx
> > Line 31:         Inherits System.Web.UI.Page
> > Line 32:         Implements
> > System.Web.SessionState.IRequiresSessionState
> > Line 33:
> > Line 34:         Private Shared __intialized As Boolean =3D False
> > Line 35:
> > Line 36:         Private Shared __autoHandlers As Integer
> > Line 37:
> > Line 38:         Public Sub New()
> > Line 39:             If ((ASP.contactus_aspx.__intialized =3D=20
> False)) Then
> > Line 40:                 ASP.contactus_aspx.__intialized =3D True
> > Line 41:             End If
> > Line 42:         End Sub
> > Line 43:
> > Line 44:         Protected Overrides Property AutoHandlers=20
> As Integer
> > Line 45:             Get
> > Line 46:                 Return ASP.contactus_aspx.__autoHandlers
> > Line 47:             End Get
> > Line 48:             Set (Value As Integer)
> > Line 49:                 ASP.contactus_aspx.__autoHandlers =3D Value
> > Line 50:             End Set
> > Line 51:         End Property
> > Line 52:
> > Line 53:         Protected ReadOnly Property ApplicationInstance As
> > System.Web.HttpApplication
> > Line 54:             Get
> > Line 55:                 Return=20
> CType(Me.Context.ApplicationInstance,
> > System.Web.HttpApplication)
> > Line 56:             End Get
> > Line 57:         End Property
> > Line 58:
> > Line 59:         Public Overrides ReadOnly Property
> > TemplateSourceDirectory As String
> > Line 60:             Get
> > Line 61:                 Return "/NWB"
> > Line 62:             End Get
> > Line 63:         End Property
> > Line 64:
> > Line 65:         Private Sub __RenderTree(__output As
> > System.Web.UI.HtmlTextWriter, parameterContainer As
> > System.Web.UI.Control)
> > Line 66:             __output.Write("<h2 class=3D""Heading"">Contact
> > Us</h2>"&Microsoft.VisualBasic.Strings.ChrW(10))
> > Line 67:             if Request.QueryString( "thanks" ) =3D "yes" =
then
> > Line 68:        'form has been sucessfully submitted
> > Line 69:        'show a thank you message
> > Line 70:        response.write ("<p><b>Thank You For Contacting
> > Us</b></p><p>If your input requires us to contact you and you have=20
> > provided us with your contact information we will be in=20
> touch with you
> > soon.</p>")
> > Line 71: else
> > Line 72:
> >=20
> __output.Write(""&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.Vis
> > ua=20
> >=20
> lBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<p>Pleas
> > e fill in the form below and submit it with your comments or=20
> >=20
> suggestions.</p>"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.Vis
> > ua=20
> >=20
> lBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&Microsoft
> > .V=20
> >=20
> isualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9)&Micr
> > os oft.VisualBasic.Strings.ChrW(9)&"<form
> > action=3D""http://palsnet.info/cgi-bin/formmail.pl""
> >=20
> =
METHOD=3D""POST"">"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.Vis
> > ua=20
> > lBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<input
> > type=3D""hidden"" name=3D""recipient""
> >=20
> =
value=3D""laheiden@cbplib.us"">"&Microsoft.VisualBasic.Strings.ChrW(10)&
> > Mi
> >=20
> crosoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW
> > (9 )&"<input type=3D""hidden"" name=3D""subject"" value=3D""C.B. =
Phillips=20
> > Contact Us Form=20
> >=20
> Input"">"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic
> > .S trings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<input
> > type=3D""hidden"" =
value=3D""http://cbplib.us/contactus.asp?thanks=3Dyes""
> >=20
> =
name=3D""redirect"">"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.V
> > is=20
> >=20
> ualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<table
> >=20
> =
width=3D""100%"">"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.Visu
> > al=20
> >=20
> Basic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<tr>"&Mic
> > ro=20
> >=20
> soft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9
> > )&=20
> >=20
> Microsoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.Ch
> > rW
> > (9)&"<td
> >=20
> =
valign=3D""top"">Name:</td>"&Microsoft.VisualBasic.Strings.ChrW(10)&Micr
> > os=20
> >=20
> oft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&
> > Mi crosoft.VisualBasic.Strings.ChrW(9)&"<td valign=3D""top""><input=20
> > TYPE=3DTEXT NAME=3D""name"" tabindex=3D""1""
> >=20
> =
maxsize=3D""75""></input></td>"&Microsoft.VisualBasic.Strings.ChrW(10)&M
> > ic
> >=20
> rosoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(
> > 9)=20
> >=20
> &"</tr>"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.
> > St=20
> >=20
> rings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<tr>"&Microsoft.V
> > is=20
> >=20
> ualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9)&Micros
> > of=20
> >=20
> t.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<
> > td=20
> >=20
> =
valign=3D""top"">Email:</td>"&Microsoft.VisualBasic.Strings.ChrW(10)&Mic
> > ro=20
> >=20
> soft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)
> > &M icrosoft.VisualBasic.Strings.ChrW(9)&"<td valign=3D""top""><input =

> > TYPE=3DTEXT NAME=3D""email"" tabindex=3D""2""
> >=20
> =
maxsize=3D""75""></input></td>"&Microsoft.VisualBasic.Strings.ChrW(10)&M
> > ic
> >=20
> rosoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(
> > 9)=20
> >=20
> &"</tr>"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.
> > St=20
> >=20
> rings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<tr>"&Microsoft.V
> > is=20
> >=20
> ualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9)&Micros
> > of=20
> >=20
> t.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"<
> > td=20
> >=20
> =
valign=3D""top"">Comments:</td>"&Microsoft.VisualBasic.Strings.ChrW(10)&
> > Mi
> >=20
> crosoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW
> > (9 )&Microsoft.VisualBasic.Strings.ChrW(9)&"<td=20
> > valign=3D""top""><textarea NAME=3D""COMMENTS"" ROWS=3D7=20
> >=20
> =
tabindex=3D""3""></textarea></td>"&Microsoft.VisualBasic.Strings.ChrW(10
> > )&=20
> >=20
> Microsoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.Ch
> > rW=20
> >=20
> (9)&"</tr>"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBas
> > ic=20
> >=20
> .Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"</table>"&Micr
> > os=20
> >=20
> oft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9)
> > &M=20
> >=20
> icrosoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.Chr
> > W(=20
> >=20
> 10)&Microsoft.VisualBasic.Strings.ChrW(9)&Microsoft.VisualBasi
> c.Strings.
> > ChrW(9)&"<p align=3D""center""><input type=3D""submit"" =
name=3D""Submit""
> > value=3D""Submit"">&nbsp;&nbsp;<input type=3D""reset"" =
name=3D""Reset""
> >=20
> =
value=3D""Reset""></p>"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft
> > .V=20
> >=20
> isualBasic.Strings.ChrW(9)&Microsoft.VisualBasic.Strings.ChrW(9)&"</fo
> > rm
> > >"&Microsoft.VisualBasic.Strings.ChrW(10))
> > Line 73:             End If
> > Line 74:
> > __output.Write(""&Microsoft.VisualBasic.Strings.ChrW(10)&"<br><p
> > align=3D""center"">Location: 6 N. Jackson St., P.O. Box 156,=20
> Newark, IL
> > 60541<br>Phone: 815-695-5851 / Fax: 815-695-5804<br><A=20
> >=20
> href=3D""hours.asp#hours"">Hours</a></p></td></tr>"&Microsoft.Vi
> sualBasic.
> >=20
> Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9)&"<tr>"&
> Microsoft.
> >=20
> VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(9)&Mic
> > ro soft.VisualBasic.Strings.ChrW(9)&"<td align=3D""center""
> > bgcolor=3D""#696969""><A href=3D""aboutus.asp""=20
> class=3D""bottomlink"">About=20
> > Us</a>&nbsp;&nbsp;&nbsp;<A href=3D""catalog.asp""
> > class=3D""bottomlink"">Catalog</a>&nbsp;&nbsp;&nbsp;<A=20
> href=3D""events.asp""
> > class=3D""bottomlink"">Programs &amp; Events</a>&nbsp;&nbsp;&nbsp;<A =

> > href=3D""community.asp""
> > class=3D""bottomlink"">Community</a>&nbsp;&nbsp;&nbsp;<A
> > href=3D""resources.asp"" class=3D""bottomlink"">Resources</a><br><A
> > href=3D""contactus.asp"" class=3D""bottomlink"">Contact=20
> Us</a></td></tr>=20
> >=20
> </table>"&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.VisualBasic
> > .S=20
> >=20
> trings.ChrW(10)&Microsoft.VisualBasic.Strings.ChrW(10)&Microsoft.Visua
> > lB=20
> >=20
> asic.Strings.ChrW(10)&"</body>"&Microsoft.VisualBasic.Strings.
> ChrW(10)&"
> > </html>"&Microsoft.VisualBasic.Strings.ChrW(10))
> > Line 75:         End Sub
> > Line 76:
> > Line 77:         Private Sub __BuildControlTree(__ctrl As
> > System.Web.UI.Control)
> > Line 78:             __ctrl.SetRenderMethodDelegate(AddressOf
> > Me.__RenderTree)
> > Line 79:         End Sub
> > Line 80:
> > Line 81:         Protected Overrides Sub FrameworkInitialize()
> > Line 82:             Me.TraceModeValue =3D=20
> System.Web.TraceMode.SortByTime
> > Line 83:             Me.Request.ValidateInput()
> > Line 84:             Me.__BuildControlTree(Me)
> > Line 85:         End Sub
> > Line 86:
> > Line 87:         Public Overrides Function=20
> GetTypeHashCode() As Integer
> > Line 88:             Return 1885199894
> > Line 89:         End Function
> > Line 90:     End Class
> > Line 91:     'Why is the indentation not working correctly=20
> here? --> see
> > in mcs/class/System/Micrisoft.VisualBasic/VBCodeGenerator.cs
> > Line 92:     'Indent=3D1
> > Line 93: End Namespace
> > Line 94: 'Indent=3D0
> >=20
> > Here is the source for the page:
> >=20
> > <%@ LANGUAGE =3D VBScript %>
> > <h2 class=3D"Heading">Contact Us</h2>
> > <% if Request.QueryString( "thanks" ) =3D "yes" then
> >         'form has been sucessfully submitted
> >         'show a thank you message
> >         response.write ("<p><b>Thank You For Contacting=20
> > Us</b></p><p>If your inp ut requires us to contact you and you have=20
> > provided us with your contact informa tion we will be in touch with=20
> > you soon.</p>") else %>
> >                 <p>Please fill in the form below and submit it with=20
> > your comment s or suggestions.</p>
> >=20
> >                 <form=20
> action=3D"http://palsnet.info/cgi-bin/formmail.pl"
> > METHOD=3D"P
> > OST">
> >                 <input type=3D"hidden" name=3D"recipient"
> > value=3D"laheiden@cbplib.us"
> > >
> >                 <input type=3D"hidden" name=3D"subject" =
value=3D"C.B.=20
> > Phillips Contact  Us Form Input">
> >                 <input type=3D"hidden"
> > value=3D"http://cbplib.us/contactus.asp?thank
> > s=3Dyes"  name=3D"redirect">
> >                 <table width=3D"100%">
> >                 <tr>
> >                         <td valign=3D"top">Name:</td>
> >                         <td valign=3D"top"><input TYPE=3DTEXT=20
> NAME=3D"name"
> > tabindex=3D"
> > 1" maxsize=3D"75"></input></td>
> >                 </tr>
> >                 <tr>
> >                         <td valign=3D"top">Email:</td>
> >                         <td valign=3D"top"><input TYPE=3DTEXT=20
> NAME=3D"email"
> > tabindex=3D
> > "2" maxsize=3D"75"></input></td>
> >                 </tr>
> >                 <tr>
> >                         <td valign=3D"top">Comments:</td>
> >                         <td valign=3D"top"><textarea =
NAME=3D"COMMENTS"
> > ROWS=3D7 tabind
> > ex=3D"3"></textarea></td>
> >                 </tr>
> >                 </table>
> >=20
> >                 <p align=3D"center"><input type=3D"submit" =
name=3D"Submit"
> > value=3D"Subm
> > it">&nbsp;&nbsp;<input type=3D"reset" name=3D"Reset" =
value=3D"Reset"></p>
> >                 </form>
> > <% End If %>
> > <!--#include file=3D"includes/bottom.inc"-->
> >=20
> > Ron Chesko
> > Senior Associate Network Services
> > Prarie Area Library System
> > http://www.palsnet.info/
> >=20
> > _______________________________________________
> > Mono-vb mailing list
> > Mono-vb@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-vb
> >=20
>=20
>=20
> --
> Rafael "Monoman" Teixeira
> ---------------------------------------
> I'm trying to become a "Rosh Gadol" before my own eyes.=20
> See http://www.joelonsoftware.com/items/2004/12/06.html for=20
> enlightment.
>=20