[Mono-bugs] [Bug 76165][Maj] Changed - XSP System.Runtime.Serialization.SerializationException using ASP.NET with VB-code as codebehind.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 23 15:47:17 EDT 2005


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 jan.bouwhuis at solcon.nl.

http://bugzilla.ximian.com/show_bug.cgi?id=76165

--- shadow/76165	2005-09-21 02:30:06.000000000 -0400
+++ shadow/76165.tmp.32209	2005-09-23 15:47:17.000000000 -0400
@@ -12,13 +12,13 @@
 ReportedBy: jan.bouwhuis at solcon.nl               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: XSP System.Runtime.Serialization.SerializationException using ASP.NET with VB-code as codebehind.
-BugsThisDependsOn: 76096[NOTABUG]
+BugsThisDependsOn: 74670, 76096[NOTABUG]
 
 Description of Problem:
 
 I compiled my own System.Web from source 20050916 (see bug 76096). Using 
 code behind a VB project fails with about the same errors. Using C# the 
 code works fine. I uses VS 2002 and precompiled on Windows XP. 
@@ -159,6 +159,88 @@
 
 Moving this to VB.
 
 ------- Additional Comments From jan.bouwhuis at solcon.nl  2005-09-21 02:30 -------
 There might be a possible relation to bug: 74670 
 Only in this case the codebehind is pre compiled.
+
+------- Additional Comments From jan.bouwhuis at solcon.nl  2005-09-23 15:47 -------
+I now installed version 1.1.9-1 (22 sep 2005). The 
+SerilizationExeption is now gone. The screen now displays an error 
+quite similar to the one in bug 74670.
+
+Error after installing version 1.1.9-1 (XSP is not displaying an 
+exception to the console anymore):
+
+Server Error in '/' Application
+
+---------------------------------------------------------------------
+-----------
+
+Compilation Error
+Description: Error compiling a resource required to service this 
+request. Review your source file and modify it to fix this error. 
+Error message: /tmp/jbouwh-temp-aspnet-0/dac491ae/83737.0.vb(35,0) : 
+error BC30201: Expression expected /tmp/jbouwh-temp-aspnet-
+0/dac491ae/83737.0.vb(36,43) : error BC30201: Expression 
+expected /tmp/jbouwh-temp-aspnet-0/dac491ae/83737.0.vb(38,16) : 
+error BC30087: 'End If' is not having a 
+corresponding 'If' /tmp/jbouwh-temp-aspnet-0/dac491ae/83737.0.vb
+(41,11) : error BC29999: Parsing error 
+
+File name: /home/jbouwh/MonoTestVB/Global.asax
+
+Source File: /tmp/jbouwh-temp-aspnet-0/dac491ae/83737.0.vb 
+
+Line 1: ' -----------------------------------------------------------
+-------------------
+Line 2: '  <autogenerated>
+Line 3: '      This code was generated by a tool.
+Line 4: '      Mono Runtime Version: 1.1.4322.573
+Line 5: ' 
+Line 6: '      Changes to this file may cause incorrect behavior and 
+will be lost if 
+Line 7: '      the code is regenerated.
+Line 8: '  </autogenerated>
+Line 9: ' -----------------------------------------------------------
+-------------------
+Line 10: 
+Line 11: Option Explicit On
+Line 12: Option Strict Off
+Line 13: 
+Line 14: Imports System
+Line 15: Imports System.Collections
+Line 16: Imports System.Collections.Specialized
+Line 17: Imports System.Configuration
+Line 18: Imports System.Text
+Line 19: Imports System.Text.RegularExpressions
+Line 20: Imports System.Web
+Line 21: Imports System.Web.Caching
+Line 22: Imports System.Web.Security
+Line 23: Imports System.Web.SessionState
+Line 24: Imports System.Web.UI
+Line 25: Imports System.Web.UI.WebControls
+Line 26: Imports System.Web.UI.HtmlControls
+Line 27: 
+Line 28: Namespace ASP
+Line 29:     Public Class Global_asax
+Line 30:         Inherits monotestvb.Global
+Line 31:         
+Line 32:         Private Shared __intialized As Boolean = false
+Line 33:         
+Line 34:         Public Sub New()
+Line 35:             MyBase.New
+Line 36:             If ((ASP.Global_asax.__intialized = false)) Then
+Line 37:                 ASP.Global_asax.__intialized = true
+Line 38:             End If
+Line 39:         End Sub
+Line 40:     End Class
+Line 41: End Namespace
+
+ 
+
+
+
+---------------------------------------------------------------------
+-----------
+
+


More information about the mono-bugs mailing list