Hi, Are you sure you're using mono 2.0? This specific error was a problem some time ago (with mono 1.2.3 or 1.2.4 I think), I'm unable to reproduce it with latest version. I know some users have had problems with apache using older versions of mono installed on the system.
You can try putting that test code in a file, start xsp2 in that directory and load the file in a browser, and then execute 'xsp2 --version', this will tell you if you're hitting a wrong mono version. Rolf > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mono-vb- > [EMAIL PROTECTED] On Behalf Of Ozzapoo > Sent: sábado, 18 de octubre de 2008 5:58 > To: [email protected] > Subject: [mono-vb] Visual Basic not working? > > > Hi, I have mono 2.0 installed on my server, but when I tried to make a > simple > Visual Basic program, it gave me the following error: > > Server Error in '/' Application > Process has not been started. > > Description: HTTP 500. Error processing request. > > Stack Trace: System.InvalidOperationException: Process has not been > started. > at System.Diagnostics.Process.get_ExitCode () [0x00000] > at (wrapper remoting-invoke-with-check) > System.Diagnostics.Process:get_ExitCode () > at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) [0x00000] > at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) [0x00000] > at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) [0x00000] > at System.Web.Compilation.AssemblyBuilder.BuildAssembly > (System.String > virtualPath, System.CodeDom.Compiler.CompilerParameters options) > [0x00000] > at System.Web.Compilation.AssemblyBuilder.BuildAssembly > (System.String > virtualPath) [0x00000] > at System.Web.Compilation.BuildManager.BuildAssembly (System.String > virtualPath) [0x00000] > at System.Web.Compilation.BuildManager.GetCompiledType (System.String > virtualPath) [0x00000] > at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath > (System.String virtualPath, System.Type requiredBaseType) [0x00000] > at System.Web.UI.PageParser.GetCompiledPageInstance (System.String > virtualPath, System.String inputFile, System.Web.HttpContext context) > [0x00000] > at System.Web.UI.PageHandlerFactory.GetHandler > (System.Web.HttpContext > context, System.String requestType, System.String url, System.String > path) > [0x00000] > at System.Web.HttpApplication.GetHandler (System.Web.HttpContext > context, > System.String url) [0x00000] > at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () > [0x00000] > > Version information: Mono Version: 2.0.50727.42; ASP.NET Version: > 2.0.50727.42 > > And my code is simply: > > <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="utf-8" > %> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>TEST VB</title> > </head> > <body> > <% Reponse.Write("Test") %> > </body> > </html> > > > So is there any way I can fix this? C# seems to work fine, but I do not > know > C#. > -- > View this message in context: http://www.nabble.com/Visual-Basic-not- > working--tp20043989p20043989.html > Sent from the Mono - VB mailing list archive at Nabble.com. > > _______________________________________________ > 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
