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

Allen Choong allencch at hotmail.com
Thu Jun 20 12:34:03 UTC 2013


Hi Rolf,

Yes. The file exists.


Regards,
Allen


Date: Thu, 20 Jun 2013 13:05:06 +0200
Subject: Re: [mono-vb] mod_mono with VB: The library 'Microsoft.VisualBasic.dll' could not be found
From: rolf at xamarin.com
To: allencch at hotmail.com
CC: mono-vb at lists.ximian.com

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 <allencch at hotmail.com> 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.CompilationException
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

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

Mono-vb at lists.ximian.com

http://lists.ximian.com/mailman/listinfo/mono-vb



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-vb/attachments/20130620/8ed6bdcd/attachment.html>


More information about the Mono-vb mailing list