[mono-vb] mod_mono with VB: The library 'Microsoft.VisualBasic.dll' could not be found

Allen Choong allencch at hotmail.com
Thu Jun 20 08:57:28 UTC 2013


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.1138380Error origin: CompilerError source file: /~user/test.aspxException 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-vb/attachments/20130620/52219d6f/attachment.html>


More information about the Mono-vb mailing list