Hi,
This looks like a compiler bug. Can you send me a simple sample that reproduces this issue? Rolf From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Jolin Sent: martes, 12 de febrero de 2008 20:07 To: [email protected] Subject: [mono-vb] AP.net - Compilation error if Button on the page I am successfully running: Ubuntu 7.10 Server edition Apache2.? Mono 1.2.6 Mod_mono_1.2.6 compiled from source I can get a ASP.net vb website to display correctly if there are no webcontrols on the page. I can successfully call out to Mysql and return data to a datagrid or response, but as soon as I put a button on the page, and try to run, I get a compilation error: (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5850 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved. /tmp/www-data-temp-aspnet-0/304e7d8b/15ead3c4.0.vb (12,18) : Warning VBNC99998: Option Strict Off will probably fail. Error : VBNC99999: Unexpected error: Cannot cast from source type to destination type. at vbnc.EventMemberSpecifier.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00000] at vbnc.BaseList`1[vbnc.EventMemberSpecifier].ResolveCode (vbnc.ResolveInfo ) [0x00000] at vbnc.HandlesClause.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.HandlesOrImplements.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00000] at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo ) [0x00000] at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000] at vbnc.Compiler.Compile_Resolve () [0x00000] at vbnc.Compiler.Compile () [0x00000] Compilation took 00:00:03.3108420 Any help would be greatly appreciated. Thanks Nick
_______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
