[mono-vb] VB script in ASP page
B Anirban
banirban@novell.com
Tue, 17 Aug 2004 03:26:46 -0600
Hi,
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
browser.
Server error in '/' application
Description: Error processing request.
Error Message: HTTP 500.
Stack Trace:
System.FormatException: Unknown char: <
in <0x0066b> System.Double:Parse
(string,System.Globalization.NumberStyles,System.IFormatProvider)
in <0x001ec> Microsoft.VisualBasic.VBUtils:isNumber (string,double[])
in <0x0004d>
Microsoft.VisualBasic.CompilerServices.IntegerType:FromString (string)
in <0x0015f> ASP.chkasp_aspx:__RenderTree
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in <0x00069> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_HtmlTextWriter_Control
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
in <0x00053> System.Web.UI.Control:RenderChildren
(System.Web.UI.HtmlTextWriter)
in <0x00011> System.Web.UI.Control:Render
(System.Web.UI.HtmlTextWriter)
in <0x0001c> System.Web.UI.Control:RenderControl
(System.Web.UI.HtmlTextWriter)
in <0x003f8> System.Web.UI.Page:InternalProcessRequest ()
in <0x000ba> System.Web.UI.Page:ProcessRequest
(System.Web.HttpContext)
in <0x002e3> ExecuteHandlerState:Execute ()
in <0x00082> StateMachine:ExecuteState
(System.Web.HttpApplication/IStateHandler,bool&)
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.
Thanks.
Anirban.