[mono-vb] AW: VB script in ASP page

Jochen Wezel jwezel@compumaster.de
Tue, 17 Aug 2004 14:10:30 +0200

Hi all!

I am very proud to announce that the first ASP.NET page with VB.NET has =
seen the world! It has been compiled and worked fine!

Special thanks to Anirban who has fixed the last bugs in our MBAS =
compiler and to Rafael who has moved the MBAS compiler in general to a =
better side!

Here is my test page:
[root@lwezel wwwroot]# cat default.aspx
<%@ PAge language=3D"VB" %>
Hello world of VB!

And this is the output:
Hello world of VB!=20

Great, isn't it? :)

Best Regards

-----Urspr=FCngliche Nachricht-----
Von: B Anirban [mailto:banirban@novell.com]=20
Gesendet: Dienstag, 17. August 2004 11:27
An: Jochen Wezel; mono-vb@lists.ximian.com
Cc: mono-devel-list@lists.ximian.com
Betreff: VB script in ASP page

I am able to compile the generated VB code in mbas.
But when I try to run the ASP page get the following exception in =

Server error in '/' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.FormatException: Unknown char: <
in <0x0066b> System.Double:Parse
in <0x001ec> Microsoft.VisualBasic.VBUtils:isNumber (string,double[]) in =
<0x0004d> Microsoft.VisualBasic.CompilerServices.IntegerType:FromString =
(string) in <0x0015f> ASP.chkasp_aspx:__RenderTree
in <0x00069> (wrapper delegate-invoke)
in <0x00053> System.Web.UI.Control:RenderChildren
in <0x00011> System.Web.UI.Control:Render
in <0x0001c> System.Web.UI.Control:RenderControl
in <0x003f8> System.Web.UI.Page:InternalProcessRequest () in <0x000ba> =
in <0x002e3> ExecuteHandlerState:Execute () in <0x00082> =

Can I get some help from ASP gurus to resolve this bug.
This looks to me a VBCodeGeneration bug.
Hopefully, this is the final hurdle to run VBScript in ASP.