Hi, Do you have Microsoft.VisualBasic.dll on your system?
The exact location may depend on the distro you're using, but in my case it's here: /usr/lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll Rolf On Thu, Jun 20, 2013 at 10:57 AM, Allen Choong <[email protected]> wrote: > Please help this one. > I am using Arch Linux, with mod_mono 2.10 and mono-basic 2.10. > But when I run a page with this code, > > <%@ Page Language="VB" %> > <html> > <body> > <h1>Hello Web Pages</h1> > </body> > </html> > > I got this result, > > System.Web.Compilation.CompilationExceptionVBNC_CRASH: Visual Basic.Net > Compiler version 0.0.0.5943 Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All > rights reserved. Error : VBNC2017: The library 'Microsoft.VisualBasic.dll' > could not be found. > There were 1 errors and 0 warnings. > Compilation took 00:00:00.1138380 > > *Description:* Error compiling a resource required to service this > request. Review your source file and modify it to fix this error. > > *Details:* VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5943 > Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved. Error : > VBNC2017: The library 'Microsoft.VisualBasic.dll' could not be found. > There were 1 errors and 0 warnings. > Compilation took 00:00:00.1138380 > > *Error origin: *Compiler > > *Error source file: */~user/test.aspx > *Exception stack trace:* > at System.Web.Compilation.AssemblyBuilder.BuildAssembly > (System.Web.VirtualPath virtualPath, > System.CodeDom.Compiler.CompilerParameters options) [0x00000] in <filename > unknown>:0 at System.Web.Compilation.AssemblyBuilder.BuildAssembly > (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 at > System.Web.Compilation.BuildManager.GenerateAssembly > (System.Web.Compilation.AssemblyBuilder abuilder, > System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, > Boolean debug) [0x00000] in <filename unknown>:0 at > System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, > Boolean debug) [0x00000] in <filename unknown>:0 > > Can anyone help? Thanks. > > Regards, > Allen > > _______________________________________________ > Mono-vb mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-vb > >
_______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
