WG: [Mono-devel-list] error BC0000
Matthias Felgner
matthiasf at voelcker.com
Tue Aug 2 07:47:34 EDT 2005
Hi,
Are you using XSP or Apache (Version?) with mod_mono?
-----Ursprüngliche Nachricht-----
Von: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Arnhoffer Károly
Gesendet: Dienstag, 2. August 2005 13:42
An: mono-devel-list at lists.ximian.com
Betreff: [Mono-devel-list] error BC0000
Hi All,
I try to run an ASP.NET webapplication (compiled with MS Visual Studio, Windows XP Professional, code behind structure) on a Linux machine (SuSE 9.2) using Mono 1.1.8. The application is quite heavy weight so there can be several sources of errors but I can not now where to start to fix them. So when I try to run the application I get the following error page:
Server Error in '/dms' 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: (0,0) : error BC0000: Exception: System.NullReferenceException: Object reference not set to an instance of an object
File name: /home/karnhoffer/public_html/WebDMS/Global.asax
Source File:
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 Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.WebControls
Line 27: Imports System.Web.UI.HtmlControls
Line 28:
Line 29: Namespace ASP
Line 30: Public Class Global_asax
Line 31: Inherits WebDMS.Global
Line 32:
Line 33: Private Shared __intialized As Boolean = False
Line 34:
Line 35: Public Sub 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
The application runs fine on Windows IIS 5.1.
Thanks in advance!
Arnhoffer Károly
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list