Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78451 --- shadow/78451 2006-05-18 18:57:50.000000000 -0400 +++ shadow/78451.tmp.6637 2006-05-18 18:57:50.000000000 -0400 @@ -0,0 +1,93 @@ +Bug#: 78451 +Product: Mono: Tools +Version: 1.1 +OS: SUSE 9.2 +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Major +Component: XSP +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Trivial VB.NET WebForm runs on Mono 1.1.8, fails on 1.1.15. *No VB.NET web page will run at all* + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: +Trivial VB.NET WebForm runs on Mono 1.1.8, fails on 1.1.15. *No VB.NET web +page will run at all* + +Steps to reproduce the problem: +1. Using Visual Studio 2003, create a new VB ASP.NET Web Application +2. Add a label control to WebForm1 and this code in the code-behind - + Private Sub Page_Load(ByVal sender As System.Object, ByVal e As +System.EventArgs) Handles MyBase.Load + Me.Label1.Text = "Hello World" + End Sub + +End Class +3. Build in release mode, copy files to Linux machine +4. Serve web page using xsp of Mono 1.1.8, e.g. from a shell prompt, change +to directory containing files and type this - +/opt/mono-1.1.8/bin/xsp --root . --port 8088 --applications /:. +5. Access page with browser e.g. http://localhost:8088/WebForm1.aspx and +confirm works +6. Stop xsp and start using Mono 1.1.15 xsp, e.g. from a shell prompt, +change to directory containing files and type this - +/opt/mono-1.1.15/bin/xsp --root . --port 8088 --applications /:. +7. Try to access page with browser e.g. http://localhost:8088/WebForm1.aspx + +Actual Results: +Later version of Mono attempts re-compile of page and fails like this: +Server error in '/' application +Description: Error processing request. + +Error Message: HTTP 500. + +Stack Trace: + +System.InvalidOperationException: Process has not been started. +in <0x00091> System.Diagnostics.Process:get_ExitCode () +in (wrapper remoting-invoke-with-check) +System.Diagnostics.Process:get_ExitCode () +in <0x001b7> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch +(System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) +in <0x00022> +Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch +(System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) +in <0x0030d> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch +(System.CodeDom.Compiler.CompilerParameters options, +System.CodeDom.CodeCompileUnit[] ea) +in <0x00022> +Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch +(System.CodeDom.Compiler.CompilerParameters options, +System.CodeDom.CodeCompileUnit[] ea) +in <0x0003c> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom +(System.CodeDom.Compiler.CompilerParameters options, +System.CodeDom.CodeCompileUnit e) +in <0x0013d> System.Web.Compilation.CachingCompiler:Compile +(System.Web.Compilation.BaseCompiler compiler) +in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType () +in <0x000ba> System.Web.Compilation.AspGenerator:GetCompiledType () +in <0x0005e> System.Web.UI.ApplicationFileParser:GetCompiledApplicationType +(System.String inputFile, System.Web.HttpContext context) +in <0x000ae> System.Web.HttpApplicationFactory:InitType +(System.Web.HttpContext context) +in <0x00050> System.Web.HttpApplicationFactory:GetApplication +(System.Web.HttpContext context) +in <0x00083> System.Web.HttpRuntime:RealProcessRequest (System.Object o) + +Expected Results: +Page should be served as per Mono 1.1.8, without compilation. + +How often does this happen? +Every time. + +Additional Information: +Same problem can be observed using Mono 1.1.15 on Windows, whereas works +with Mono 1.1.8 on Windows. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
