[mono-vb] Visual Basic not working?

Ozzapoo ozzamon3000 at gmail.com
Fri Oct 17 23:57:54 EDT 2008


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.



More information about the Mono-vb mailing list